-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUI.html
302 lines (272 loc) · 8.42 KB
/
UI.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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>uMailUI界面</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="mail">
<!-- 邮件收集内容-->
<div class="mailRow">
<img class="logo" src="public/img/logo.png" alt="">
<h1 class="">订阅uMail</h1>
<h5 class="margin20">在第一时间获取优衣库最新降价消息, <br/> 助您抄底心仪的商品.</h5>
<form action="" method="post" >
<label for=""> <input type="checkbox" name="a1"> 女装</label>
<label for=""> <input type="checkbox" name="a1"> 男装</label>
<label for=""> <input type="checkbox" name="a1"> 童装</label>
<br>
<div class="submitRow margin20">
<input type="email" placeholder="请输入邮箱" name="email" id="">
<button type="submit"> 订阅 </button>
</div>
</form>
<p class="p1"> 本项目仅作 <a href="">JS全栈入手</a> 编程学习使用不涉及任何商业推广和营销 </p>
</div>
</div>
<!--推送内容-->
<div class="uRow">
<img class="logo" src="public/img/logo.png" alt="">
<h1 class="margin15">8月 日-15日男装 <span style="color: #FE0100" >限时特优</span> </h1>
<h5>在第一时间获取优衣库最新降价消息, <br/> 助您抄底心仪的商品.</h5>
<h1 class="margin15">男装上装 </h1>
<div class="gRow">
<div class="item itemA">
<img class="fm" src="public/img/goods.png" alt="">
<div class="spanRow" ><span class="pRed">-60%</span> <span class="pB"> ¥149 </span> <span class="pC"> ¥129</span></div>
<p class="pTitle">凉感衣AIRism POLO衫短袖商务通勤T恤 </p>
<p class="pC">465196 </p>
</div>
<div class="item">
<img class="fm" src="public/img/g2.png" alt="">
<div class="spanRow" ><span class="pRed">-60%</span> <span class="pB"> ¥149 </span> <span class="pC"> ¥129</span></div>
<p class="pTitle">凉感衣AIRism POLO衫短袖商务通勤T恤 </p>
<p class="pC">465196 </p>
</div>
<div class="item itemA">
<img class="fm" src="public/img/g3.png" alt="">
<div class="spanRow" ><span class="pRed">-60%</span> <span class="pB"> ¥149 </span> <span class="pC"> ¥129</span></div>
<p class="pTitle">凉感衣AIRism POLO衫短袖商务通勤T恤 </p>
<p class="pC">465196 </p>
</div>
<div class="item">
<img class="fm" src="public/img/g4.png" alt="">
<div class="spanRow" ><span class="pRed">-60%</span> <span class="pB"> ¥149 </span> <span class="pC"> ¥129</span></div>
<p class="pTitle">凉感衣AIRism POLO衫短袖商务通勤T恤 </p>
<p class="pC">465196 </p>
</div>
</div>
<h1 class="margin15">男装下装 </h1>
<div class="gRow">
<div class="item itemA">
<img class="fm" src="public/img/g5.png" alt="">
<div class="spanRow" ><span class="pRed">-60%</span> <span class="pB"> ¥149 </span> <span class="pC"> ¥129</span></div>
<p class="pTitle">凉感衣AIRism POLO衫短袖商务通勤T恤 </p>
<p class="pC">465196 </p>
</div>
<div class="item">
<img class="fm" src="public/img/g6.png" alt="">
<div class="spanRow" ><span class="pRed">-60%</span> <span class="pB"> ¥149 </span> <span class="pC"> ¥129</span></div>
<p class="pTitle">凉感衣AIRism POLO衫短袖商务通勤T恤 </p>
<p class="pC">465196 </p>
</div>
</div>
</div>
<!-- 页脚-->
<div class="footer">
<div class="Row">
<div class="Msg">
<img class="Img" src="public/img/logo.png" alt="">
<div>
<p class="pText">此数据来源优衣库 <a href="">官网</a> 限时特优,</p>
<p class="pText">本服务不涉及任何商业价值,不作为消费参考价值.</p>
</div>
</div>
<div class="Msg">
<img class="Img" src="public/img/hez.png" alt="">
<div>
<p class="pText">本项目代码开源地址 <a href="">GitHub</a> ,</p>
<p class="pText">教程视频在 <a href="">JS全栈手册</a>.</p>
</div>
</div>
<h5><a href="" style="color:#A5A1A1" >退订邮件</a> </h5>
</div>
</div>
<style>
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; }
body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; }
h1, h2, h3, h4, h5, h6{ font-size:100%; }
address, cite, dfn, em, var { font-style:normal; }
code, kbd, pre, samp { font-family:couriernew, courier, monospace; }
small{ font-size:12px; }
ul, ol { list-style:none; }
a { text-decoration:none; }
a:hover { text-decoration:underline; }
sup { vertical-align:text-top; }
sub{ vertical-align:text-bottom; }
legend { color:#000; }
fieldset, img { border:0; }
button, input, select, textarea { font-size:100%; }
table { border-collapse:collapse; border-spacing:0; }
body{
background-color: #F4F4F4;
}
.mail{
width: 100%;
padding: 30px 0 50px;
background-color: red;
}
.mailRow{
width: 400px;
margin: 0 auto;
border: 1px solid #DADADA;
padding: 50px;
border-radius:3px;
background-color: #F4F4F4;
position: relative;
}
.logo{
width: 67px;
height: 67px;
margin: 20px 0;
}
h1{
color: #606060;
font-size: 30px;
font-weight: bold;
}
h5{
color: #606060;
opacity: 0.8;
font-size: 17px;
letter-spacing: 1px;
font-weight:bold;
}
label{
font-size: 15px;
color: #606060;
margin-left: 5px;
line-height: 3px;
}
form{
margin-bottom: 50px!important;
}
.submitRow{
width: 300px;
border-bottom: 1px solid #DADADA;
display: flex;
justify-content: space-between;
align-items: center;
}
.submitRow input{
flex: 1;
font-size: 15px;
padding: 10px 5px;
border: none;
background-color: #F4F4F4;
color: #606060;
letter-spacing: 2px;
}
.submitRow button{
width: 60px;
height: 28px;
background-color: black;
border: none;
padding: 2px 10px;
color: #ffffff;
font-size: 14px;
}
/*邮件内容*/
.uRow{
width: 500px;
margin: 0 auto;
}
.gRow{
flex-direction: row;
flex-wrap: wrap;
padding: 10px 0;
flex:1;
display: flex;
justify-content: space-between;
}
.gRow .item{
width: 48%;
margin-bottom: 30px;
}
.gRow .itemA {
padding-right: 2%;
border-right:1px solid #DADADA ;
}
.gRow .item .fm{
width: 100%;
}
.spanRow{
font-size: 15px;
letter-spacing: 1px;
color: #272727;
}
.pTitle{
margin: 5px 0;
font-size: 15px;
flood-color: #272727;
}
/*B6B6B6*/
.footer{
background-color: #ffffff;
}
.footer .Row{
width: 500px;
margin: 0 auto;
padding: 30px 0;
}
.footer .Msg{
display: flex;
align-items: center;
margin-bottom: 20px;
}
.footer .Img{
width: 36px;
margin-right: 10px;
}
.footer .pText{
font-size: 12px;
letter-spacing: 2px;
color: #606060;
}
a{
color: #0091FF;
}
/*通用央视*/
.margin20{
margin: 20px 0;
}
.margin15{
margin: 15px 0;
}
.pRed{
padding: 0 10px;
background-color: #FE0100;
color: #ffffff;
font-weight: bold;
}
.p1{
margin-top: 100px;
font-size: 10px;
letter-spacing: 1px;
color: #808080;
position: absolute;
bottom: 20px;
}
.pB{
text-decoration: line-through;
color:#A5A1A1 ;
margin:0 5px;
}
.pC{
color:#585858 ;
}
</style>
</body>
</html>