方法:
登录后台 - 微信 - 公众号素材,点击模板管理,输入一个模板名称,内容中填下面的代码,点击添加模板
代码:
<style>* {
margin: 0;
padding: 0;
outline: 0;
}</style>
<section style=" margin-top :28px; color: #ec3f36; text-align: center; font-size: 22px; line-height: 1.8; font-weight: bold;">${WebName}</section>
<p style="text-align:center;"><strong style="color: red;">以下展示本周置顶信息。</strong>查看更多招聘房产二手信息,免费发布信息。请长按识别下方二维码关注七台河信息网公众号</p>
<section style="text-align: center;"><img src="/template/images/qrcode/gzh.png" height="" width="200"></section>
<!--${kSortList}-->
<section style="visibility: visible;">
<section style="display: flex; align-items: stretch; justify-content: space-between; margin-right: 50px; margin-bottom: -20px; margin-left: 50px; visibility: visible;">
<section>
<section style="border-width: 1px; border-style: solid; border-color: rgb(152, 197, 254); width: 8px; height: 20px; border-radius: 10px; margin-right: auto; margin-bottom: -7px; margin-left: auto; visibility: visible;"><br></section>
<section style="width: 12px; height: 12px; border-width: 1px; border-style: solid; border-color: rgb(152, 197, 254); border-radius: 50%; visibility: visible;"><br></section>
</section>
<section>
<section style="border-width: 1px; border-style: solid; border-color: rgb(152, 197, 254); width: 8px; height: 20px; border-radius: 10px; margin-right: auto; margin-bottom: -7px; margin-left: auto; visibility: visible;"><br></section>
<section style="width: 12px; height: 12px; border-width: 1px; border-style: solid; border-color: rgb(152, 197, 254); border-radius: 50%; visibility: visible;"><br></section>
</section>
</section>
<section style="display: flex; align-items: stretch; justify-content: space-between; margin-bottom: -17px; transform: rotate(0deg); visibility: visible;">
<section style="width: 0px; height: 0px; border-bottom: 17px solid transparent; border-left: 17px solid rgb(153, 198, 255); border-top: 0px solid transparent; visibility: visible;"><br></section>
<section style="width: 0px; height: 0px; border-bottom: 17px solid transparent; border-right: 17px solid rgb(153, 198, 255); border-top: 0px solid transparent; visibility: visible;"><br></section>
</section>
<section style="border-width: 1px; border-style: solid; border-color: rgb(153, 198, 255); padding: 7px; background-color: rgb(246, 251, 255); visibility: visible;">
<section style="border-width: 1px; border-style: solid; border-color: rgb(153, 198, 255); background-color: rgb(255, 255, 255); visibility: visible;">
<section style="padding: 20px 10px 26px; visibility: visible;">
<section style="color: rgb(104, 104, 104); letter-spacing: 1px; line-height: 26px; visibility: visible;">
<p style="text-align: center; visibility: visible;"><span style="font-size: 18px; visibility: visible;"><strong style="visibility: visible;"><span style="color: rgb(25, 121, 221); visibility: visible;">— ${SortName} —</span></strong></span><br></p>
<p style="visibility: visible;"><br></p>
<!--${kInfoList}-->
<p style="text-align: center; visibility: visible;"><span style="color: rgb(255, 76, 0); font-size: 16px; visibility: visible;"><strong style="visibility: visible;">${kTitle,0}<!--(<span style="font-family: 微软雅黑, "Microsoft YaHei"; font-size: 15px; text-align: justify; visibility: visible;">¥${kPrice1}</span>)--></strong></span></p>
<p style="text-align: center; visibility: visible;"><span style="font-size: 15px; color: #888;">${kSort,0} | ${kSort1,0}</span></p>
<p style="white-space: pre-wrap; visibility: visible;">${kContentText,100}</p>
<!--${kShowQrcode}--><p style="text-align: center; margin-top: 10px;"><img style="width: 100px !important; height: auto !important; visibility: visible !important;" src="${kQrcodeUrl}"></p>
<section style="text-wrap: wrap;color: rgb(84, 161, 255);letter-spacing: 2px;line-height: 22px;text-align: center;padding-top: 10px;"><p style="font-size: 14px;">扫码识别查看联系方式</p></section><!--${kShowQrcodeEnd}-->
<!--${kShowTel}--><section style="text-wrap: wrap;color: rgb(84, 161, 255);letter-spacing: 2px;line-height: 22px;text-align: center;padding-top: 10px;"><p style="font-size: 14px;">(联系电话:<!--${kTel}-->)</p></section><!--${kShowTelEnd}-->
<p><br></p>
<!--${kInfoListEnd}-->
</section>
<section style="width: 28px;margin-top: 11px;margin-bottom: -10px;margin-left: auto;line-height: 2px;"><img style="vertical-align: middle; width: 28px !important; height: auto !important; visibility: visible !important;" src="https://www.kfenlei.com/images/ico_arrow_1.png"></section>
</section></section></section>
<section style="display:-webkit-flex;display:flex;align-items:stretch;justify-content:space-between;margin-top: -17px;">
<section style="width: 0px;height: 0px;border-bottom: 0px solid transparent;border-left: 17px solid rgb(153, 198, 255);border-top: 17px solid transparent;"><br></section>
<section style="width: 0px;height: 0px;border-bottom: 0px solid transparent;border-right: 17px solid rgb(153, 198, 255);border-top: 17px solid transparent;"><br></section>
</section>
</section>
<!--${kSortListEnd}-->