123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <form onsubmit="return false;" data-auto="true" action="{:url('save')}" method="post" class='layui-form layui-card' autocomplete="off">
- <div class="layui-card-body padding-40">
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">首件运费</span><span class="nowrap color-desc">FirstFreightPrice</span>
- <input name="first_freight_price" type="number" required placeholder="请输首件商品运费" value="{:sysconf('first_freight_price')}" class="layui-input">
- <p class="help-block">第一件商品运费(正整数或最多两位小数)</p>
- </label>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">续件运费</span><span class="nowrap color-desc">LaterFreightPrice</span>
- <input name="later_freight_price" type="number" required placeholder="请输续件运费" value="{:sysconf('later_freight_price')}" class="layui-input">
- <p class="help-block">首件商品之外每增加一件商品所需的运费(正整数或最多两位小数)</p>
- </label>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">运费券天数</span><span class="nowrap color-desc">TicketDays</span>
- <input name="ticket_days" type="number" required placeholder="请输运费券天数" value="{:sysconf('ticket_days')}" class="layui-input">
- <p class="help-block">用户获得运费券有效期限(正整数)</p>
- </label>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">模玩柜保存时间</span><span class="nowrap color-desc">MagicDays</span>
- <input name="magic_days" type="number" required placeholder="请输模玩柜保存天数" value="{:sysconf('magic_days')}" class="layui-input">
- <p class="help-block">用户抽中奖品保存时间(正整数)</p>
- </label>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">一级返利比率</span><span class="nowrap color-desc">FirstRebate</span>
- <input name="first_rebate" type="number" required placeholder="一级返利" value="{:sysconf('first_rebate')}" class="layui-input">
- <p class="help-block">返利比率(整数),若设置为0则不返利,例如:设置返利比率为5 ,返利上级5%明信片</p>
- </label>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">二级返利比率</span><span class="nowrap color-desc">SecondRebate</span>
- <input name="second_rebate" type="number" required placeholder="一级返利" value="{:sysconf('second_rebate')}" class="layui-input">
- <p class="help-block">返利比率(整数),若设置为0则不返利,例如:设置返利比率为5 ,返上级的上级5%明信片</p>
- </label>
- <label class="layui-form-item block relative">
- <span class="color-green margin-right-10">集市商城运费</span><span class="nowrap color-desc">MarketFreight</span>
- <input name="market_freight" type="number" placeholder="" value="{:sysconf('market_freight')}" class="layui-input">
- <p class="help-block">最多两位小数</p>
- </label>
- <div class="layui-form-item text-center margin-top-20">
- <button class="layui-btn" type="submit">保存配置</button>
- </div>
- </div>
- </form>
- <script>
- layui.use('laydate', function(){
- var laydate = layui.laydate;
- //时间选择器
- laydate.render({
- elem: '#start_time_cost'
- ,type: 'time'
- });
- laydate.render({
- elem: '#end_time_cost'
- ,type: 'time'
- });
- })
- </script>
|