index.html 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. <form id="form" action="{:url('config/index')}">
  2. <div class="titlebar"><i class="iconfont icon-service_icon"></i>客服电话</div>
  3. <table class="formtable">
  4. <tr><th>客服电话:</th><td><input class="input w500" datatype="*" type="text" name="service_telephone" value="{$info.service_telephone ?? ''}" /></td></tr>
  5. </table>
  6. <div class="titlebar"><i class="iconfont icon-text_icon"></i>全局文案</div>
  7. <table class="formtable">
  8. <tr><th>分享文字:</th><td><input class="input w500" datatype="*" type="text" name="shore_text" value="{$config.shore_text ?? ''}" /></td></tr>
  9. <tr><th>分享图片:</th><td><input readonly class="input w500 selectid" url="{:url('system/passport.common/upload')}" id="shore_img" name="shore_img" value="{$config.shore_img ?? ''}" /></td></tr>
  10. </table>
  11. <div class="titlebar"><i class="iconfont icon-renminbi1688"></i>结算权限</div>
  12. <table class="formtable">
  13. <tr>
  14. <th>付款权限:</th>
  15. <td>
  16. <select class="select w180" datatype="*" name="is_wechat_touser" class="select">
  17. <option value="0" {$info.is_wechat_touser == 0 ? 'selected' :''}>关闭</option>
  18. <option value="1" {$info.is_wechat_touser == 1 ? 'selected' :''}>开启</option>
  19. </select>
  20. <span class="gray">付款到零钱,请先确认您的微信商户支持<span class="red">付款权限</span></span>
  21. </td>
  22. </tr>
  23. <tr><th></th><td><input type="submit" value="确定" class="button button-blue submit" /><input type="reset" value="重置" class="button button-blank" /></td></tr>
  24. </table>
  25. </form>
  26. <script type="text/javascript">
  27. Do('base', 'layer', 'form', function () {
  28. $('#form').isForm();
  29. $(".selectid").win();
  30. })
  31. function shore_img(show_src){$("#shore_img").val(show_src);}
  32. </script>