Repository navigation
Expand file tree
/
Copy pathtest.html
More file actions
122 lines (122 loc) · 3.62 KB
/
Copy pathtest.html
File metadata and controls
122 lines (122 loc) · 3.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>测试页面</title>
<style>
body {
margin: 0;
height: 100vh;
background-color: rgb(172, 169, 169);
}
/* * {
border: 1px solid black;
} */
.flex {
display: flex;
}
.baise {
background-color: white;
}
.flex1 {
flex: 1;
}
.column {
flex-direction: column;
}
.mg8 {
margin: 8px;
}
.mgr8 {
margin-right: 8px;
}
.mgt8 {
margin-top: 8px;
}
.yinying {
box-shadow: black;
}
.center {
justify-content: center;
}
.bgblue {
background-color: rgb(0, 78, 162);
}
.daohang {
padding: 10px 20px;
border-bottom: 2px solid gray;
font-size: 18px;
color: #666;
}
@media (max-width: 600px) {
.cebian {
display: none;
}
.neirong {
flex-direction: column;
}
.shuju {
flex-direction: column;
}
.youqu {
margin-left: 8px;
}
}
</style>
</head>
<body class="flex">
<!-- 侧边栏 -->
<div style="width: 160px; z-index: 1" class="cebian baise yinying">
<!-- 头像栏 -->
<div class="flex center bgblue" style="border-bottom: 1px solid">
<img src="/logo.png" alt="冲鸭" height="60px" width="60px" />
</div>
<!-- 导航栏 -->
<div class="flex1">
<div class="daohang">导航</div>
<div class="daohang">导航</div>
<div class="daohang">导航</div>
<div class="daohang">导航</div>
<div class="daohang">导航</div>
<div class="daohang"><a href="/index.html">返回主页</a></div>
</div>
</div>
<!-- 主区域-->
<div class="flex1 flex column">
<!-- 头部栏 -->
<div style="height: 60px; z-index: 1" class="baise yinying"></div>
<!-- 内容区 -->
<div style="overflow: auto" class="neirong flex1 flex">
<!-- 左区 -->
<div style="flex: 3" class="flex column mg8">
<!-- 数据区 -->
<div class="flex shuju">
<!-- 数据块 -->
<div style="height: 100px" class="flex1 baise yinying mgr8"></div>
<div style="height: 100px" class="flex1 baise yinying mgr8"></div>
<div style="height: 100px" class="flex1 baise yinying mgr8"></div>
<div style="height: 100px" class="flex1 baise yinying"></div>
</div>
<!-- 列表区 -->
<div class="flex column">
<!-- 列表项 -->
<div style="height: 160px" class="baise yinying mgt8"></div>
<div style="height: 160px" class="baise yinying mgt8"></div>
<div style="height: 160px" class="baise yinying mgt8"></div>
<div style="height: 160px" class="baise yinying mgt8"></div>
<div style="height: 160px" class="baise yinying mgt8"></div>
</div>
</div>
<!-- 右区 -->
<div style="flex: 1" class="flex column mg8">
<!-- 提示区 -->
<div style="height: 150px" class="baise yinying"></div>
<!-- 消息区 -->
<div style="height: 300px" class="baise yinying mgt8"></div>
</div>
</div>
</div>
</body>
</html>