writer.html 1.4 KB

1234567891011121314151617181920212223
  1. <form id="form" action="{:url('setting/writer')}">
  2. <div class="titlebar"><i class="iconfont icon-text_icon"></i>分享文案</div>
  3. <table class="formtable">
  4. <tr><th>分享标题:</th><td><input class="input w500" datatype="*" type="text" name="shore_text" value="{$article.shore_text ?? ''}" /></td></tr>
  5. <tr><th>分享图片:</th><td><input readonly class="input w500 selectid" url="{:url('system/passport.common/upload')}" id="shore_img" name="shore_img" value="{$article.shore_img ?? ''}" /></td></tr>
  6. </table>
  7. <div class="titlebar"><i class="iconfont icon-text_icon"></i>商户号申请码</div>
  8. <table class="formtable">
  9. <tr><th>提示文案:</th><td><input class="input w500" datatype="*" type="text" name="mch_text" value="{$article.mch_text ?? ''}" /></td></tr>
  10. <tr><th>申请二维码:</th><td><input readonly class="input w500 selectid" url="{:url('system/passport.common/upload')}" id="mch_qrcode" name="mch_qrcode" value="{$article.mch_qrcode ?? ''}" /></td></tr>
  11. </table>
  12. <table class="formtable">
  13. <tr><th></th><td><input type="submit" value="确定" class="button button-blue submit" /><input type="reset" value="重置" class="button button-blank" /></td></tr>
  14. </table>
  15. </form>
  16. <script type="text/javascript">
  17. Do('base', 'layer', 'form', function () {
  18. $('#form').isForm();
  19. $(".selectid").win();
  20. })
  21. function shore_img(show_src){$("#shore_img").val(show_src);}
  22. function mch_qrcode(show_src){$("#mch_qrcode").val(show_src);}
  23. </script>