-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathart.html
220 lines (179 loc) · 5.31 KB
/
art.html
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>艺术</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/mdui.min.css"/>
</head>
<style>
* {
margin: 0;
padding: 0;
}
.art-root {
padding-bottom: 35px;
}
html, body {
background-color: #eaedf2;
}
.art-top {
width: 100%;
height: 80px;
display: flex;
justify-content: start;
align-items: center;
}
.art-top h4 {
margin-left: 55px;
}
.art-card {
width: 100%;
display: flex;
flex-wrap: wrap;
border-radius: 10px;
justify-content: center;
align-items: center;
background-color: white;
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.05);
transition: transform 0.5s ease-in-out;
margin-top: 10px;
padding-top: 24px;
padding-bottom: 24px;
}
.art-card:hover {
/*缩放动画*/
transform: scale(0.90);
}
.art-card img:first-child {
width: 24px;
}
.art-card img:nth-child(2) {
width: 35px;
object-fit: cover;
margin-left: 60px;
}
.art-card h4:nth-child(3) {
margin-left: 12px;
font-size: 14px;
}
.art-card img:nth-child(4) {
width: 24px;
margin-left: 60px;
}
.art-card h4:nth-child(5) {
margin-left: 4px;
font-size: 10px;
background-color: #2ECC71;
text-align: center;
padding: 4px 5px 3px;;
color: white;
border-radius: 10px;
}
.art-card small:nth-child(7) {
margin-left: 16px;
}
.progress {
width: 180px;
margin: 15px 15px 15px 60px;
}
.art-add_b {
width: 80px;
margin-left: 60px;
display: flex;
height: 35px;
justify-content: center;
align-items: center;
background-color: #2ECC71;
border-radius: 10px;
box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.3);
transition: 0.5s ease-in-out;
color: white;
font-weight: bold;
font-size: 13px;
margin-right: 60px;
}
</style>
<body>
<div class="art-root">
<!--头部-->
<div class="art-top">
<h4>
民大云实践 <small> [活动]</small>
</h4>
</div>
<div>
<!--活动卡片-->
<div class="art-card">
<img src="res/img/img.png">
<img src="https://img.icons8.com/fluency/1x/laptop-coding.png">
<h4>程序设计大赛</h4>
<img src="res/img/check.png">
<h4>可报名</h4>
<div class="progress mdui-progress">
<div class="mdui-progress-determinate mdui-color-blue-600" style="width: 30%;"></div>
</div>
<small>102人报名</small>
<div class="art-add_b">
报 名
</div>
</div>
<div class="art-card">
<img src="res/img/2.png">
<img src="https://img.icons8.com/fluency/1x/graduation-cap.png">
<h4>校园打扫活动</h4>
<img src="res/img/check.png">
<h4>可报名</h4>
<div class="progress mdui-progress">
<div class="mdui-progress-determinate mdui-color-blue-600" style="width: 68%;"></div>
</div>
<small>384人报名</small>
<div class="art-add_b">
报 名
</div>
</div>
<div class="art-card">
<img src="res/img/3.png">
<img src="https://img.icons8.com/fluency/1x/creativity.png">
<h4>脑力测试大赛</h4>
<img src="res/img/error.png">
<h4 style="background-color: red">数已满</h4>
<div class="progress mdui-progress">
<div class="mdui-progress-determinate mdui-color-blue-600" style="width: 100%;"></div>
</div>
<small>1000人报名</small>
<div class="art-add_b" style="background-color: red">
已 报 满
</div>
</div>
<div class="art-card">
<img src="res/img/4.png">
<img src="https://img.icons8.com/fluency/1x/microsoft-paint.png">
<h4>美术画画大赛</h4>
<img src="res/img/check.png">
<h4>可报名</h4>
<div class="progress mdui-progress">
<div class="mdui-progress-determinate mdui-color-blue-600" style="width: 17%;"></div>
</div>
<small>66人报名</small>
<div class="art-add_b">
报 名
</div>
</div>
<div class="art-card">
<img src="res/img/5.png">
<img src="https://img.icons8.com/fluency/1x/sports-mode.png">
<h4>体育长跑大赛</h4>
<img src="res/img/warnig.png">
<h4 style="background-color: orange">已结束</h4>
<div class="progress mdui-progress">
<div class="mdui-progress-determinate mdui-color-blue-600" style="width: 100%;"></div>
</div>
<small>400人报名</small>
<div class="art-add_b" style="background-color: orange">
已 结 束
</div>
</div>
</div>
</div>
</body>
</html>