feat: 初版

This commit is contained in:
范胜发
2022-12-13 14:54:11 +08:00
commit 7b04d8bc16
12 changed files with 371 additions and 0 deletions

40
template/email1.html Normal file
View File

@ -0,0 +1,40 @@
<!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}}</title>
</head>
<body>
<h3>{{name}}</h3>
<table width="500px">
<tr>
<td>
<div>
<img src="{{image}}" width="200px" alt="" style="float: left; margin-right: 10px;">
<p style="text-indent: 2em;">{{desc}}</p>
</div>
</td>
</tr>
<tr>
<td>
<br />
<p style="text-indent: 2em;">{{summary}}</p>
</td>
</tr>
</table>
<br />
<div style="text-align: center;">
<a href="{{mediaUrl}}" style="display:
inline-block; padding: 5px;
background: rgba(0, 0, 0, 0.8);
border-radius: 5px;">
<img src="{{mediaIcon}}" height="50px" />
</a>
</div>
</body>
</html>

19
template/email2.html Normal file
View File

@ -0,0 +1,19 @@
<!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}}</title>
</head>
<body>
<h3>{{name}}</h3>
<br>
<p>下载路径:{{path}}</p>
<h2>请求错误</h2>
<p>{{errorMsgs}}</p>
</body>
</html>

17
template/email3.html Normal file
View File

@ -0,0 +1,17 @@
<!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}}</title>
</head>
<body>
<h3>{{name}}</h3>
<br>
<p>下载路径:{{path}}</p>
</body>
</html>