Spaces:
Running
Running
Create gdyg/index.html
Browse files- gdyg/index.html +82 -0
gdyg/index.html
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="zh-CN">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>网盘页面</title>
|
6 |
+
<style>
|
7 |
+
body {
|
8 |
+
font-family: Arial, sans-serif;
|
9 |
+
margin: 0;
|
10 |
+
padding: 0;
|
11 |
+
background-color: #f4f4f4;
|
12 |
+
}
|
13 |
+
header {
|
14 |
+
background-color: #4CAF50;
|
15 |
+
color: white;
|
16 |
+
padding: 10px 0;
|
17 |
+
text-align: center;
|
18 |
+
}
|
19 |
+
nav {
|
20 |
+
width: 200px;
|
21 |
+
background: #333;
|
22 |
+
height: 100vh;
|
23 |
+
position: fixed;
|
24 |
+
top: 0;
|
25 |
+
left: 0;
|
26 |
+
padding-top: 20px;
|
27 |
+
}
|
28 |
+
nav a {
|
29 |
+
color: white;
|
30 |
+
text-decoration: none;
|
31 |
+
display: block;
|
32 |
+
padding: 10px;
|
33 |
+
text-align: center;
|
34 |
+
}
|
35 |
+
nav a:hover {
|
36 |
+
background: #575757;
|
37 |
+
}
|
38 |
+
main {
|
39 |
+
margin-left: 220px;
|
40 |
+
padding: 20px;
|
41 |
+
}
|
42 |
+
table {
|
43 |
+
width: 100%;
|
44 |
+
border-collapse: collapse;
|
45 |
+
}
|
46 |
+
table, th, td {
|
47 |
+
border: 1px solid #ddd;
|
48 |
+
}
|
49 |
+
th, td {
|
50 |
+
padding: 8px;
|
51 |
+
text-align: left;
|
52 |
+
}
|
53 |
+
th {
|
54 |
+
background-color: #4CAF50;
|
55 |
+
color: white;
|
56 |
+
}
|
57 |
+
tr:nth-child(even) {
|
58 |
+
background-color: #f2f2f2;
|
59 |
+
}
|
60 |
+
</style>
|
61 |
+
</head>
|
62 |
+
<body>
|
63 |
+
<header>
|
64 |
+
<h1>网盘</h1>
|
65 |
+
</header>
|
66 |
+
<nav>
|
67 |
+
<a href="#">主页</a>
|
68 |
+
</nav>
|
69 |
+
<main>
|
70 |
+
<table>
|
71 |
+
<tr>
|
72 |
+
<th>名称</th>
|
73 |
+
<th>修改时间</th>
|
74 |
+
</tr>
|
75 |
+
<tr>
|
76 |
+
<td><a href="folder1/index.html">文件夹1</a></td>
|
77 |
+
<td>2024-10-30 22:53:01</td>
|
78 |
+
</tr>
|
79 |
+
</table>
|
80 |
+
</main>
|
81 |
+
</body>
|
82 |
+
</html>
|