No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

buyer_notice.htm 27KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. {include file="public/layout" /}
  2. <body class="bodystyle" style="overflow-y: scroll; cursor: default; -moz-user-select: inherit;min-width:auto;">
  3. <div id="append_parent"></div>
  4. <div id="ajaxwaitid"></div>
  5. <div class="page" style="min-width:auto;padding-bottom: 15px;">
  6. <div class="fixed-bar">
  7. <div class="item-title">
  8. <a class="back_xin" href="javascript:history.back();" title="返回"><i class="iconfont e-fanhui"></i></a>
  9. <div class="subject">
  10. <h3>消息通知</h3>
  11. <h5></h5>
  12. </div>
  13. <!-- <ul class="tab-base nc-row">
  14. <li> <a href="{:url('Notice/buyer_notice')}" {if condition="'buyer_notice' == $Request.action"}class="current"{/if}>用户通知</a> </li>
  15. <li> <a href="{:url('Notice/seller_notice')}" {if condition="'seller_notice' == $Request.action"}class="current"{/if}>站长通知</a> </li>
  16. </ul> -->
  17. </div>
  18. </div>
  19. <div class="flexigrid htitx">
  20. <div class="hDiv">
  21. <div class="hDivBox">
  22. <table cellspacing="0" cellpadding="0" style="width: 100%">
  23. <thead>
  24. <tr>
  25. <th class="sign w10" axis="col0">
  26. <div class="tc"></div>
  27. </th>
  28. <th abbr="article_title" axis="col3" class="w10">
  29. <div id="anchor-sms" class="tc">用户通知</div>
  30. </th>
  31. <th abbr="ac_id" axis="col4">
  32. <div class=""></div>
  33. </th>
  34. </tr>
  35. </thead>
  36. </table>
  37. </div>
  38. </div>
  39. <div class="notice-list-box mt20">
  40. <!-- 注册验证 -->
  41. <div class="notice-list">
  42. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_sms', ['send_type'=>1])}">
  43. <div class="card-title">
  44. <span>账号注册</span>
  45. <p class="notic">用户注册时填写,点击获取验证码进行发送</p>
  46. </div>
  47. <div><i class="iconfont e-right"></i></div>
  48. </div>
  49. <div class="list-card-body">
  50. <div class="list-card-child">
  51. <span>短信通知{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao" title="限基础授权以上可用"></i>{/empty}</span>
  52. {notempty name="$sms_tplist[0]['is_open']"}
  53. <span class="yes" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  54. {else /}
  55. <span class="no" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  56. {/notempty}
  57. </div>
  58. <div class="list-card-child">
  59. <span>邮件发送</span>
  60. {notempty name="$smtp_tplist[1]['is_open']"}
  61. <span class="yes" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$smtp_tplist[1]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  62. {else /}
  63. <span class="no" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$smtp_tplist[1]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  64. {/notempty}
  65. </div>
  66. </div>
  67. </div>
  68. <!-- 账号登录 -->
  69. <div class="notice-list">
  70. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_sms', ['send_type'=>2])}">
  71. <div class="card-title">
  72. <span>账号登录</span>
  73. <p class="notic">账号登录时填写,点击获取验证码进行发送</p>
  74. </div>
  75. <div><i class="iconfont e-right"></i></div>
  76. </div>
  77. <div class="list-card-body">
  78. <div class="list-card-child">
  79. <span>短信通知{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao" title="限基础授权以上可用"></i>{/empty}</span>
  80. {notempty name="$sms_tplist[3]['is_open']"}
  81. <span class="yes" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[3]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  82. {else /}
  83. <span class="no" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[3]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  84. {/notempty}
  85. </div>
  86. </div>
  87. </div>
  88. <!-- 绑定邮箱 -->
  89. <div class="notice-list">
  90. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_smtp', ['send_type'=>3])}">
  91. <div class="card-title">
  92. <span>邮箱绑定</span>
  93. <p class="notic">邮箱绑定时填写,点击获取验证码进行发送</p>
  94. </div>
  95. <div><i class="iconfont e-right"></i></div>
  96. </div>
  97. <div class="list-card-body">
  98. <div class="list-card-child">
  99. <span>邮件发送</span>
  100. {notempty name="$smtp_tplist[2]['is_open']"}
  101. <span class="yes" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$smtp_tplist[2]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  102. {else /}
  103. <span class="no" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$smtp_tplist[2]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  104. {/notempty}
  105. </div>
  106. </div>
  107. </div>
  108. <!-- 手机绑定 -->
  109. <div class="notice-list">
  110. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_sms', ['send_type'=>4])}">
  111. <div class="card-title">
  112. <span>手机绑定</span>
  113. <p class="notic">手机绑定时填写,点击获取验证码进行发送</p>
  114. </div>
  115. <div><i class="iconfont e-right"></i></div>
  116. </div>
  117. <div class="list-card-body">
  118. <div class="list-card-child">
  119. <span>短信通知{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao" title="限基础授权以上可用"></i>{/empty}</span>
  120. {notempty name="$sms_tplist[1]['is_open']"}
  121. <span class="yes" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[1]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  122. {else /}
  123. <span class="no" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[1]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  124. {/notempty}
  125. </div>
  126. </div>
  127. </div>
  128. <!-- 找回密码 -->
  129. <div class="notice-list">
  130. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_sms', ['send_type'=>5])}">
  131. <div class="card-title">
  132. <span>找回密码</span>
  133. <p class="notic">找回密码时填写,点击获取验证码进行发送</p>
  134. </div>
  135. <div><i class="iconfont e-right"></i></div>
  136. </div>
  137. <div class="list-card-body">
  138. <div class="list-card-child">
  139. <span>短信通知{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao" title="限基础授权以上可用"></i>{/empty}</span>
  140. {notempty name="$sms_tplist[4]['is_open']"}
  141. <span class="yes" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[4]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  142. {else /}
  143. <span class="no" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[4]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  144. {/notempty}
  145. </div>
  146. <div class="list-card-child">
  147. <span>邮件发送</span>
  148. {notempty name="$smtp_tplist[3]['is_open']"}
  149. <span class="yes" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$smtp_tplist[3]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  150. {else /}
  151. <span class="no" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$smtp_tplist[3]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  152. {/notempty}
  153. </div>
  154. </div>
  155. </div>
  156. <!-- 留言验证 -->
  157. <div class="notice-list">
  158. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_sms', ['send_type'=>6])}">
  159. <div class="card-title">
  160. <span>留言验证</span>
  161. <p class="notic">提交留言时填写,点击获取验证码进行发送</p>
  162. </div>
  163. <div><i class="iconfont e-right"></i></div>
  164. </div>
  165. <div class="list-card-body">
  166. <div class="list-card-child">
  167. <span>短信通知{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao" title="限基础授权以上可用"></i>{/empty}</span>
  168. {notempty name="$sms_tplist[7]['is_open']"}
  169. <span class="yes" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[7]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  170. {else /}
  171. <span class="no" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[7]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  172. {/notempty}
  173. </div>
  174. </div>
  175. </div>
  176. <!-- 订单发货 -->
  177. <div class="notice-list">
  178. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_sms', ['send_type'=>7])}">
  179. <div class="card-title">
  180. <span>订单发货</span>
  181. <p class="notic">商家发货完成后进行发送</p>
  182. </div>
  183. <div><i class="iconfont e-right"></i></div>
  184. </div>
  185. <div class="list-card-body">
  186. <div class="list-card-child">
  187. <span>短信通知{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao" title="限基础授权以上可用"></i>{/empty}</span>
  188. {notempty name="$sms_tplist[6]['is_open']"}
  189. <span class="yes" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[6]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  190. {else /}
  191. <span class="no" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[6]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  192. {/notempty}
  193. </div>
  194. <div class="list-card-child">
  195. <span>邮件发送</span>
  196. {notempty name="$smtp_tplist[5]['is_open']"}
  197. <span class="yes" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$sms_tplist[5]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  198. {else /}
  199. <span class="no" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$sms_tplist[5]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  200. {/notempty}
  201. </div>
  202. {if condition="$php_servicemeal < 1 || $php_servicemeal >= 2"}
  203. <div class="list-card-child">
  204. <span>微信小程序{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao-zy" title="限专业授权以上可用"></i>{/empty}</span>
  205. {notempty name="$applets_tplist[0]['is_open']"}
  206. <span class="yes" data-onClick="changeTableVal('applets_template','tpl_id','{$applets_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  207. {else /}
  208. <span class="no" data-onClick="changeTableVal('applets_template','tpl_id','{$applets_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  209. {/notempty}
  210. </div>
  211. {/if}
  212. <div class="list-card-child">
  213. <span>站内信</span>
  214. {notempty name="$notice_tplist[2]['is_open']"}
  215. <span class="yes" data-onClick="changeTableVal('users_notice_tpl','tpl_id','{$notice_tplist[2]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  216. {else /}
  217. <span class="no" data-onClick="changeTableVal('users_notice_tpl','tpl_id','{$notice_tplist[2]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  218. {/notempty}
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. <div class="hDiv">
  224. <div class="hDivBox">
  225. <table cellspacing="0" cellpadding="0" style="width: 100%">
  226. <thead>
  227. <tr>
  228. <th class="sign w10" axis="col0">
  229. <div class="tc"></div>
  230. </th>
  231. <th abbr="article_title" axis="col3" class="w10">
  232. <div id="anchor-sms" class="tc">站长通知</div>
  233. </th>
  234. <th abbr="ac_id" axis="col4">
  235. <div class=""></div>
  236. </th>
  237. </tr>
  238. </thead>
  239. </table>
  240. </div>
  241. </div>
  242. <div class="notice-list-box mt20">
  243. <!-- 留言表单 -->
  244. <div class="notice-list">
  245. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_sms', ['send_type'=>8])}">
  246. <div class="card-title">
  247. <span>留言表单</span>
  248. <p class="notic">用户提交留言后发送</p>
  249. </div>
  250. <div><i class="iconfont e-right"></i></div>
  251. </div>
  252. <div class="list-card-body">
  253. <div class="list-card-child">
  254. <span>短信通知{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao" title="限基础授权以上可用"></i>{/empty}</span>
  255. {notempty name="$sms_tplist[2]['is_open']"}
  256. <span class="yes" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[2]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  257. {else /}
  258. <span class="no" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[2]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  259. {/notempty}
  260. </div>
  261. <div class="list-card-child">
  262. <span>邮件发送</span>
  263. {notempty name="$smtp_tplist[0]['is_open']"}
  264. <span class="yes" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$sms_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  265. {else /}
  266. <span class="no" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$sms_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  267. {/notempty}
  268. </div>
  269. <div class="list-card-child">
  270. <span>站内信</span>
  271. {notempty name="$notice_tplist[0]['is_open']"}
  272. <span class="yes" data-onClick="changeTableVal('users_notice_tpl','tpl_id','{$notice_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  273. {else /}
  274. <span class="no" data-onClick="changeTableVal('users_notice_tpl','tpl_id','{$notice_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  275. {/notempty}
  276. </div>
  277. </div>
  278. </div>
  279. <!-- 用户支付通知 -->
  280. <div class="notice-list">
  281. <div class="card-head" onclick="jumpPage(this);" data-url="{:url('Notice/notice_details_sms', ['send_type'=>9])}">
  282. <div class="card-title">
  283. <span>订单付款</span>
  284. <p class="notic">订单支付成功后发送</p>
  285. </div>
  286. <div><i class="iconfont e-right"></i></div>
  287. </div>
  288. <div class="list-card-body">
  289. <div class="list-card-child">
  290. <span>短信通知{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao" title="限基础授权以上可用"></i>{/empty}</span>
  291. {notempty name="$sms_tplist[5]['is_open']"}
  292. <span class="yes" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[5]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  293. {else /}
  294. <span class="no" data-onClick="changeTableVal('sms_template','tpl_id','{$sms_tplist[5]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  295. {/notempty}
  296. </div>
  297. <div class="list-card-child">
  298. <span>邮件发送</span>
  299. {notempty name="$smtp_tplist[4]['is_open']"}
  300. <span class="yes" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$sms_tplist[4]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  301. {else /}
  302. <span class="no" data-onClick="changeTableVal('smtp_tpl','tpl_id','{$sms_tplist[4]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  303. {/notempty}
  304. </div>
  305. {if condition="$php_servicemeal < 1 || $php_servicemeal >= 2"}
  306. <div class="list-card-child">
  307. <span>微信公众号{empty name="$php_servicemeal"} <i class="anchor-icon anchor-icon-biao-zy" title="限专业授权以上可用"></i>{/empty}</span>
  308. {notempty name="$wechat_tplist[0]['is_open']"}
  309. <span class="yes" data-onClick="changeTableVal('wechat_template','tpl_id','{$wechat_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  310. {else /}
  311. <span class="no" data-onClick="changeTableVal('wechat_template','tpl_id','{$wechat_tplist[0]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  312. {/notempty}
  313. </div>
  314. {/if}
  315. <div class="list-card-child">
  316. <span>站内信</span>
  317. {notempty name="$notice_tplist[1]['is_open']"}
  318. <span class="yes" data-onClick="changeTableVal('users_notice_tpl','tpl_id','{$notice_tplist[1]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-duihao"></i></span>
  319. {else /}
  320. <span class="no" data-onClick="changeTableVal('users_notice_tpl','tpl_id','{$notice_tplist[1]['tpl_id']}','is_open',this);" data-yestext='<i class="iconfont e-duihao" title="点击关闭"></i>' data-notext='<i class="iconfont e-quxiao" title="点击开启"></i>'><i class="iconfont e-quxiao"></i></span>
  321. {/notempty}
  322. </div>
  323. </div>
  324. </div>
  325. </div>
  326. </div>
  327. </div>
  328. {include file="public/footer" /}
  329. <script type="text/javascript">
  330. $(function(){
  331. auto_notic_tips();
  332. /**
  333. * 自动小提示
  334. */
  335. function auto_notic_tips() {
  336. var html = '<a class="ui_tips" href="javascript:void(0);" onmouseover="layer_tips = layer.tips($(this).parent().find(\'p.notic\').html(), this, {time:100000});" onmouseout="layer.close(layer_tips);">提示</a>';
  337. $.each($('.card-title > p.notic'), function(index, item){
  338. var a_length = $(item).prev("a.ui_tips").length;
  339. if ($(item).html() != '' && 0 == a_length) {
  340. $(item).before(html);
  341. }
  342. });
  343. }
  344. });
  345. function jumpPage(obj) {
  346. window.location.href = $(obj).data('url');
  347. }
  348. </script>