<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XXXX服务商店</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body style="background:#ffffff;padding:10px 0; font-family:'宋体';">
<table border="0" cellpadding="0" cellspacing="0" style=" width:690px;text-align:center; margin:0 auto 0px auto;">
<tr>
<td>
<p style=" font-family:'宋体'; font-size:11px; color:#5b5a5a; line-height:20px; text-align:left; margin: 0 0;">若你看不到下面的内容,请<a href="#" style=" text-decoration:underline; cursor:pointer;color:#0089fe;">点击此处</a>查看详细内容 </p>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="width:690px; text-align:left; margin:0 auto;border:1px solid #e8e8e8;background:#f4f4f4;">
<tr>
<td colspan="2" id="hearder">
<img src="${imgServer}/images/email/top.png" />
</td>
</tr>
<tr >
<td colspan="2" id="content" style="padding:35px 28px 30px 28px;">
<p style="font-size:14px;color:#333;line-height:12px; font-weight:bold; margin:0 0; padding-bottom:8px;">尊敬的客户${user.name},您好!</p>
<p style="margin:0;font-size:14px;color:#333;line-height:16px;">感谢使用XXXX产品。</p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0px 28px 0px 28px;;margin:0;font-size:14px;color:#333;">
<h1 style="font-size:14px;margin-bottom:10px;color:#333; border-bottom:1px solid #97c9e6; margin:0 0; padding-bottom:10px;">以下是您XXXX服务卡: </h1>
</td>
</tr>
<tr>
#foreach($card in $cards)
<td width="38%" style="padding:15px 20px 10px 30px; vertical-align:top; margin:0 0;">
<div style=" position:relative;">
<img src="http://192.168.0.230/Ipem/images/email/card_bg.png" />
<p style=" position:absolute; left:18px; bottom:15px; font-family:'微软雅黑'; font-size:18px; color:#ffffff; line-height:20px; padding:10px 0 17px 0;margin:0 0;">#if($card.cardState == 'ACTIVED')已激活 #end #if($card.cardState == 'UNACTIVED')未激活 #end #if($card.cardState == 'DISCARD')作废 #end #if($card.cardState == 'OVERDURE')已过期 #end </p>
<div style=" width:198px; position:absolute; bottom:20px; left:94px; text-align:center; margin:0 0;">
<p style=" font-family:'微软雅黑'; font-size:18px; color:#ffffff; line-height:20px; padding:10px 0 17px 0;margin:0 0;">$card.title</p>
<p style=" font-family:'微软雅黑'; font-size:16px; color:#ffffff; line-height:16px; padding:0px 0 0 50px; text-align:left;margin:0 0;">账号:$card.loginAccount</p>
<p style=" font-family:'微软雅黑'; font-size:16px; color:#ffffff; line-height:16px; padding:5px 0 0 50px; text-align:left;margin:0 0;">密码:$card.password</p>
</div>
</div>
</td>
#if($velocityCount > 1 && $velocityCount%2 == 0)
</tr> #if($velocityCount != $cards.size())<tr> #end
#end
#end
<tr>
<td colspan="2" style="padding:10px 28px 20px 28px;;margin:0;font-size:14px;color:#333;">
<h1 style="font-size:14px;margin-bottom:10px;color:#333; border-top:1px solid #97c9e6; padding-top:10px;">通过下面链接,直接访问ipem心理健康数字商店平台: </h1>
<a href="#" style="text-decoration: none; color:#2187c1; font-weight:bold;">www.pem.cn/login</a>
</td>
</tr>
<tr>
<td colspan="2" style="padding:15px 28px 60px;">
<ul style="padding:0;list-style:none;line-height:20px;font-size:14px;color:#333;margin:0;">
<li>XXXX企业集团</li>
<li>地址:西安高新区软件园XXXX</li>
<li>客服热线:029-87607700</li>
<li>邮箱:service@XXXX.com</li>
<li>公司网址:<a href="#" style="text-decoration: none;color:#2187c1; font-weight:bold;">www.xxxx.com.cn</a></li>
<li style=" padding-top:8px;"><img src="${imgServer}/images/email/com_logo.png" /></li>
</ul>
</td>
</tr>
</table>
</body>
</html>
velocity 学习,邮件发送模板的应用
最新推荐文章于 2022-03-03 14:23:26 发布