截流自动化的商城平台
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.

set.html 3.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {layout name="layout2" /}
  2. <style>
  3. .layui-form-item .layui-form-label { width: 95px; }
  4. .layui-form-item .layui-input-inline { width: 240px; }
  5. </style>
  6. <div class="layui-card layui-form" style="box-shadow:none;">
  7. <div class="layui-card-body">
  8. <div class="layui-form-item" style="display: none;">
  9. <label class="layui-form-label">推荐商家:</label>
  10. <div class="layui-input-inline">
  11. <input type="radio" name="is_recommend" value="1" title="是" {if $detail.is_recommend}checked{/if}>
  12. <input type="radio" name="is_recommend" value="0" title="否" {if !$detail.is_recommend}checked{/if}>
  13. <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">商城首页会显示推荐的商家</div>
  14. </div>
  15. </div>
  16. <div class="layui-form-item" style="display: none;">
  17. <label class="layui-form-label">分销功能:</label>
  18. <div class="layui-input-inline">
  19. <input type="radio" name="is_distribution" value="1" title="是" {if $detail.is_distribution}checked{/if}>
  20. <input type="radio" name="is_distribution" value="0" title="否" {if !$detail.is_distribution}checked{/if}>
  21. <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">开启或关闭分销功能,关闭后商家不参与分销推广</div>
  22. </div>
  23. </div>
  24. <div class="layui-form-item" style="display: none;">
  25. <label class="layui-form-label">支付功能:</label>
  26. <div class="layui-input-inline">
  27. <input type="radio" name="is_pay" value="1" title="开启" {if $detail.is_pay}checked{/if}>
  28. <input type="radio" name="is_pay" value="0" title="关闭" {if !$detail.is_pay}checked{/if}>
  29. <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">默认开启,关闭时商品详情则显示咨询商家按钮</div>
  30. </div>
  31. </div>
  32. <div class="layui-form-item">
  33. <label for="cid" class="layui-form-label"><span style="color:red;">*</span>服务套餐:</label>
  34. <div class="layui-input-inline">
  35. <select name="tid" id="tid" lay-verType="tips" lay-verify="tid" switch-tab="0">
  36. <option value=""></option>
  37. {volist name="goods_list" id="vo"}
  38. <option value="{$vo.id}" {if $vo.id == $detail.tid}selected{/if}>{$vo.name}</option>
  39. {/volist}
  40. </select>
  41. </div>
  42. </div>
  43. <div class="layui-form-item">
  44. <label for="weight" class="layui-form-label"><span style="color:red;">*</span>排序权重:</label>
  45. <div class="layui-input-inline">
  46. <input type="number" name="weight" id="weight" value="{$detail.weight}" lay-verType="tips" lay-verify="require|number"
  47. switch-tab="0" autocomplete="off" class="layui-input">
  48. <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">商品排序权重,数字越小排序越前,权重越大</div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="layui-form-item layui-hide">
  53. <input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认">
  54. </div>
  55. </div>