截流自动化的商城平台
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

wechat_set.html 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {layout name="layout1" /}
  2. <style>
  3. .layui-form-label {
  4. width: 220px;
  5. }
  6. </style>
  7. <div class="wrapper">
  8. <div class="layui-card">
  9. <div class="layui-card-body">
  10. <div class="layui-collapse like-layui-collapse" lay-accordion="" style="border:1px dashed #c4c4c4">
  11. <div class="layui-colla-item">
  12. <h2 class="layui-colla-title like-layui-colla-title" style="background-color: #fff">操作提示</h2>
  13. <div class="layui-colla-content layui-show">
  14. <p>*汇付斗拱</p>
  15. </div>
  16. </div>
  17. </div>
  18. <!-- 表单区域-->
  19. <div class="layui-form" style="margin-top: 15px;">
  20. <!--product_id-->
  21. <div class="layui-form-item">
  22. <label class="layui-form-label">微信公众号:</label>
  23. <div class="layui-input-block">
  24. <div class="layui-col-md6">
  25. <input type="text" name="oa_app_id" value="{$oa_app_id | default = ''}" lay-verType="tips" autocomplete="off" disabled class="layui-input">
  26. <div class="layui-form-mid layui-word-aux">渠道 微信公众号 AppID</div>
  27. </div>
  28. </div>
  29. </div>
  30. <!--product_id-->
  31. <div class="layui-form-item">
  32. <label class="layui-form-label">微信公众号支付目录:</label>
  33. <div class="layui-input-block">
  34. <div class="layui-col-md6">
  35. <input type="text" name="aaaaa" value="<?php echo request()->domain() . '/'; ?>" lay-verType="tips" autocomplete="off" disabled class="layui-input">
  36. <div class="layui-form-mid layui-word-aux">渠道 微信公众号 AppID</div>
  37. </div>
  38. </div>
  39. </div>
  40. <!--huifu_id-->
  41. <div class="layui-form-item">
  42. <label class="layui-form-label">微信小程序:</label>
  43. <div class="layui-input-block">
  44. <div class="layui-col-md6">
  45. <input type="text" name="mnp_app_id" value="{$mnp_app_id | default = ''}" lay-verType="tips" autocomplete="off" disabled class="layui-input">
  46. <div class="layui-form-mid layui-word-aux">渠道 微信小程序 AppID</div>
  47. </div>
  48. </div>
  49. </div>
  50. <div class="layui-form-item">
  51. <lable class="layui-form-label"></lable>
  52. <div class="layui-input-block">
  53. <button class="layui-btn layui-btn-normal" lay-submit lay-filter="set">确定</button>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. <script>
  61. layui.config({
  62. version:"{$front_version}",
  63. base: '/static/lib/' //静态资源所在路径
  64. }).use(['form','element'], function(){
  65. var $ = layui.$,form = layui.form,element = layui.element;
  66. form.on('submit(set)', function(data) {
  67. like.ajax({
  68. url:'{:url("setting.hfdg/wechat_set")}',
  69. data: data.field,
  70. type:"post",
  71. success:function(res)
  72. {
  73. if(res.code == 1)
  74. {
  75. layui.layer.msg(res.msg, {
  76. offset: '15px'
  77. , icon: 1
  78. , time: 1000
  79. });
  80. }
  81. }
  82. });
  83. });
  84. });
  85. </script>