我也来分享一个模板 🙂
主题回复(其他模板请自行在其基础上修改):
<div style="border-radius: 10px 10px 10px 10px;font-size:13px; color: #555555;width: 666px;font-family:'Century Gothic','Trebuchet MS','Hiragino Sans GB',微软雅黑,'Microsoft Yahei',Tahoma,Helvetica,Arial,'SimSun',sans-serif;margin:50px auto;border:1px solid #eee;max-width:100%;background: #ffffff repeating-linear-gradient(-45deg,#fff,#fff 1.125rem,transparent 1.125rem,transparent 2.25rem);box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);">
<div style="width:100%;background:#49BDAD;color:#ffffff;border-radius: 10px 10px 0 0;background-image: -moz-linear-gradient(0deg, rgb(67, 198, 184), rgb(255, 209, 244));background-image: -webkit-linear-gradient(0deg, rgb(67, 198, 184), rgb(255, 209, 244));height: 66px;">
<p style="font-size:15px;word-break:break-all;padding: 23px 32px;margin:0;background-color: hsla(0,0%,100%,.4);border-radius: 10px 10px 0 0;">您在
<a style="text-decoration:none;color: #ffffff;" href="{{ $baseUrl }}">Flarum 中文社区</a>上的留言有新回复啦!
</p>
</div>
<div style="margin:40px auto;width:90%">
<p>{!! $user->display_name !!} 同学,您曾在<a style="text-decoration:none; color:#12addb" target="_blank" href="{!! app()->url() !!}/d/{!! $blueprint->post->discussion_id !!}/{!! $blueprint->post->number !!}">《{!! $blueprint->post->discussion->title !!}》(#{!! $blueprint->post->number !!}楼)</a>上发表评论:</p>
<div style="background: #fafafa repeating-linear-gradient(-45deg,#fff,#fff 1.125rem,transparent 1.125rem,transparent 2.25rem);box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);margin:20px 0px;padding:15px;border-radius:5px;font-size:14px;color:#555555;">{!! $blueprint->post->formatContent() !!}</div>
<p>{!! $blueprint->reply->user->username !!} 给您的回复如下:</p>
<div style="background: #fafafa repeating-linear-gradient(-45deg,#fff,#fff 1.125rem,transparent 1.125rem,transparent 2.25rem);box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);margin:20px 0px;padding:15px;border-radius:5px;font-size:14px;color:#555555;">{!! $blueprint->post->formatContent() !!}</div>
<p>您可以点击
<a style="text-decoration:none; color:#12addb" href="{!! $baseUrl !!}/d/{!! $blueprint->post->discussion_id !!}/{!! $blueprint->post->number !!}#comments">查看回复的完整內容</a>,欢迎再次光临
<a style="text-decoration:none; color:#12addb" href="{{ $baseUrl }}">Flarum 中文社区</a>。
</p>
<style type="text/css">a:link{text-decoration:none}a:visited{text-decoration:none}a:hover{text-decoration:none}a:active{text-decoration:none}</style>
</div>
</div>
效果图:
版权声明:该模板修改自Valine Adminn邮件模板