admin 发表于 2018-12-31 11:09:57

Typecho 邮件模板

评论提示摸板

<base target="_blank" />
<style type="text/css">
    ::-webkit-scrollbar{ display: none; }
</style>
<style id="cloudAttachStyle" type="text/css">
    #divNeteaseBigAttach, #divNeteaseBigAttach_bak{display:none;}
</style>
<div class="container" style="max-width:500px;margin:60px auto;background-color:#fff;box-shadow:1px 1px 12px #888888;border-radius:10px;font-family:-apple-system,BlinkMacSystemFont,&quot;">
    <div class="mail-box" style="width:100%;">
      <div class="mail-header" style="background:url('http://ww1.sinaimg.cn/large/ac1a0c4agy1ft9sgp23zbj21hc0u0txl.jpg') center center no-repeat;background-size:100% auto;margin:10px 0;width:100%;height:220px;box-sizing:border-box;overflow-y:hidden;">
      </div>
      <p class="mail-p1" style="margin:0 10px;font-size:1.4rem;">
            Dear {author}:
      </p>
      <p class="mail-p2" style="margin:0 10px;padding:0 20px;text-align:right;">
            {author}在{title}创造了新的评论
      </p>
      <p class="mail-p3" style="border-radius:3px;margin:0;margin-bottom:10px;padding:15px 10px;">
            <strong style="display:inline-block;line-height:20px;background-color:#5C6E84;color:#fff;border-radius:4px;padding:5px 10px;height:20px;">{author}</strong>&nbsp;在&nbsp;<strong><a href="{permalink}" style="text-decoration:underline;color:inherit;">{title}</a></strong>&nbsp;新评论:
      </p>
      <p class="mail-p4" style="margin:0px 10px 10px 10px;border-radius:3px;color:white;padding:15px 15px;box-shadow:1px 1px 10px #888888;background-color:#58697bab;">
            {text}
      </p>
      <p class="mail-p5" style="border-radius:3px;margin:0;margin-bottom:10px;padding:15px 10px;">
            评论者"{title}"邮箱为:
      </p>
      <p class="mail-p6" style="margin:0px 10px 10px 10px;border-radius:3px;color:white;padding:15px 15px;box-shadow:1px 1px 10px #888888;background-color:#58697bab;">
            {mail}
      </p>
      <p class="mail-time" style="text-align:right;margin:15px 20px;color:#2a5062;font-size:.9rem;">
            {time}
      </p>
      <div style="margin:0;border-bottom:1px solid #e0e0e0;">
      </div>
      <p class="mail-footer" style="border-radius:3px;margin:0;padding:15px 20px;text-align:right;">
            {siteTitle} 献上诚挚的问候
      </p>
    </div>
</div>
<style type="text/css">
    body{font-size:14px;font-family:arial,verdana,sans-serif;line-height:1.666;padding:0;margin:0;overflow:auto;white-space:normal;word-wrap:break-word;min-height:100px}
    td, input, button, select, body{font-family:Helvetica, 'Microsoft Yahei', verdana}
    pre {white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;width:95%}
    th,td{font-family:arial,verdana,sans-serif;line-height:1.666}
    img{ border:0}
    header,footer,section,aside,article,nav,hgroup,figure,figcaption{display:block}
    blockquote{margin-right:0px}
</style>
<style id="ntes_link_color" type="text/css">a,td a{color:#064977}</style>


回复摸板

<base target="_blank" />
<style type="text/css">
    ::-webkit-scrollbar{ display: none; }
</style>
<style id="cloudAttachStyle" type="text/css">
    #divNeteaseBigAttach, #divNeteaseBigAttach_bak{display:none;}
</style>
<div class="container" style="max-width:500px;margin:60px auto;background-color:#fff;box-shadow:1px 1px 12px #888888;border-radius:10px;font-family:-apple-system,BlinkMacSystemFont,&quot;">
    <div class="mail-box" style="width:100%;">
      <div class="mail-header" style="background:url('http://ww1.sinaimg.cn/large/ac1a0c4agy1ft9sgp23zbj21hc0u0txl.jpg') center center no-repeat;background-size:100% auto;margin:10px 0;width:100%;height:220px;box-sizing:border-box;overflow-y:hidden;">
      </div>
      <p class="mail-p1" style="margin:0 10px;font-size:1.4rem;">
            Dear {author}:
      </p>
      <p class="mail-p2" style="margin:0 10px;padding:0 20px;text-align:right;">
            您有一封来自{siteTitle}的邮件
      </p>
      <p class="mail-p3" style="border-radius:3px;margin:0;margin-bottom:10px;padding:15px 10px;">
            <strong style="display:inline-block;line-height:20px;background-color:#5C6E84;color:#fff;border-radius:4px;padding:5px 10px;height:20px;">{author_p}</strong>&nbsp;在&nbsp;<strong><a href="{permalink}" style="text-decoration:underline;color:inherit;">{title}</a></strong>&nbsp;回复你:
      </p>
      <p class="mail-p4" style="margin:0px 10px 10px 10px;border-radius:3px;color:white;padding:15px 15px;box-shadow:1px 1px 10px #888888;background-color:#58697bab;">
            {text}
      </p>
      <p class="mail-p5" style="border-radius:3px;margin:0;margin-bottom:10px;padding:15px 10px;">
            你的评论:
      </p>
      <p class="mail-p6" style="margin:0px 10px 10px 10px;border-radius:3px;color:white;padding:15px 15px;box-shadow:1px 1px 10px #888888;background-color:#58697bab;">
            {text_p}
      </p>
      <p class="mail-time" style="text-align:right;margin:15px 20px;color:#2a5062;font-size:.9rem;">
            {time}
      </p>
      <div style="margin:0;border-bottom:1px solid #e0e0e0;">
      </div>
      <p class="mail-footer" style="border-radius:3px;margin:0;padding:15px 20px;text-align:right;">
            {siteTitle} 献上诚挚的问候
      </p>
    </div>
</div>
<style type="text/css">
    body{font-size:14px;font-family:arial,verdana,sans-serif;line-height:1.666;padding:0;margin:0;overflow:auto;white-space:normal;word-wrap:break-word;min-height:100px}
    td, input, button, select, body{font-family:Helvetica, 'Microsoft Yahei', verdana}
    pre {white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;width:95%}
    th,td{font-family:arial,verdana,sans-serif;line-height:1.666}
    img{ border:0}
    header,footer,section,aside,article,nav,hgroup,figure,figcaption{display:block}
    blockquote{margin-right:0px}
</style>
<style id="ntes_link_color" type="text/css">a,td a{color:#064977}</style>
页: [1]
查看完整版本: Typecho 邮件模板