platform-set.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card' autocomplete="off">
  2. <div class="layui-card-body padding-40">
  3. <label class="layui-form-item block relative">
  4. <span class="color-green margin-right-10">首件运费</span><span class="nowrap color-desc">FirstFreightPrice</span>
  5. <input name="first_freight_price" type="number" required placeholder="请输首件商品运费" value="{:sysconf('first_freight_price')}" class="layui-input">
  6. <p class="help-block">第一件商品运费(正整数或最多两位小数)</p>
  7. </label>
  8. <label class="layui-form-item block relative">
  9. <span class="color-green margin-right-10">续件运费</span><span class="nowrap color-desc">LaterFreightPrice</span>
  10. <input name="later_freight_price" type="number" required placeholder="请输续件运费" value="{:sysconf('later_freight_price')}" class="layui-input">
  11. <p class="help-block">首件商品之外每增加一件商品所需的运费(正整数或最多两位小数)</p>
  12. </label>
  13. <label class="layui-form-item block relative">
  14. <span class="color-green margin-right-10">运费券天数</span><span class="nowrap color-desc">TicketDays</span>
  15. <input name="ticket_days" type="number" required placeholder="请输运费券天数" value="{:sysconf('ticket_days')}" class="layui-input">
  16. <p class="help-block">用户获得运费券有效期限(正整数)</p>
  17. </label>
  18. <label class="layui-form-item block relative">
  19. <span class="color-green margin-right-10">模玩柜保存时间</span><span class="nowrap color-desc">MagicDays</span>
  20. <input name="magic_days" type="number" required placeholder="请输模玩柜保存天数" value="{:sysconf('magic_days')}" class="layui-input">
  21. <p class="help-block">用户抽中奖品保存时间(正整数)</p>
  22. </label>
  23. <label class="layui-form-item block relative">
  24. <span class="color-green margin-right-10">一级返利比率</span><span class="nowrap color-desc">FirstRebate</span>
  25. <input name="first_rebate" type="number" required placeholder="一级返利" value="{:sysconf('first_rebate')}" class="layui-input">
  26. <p class="help-block">返利比率(整数),若设置为0则不返利,例如:设置返利比率为5 ,返利上级5%明信片</p>
  27. </label>
  28. <label class="layui-form-item block relative">
  29. <span class="color-green margin-right-10">二级返利比率</span><span class="nowrap color-desc">SecondRebate</span>
  30. <input name="second_rebate" type="number" required placeholder="一级返利" value="{:sysconf('second_rebate')}" class="layui-input">
  31. <p class="help-block">返利比率(整数),若设置为0则不返利,例如:设置返利比率为5 ,返上级的上级5%明信片</p>
  32. </label>
  33. <label class="layui-form-item block relative">
  34. <span class="color-green margin-right-10">集市商城运费</span><span class="nowrap color-desc">MarketFreight</span>
  35. <input name="market_freight" type="number" placeholder="" value="{:sysconf('market_freight')}" class="layui-input">
  36. <p class="help-block">最多两位小数</p>
  37. </label>
  38. <div class="layui-form-item text-center margin-top-20">
  39. <button class="layui-btn" type="submit">保存配置</button>
  40. </div>
  41. </div>
  42. </form>
  43. <script>
  44. layui.use('laydate', function(){
  45. var laydate = layui.laydate;
  46. //时间选择器
  47. laydate.render({
  48. elem: '#start_time_cost'
  49. ,type: 'time'
  50. });
  51. laydate.render({
  52. elem: '#end_time_cost'
  53. ,type: 'time'
  54. });
  55. })
  56. </script>