{extend name="base" /} {block name="js"} <script src="__ADMIN__/templatemsgs/templatemsgs.js?v={$v}" type="text/javascript"></script> {/block} {block name="main"} <div class="l-loading" style="display: block" id="wst-loading"></div> <form autocomplete='off'> <input type='hidden' id='id' class='ipt' value="{$object['id']}"/> <input type='hidden' id='tplCode' class='ipt' value="{$object['tplCode']}"/> <table class='wst-form wst-box-top layui-form'> <tr> <th width='120'>发送时机:</th> <td> {volist name=':WSTDatas("TEMPLATE_SMS")' id='vo'} {if $vo['dataVal']==$object['tplCode']}{$vo['dataName']}{/if} {/volist} </td> </tr> <tr> <th>内容:</th> <td> <textarea id='tplContent' style='width:70%;height:100px;' class='ipt' maxLength='150'>{$object['tplContent']}</textarea> </td> </tr> <tr> <th>是否开启:</th> <td> <input type="checkbox" {if $object['status']==1}checked{/if} value='1' class="ipt" id="isShow3" name="seoMallSwitch" lay-skin="switch" lay-filter="isShow3" lay-text="开启|关闭"> </td> </tr> <tr> <th valign="top">说明:</th> <td id='tplDesc'>{$object['tplDesc']}</td> </tr> <tr> <td colspan='2' align='center' class='wst-bottombar'> <button type="button" class="btn btn-primary btn-mright" onclick='javascript:save(2)'><i class="fa fa-check"></i>保存</button> <button type="button" class="btn" onclick="javascript:history.go(-1)"><i class="fa fa-angle-double-left"></i>返回</button> </td> </tr> </table> </form> {/block}