56 lines
1.1 KiB
HTML
56 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Email Template</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.container {
|
|
max-width: 600px;
|
|
margin: auto;
|
|
padding: 20px;
|
|
}
|
|
h2 {
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
}
|
|
p {
|
|
color: #666;
|
|
margin-top: 0;
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
color: #007bff;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div>
|
|
<h2>{标题}</h2>
|
|
<p>{副标题}</p>
|
|
</div>
|
|
<div>
|
|
<p style="max-height: 3em; overflow: hidden; text-overflow: ellipsis;">{副标题}</p>
|
|
</div>
|
|
<div>
|
|
<a href="#" onclick="redirectToPage()">Read more</a>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
function redirectToPage() {
|
|
// 在此处设置跳转的 URL
|
|
var url = "http://example.com"; // 将 "http://example.com" 替换为您想要跳转的 URL
|
|
window.location.href = url;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|