有不少朋友使用商城短消息和email通知时候,信息内容没有风格设置,信息内容比较难看。
因为标签自动调用了动易系统后台的风格,而信件内容发出去后无法连接到动易系统的风格文件。
故需信息内容中需要使用的风格代码加过来,才能保证显示可以同动易后台风格一样的效果
<style type="text/css">
<!--
body
{
font-family: "宋体";
font-size: 9pt;
text-decoration: none;
line-height: 150%;
background:#ffffff;
scrollbar-face-color: #2b73f1;
scrollbar-highlight-color: #0650d2;
scrollbar-shadow-color: #449ae8;
scrollbar-3dlight-color: #449ae8;
scrollbar-arrow-color: #02338a;
scrollbar-track-color: #0650d2;
scrollbar-darkshadow-color: #0650d2;
padding:0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
.border
{
border: 1px solid #449ae8;
}
.title
{
background:#449ae8;
color: #ffffff;
font-weight: normal;
}
.tdbg{
background:#f0f0f0;
line-height: 120%;
}
.tdbg5{
background:#e0eef5;
line-height: 120%;
}
.topbg2 /* 浅色背景定义,用于首页细线 */
{
background:#449ae8;
}
.title5{
width:80px;
background:url('images/titlebg2.gif');
line-height: 120%;
padding-top:2px;
cursor:hand;
}
.title6
{
width:80px;
background:url('images/titlebg1.gif');
color: #ffffff;
font-weight: normal;
padding-top:2px;
cursor:hand;
}
.title
{
background:#449ae8;
color: #ffffff;
font-weight: normal;
}
.tdbgmouseover{
background:#bfdfff;
line-height: 120%;
}
-->
</style>
把这段代码加到系统设置 --商城选项 --xxxx站内短信/email通知内容:中即可
或者参考自己需要的样式调整风格设置即可