-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemail_template.html
57 lines (56 loc) · 1.34 KB
/
email_template.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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
table {
width: 600px;
border-top: 1px solid #999;
border-left: 1px solid #999;
border-spacing: 0;/*去掉单元格间隙*/
border-collapse: collapse;
}
table th {
text-align: center;
font-size: 16px;
height: 30px;
width: 200px;
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
table td {
text-align: center;
font-size: 16px;
height: 30px;
width: 200px;
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
table tr:nth-child(odd) {
background-color: lightgrey;
}
table tr:nth-child(even) {
background-color: white;
}
</style>
</head>
<body>
<div style="text-align: center">
<p><b>{{ .Spre }}</b></p>
</div>
<div>
<table align="center">
{{.Sbody}}
</table>
</div>
</br>
<div style="text-align: right">
<p>{{ .Ssuf }}</p>
</div>
<div style="text-align: right">
<p>{{ .Stime }}</p>
</div>
</br>
</body>
</html>