12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- {layout name="layout2" /}
- <style>
- .layui-form-item .layui-form-label { width: 95px; }
- .layui-form-item .layui-input-inline { width: 240px; }
- </style>
-
- <div class="layui-card layui-form" style="box-shadow:none;">
-
- <div class="layui-card-body">
- <div class="layui-form-item" style="display: none;">
- <label class="layui-form-label">推荐商家:</label>
- <div class="layui-input-inline">
- <input type="radio" name="is_recommend" value="1" title="是" {if $detail.is_recommend}checked{/if}>
- <input type="radio" name="is_recommend" value="0" title="否" {if !$detail.is_recommend}checked{/if}>
- <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">商城首页会显示推荐的商家</div>
- </div>
- </div>
- <div class="layui-form-item" style="display: none;">
- <label class="layui-form-label">分销功能:</label>
- <div class="layui-input-inline">
- <input type="radio" name="is_distribution" value="1" title="是" {if $detail.is_distribution}checked{/if}>
- <input type="radio" name="is_distribution" value="0" title="否" {if !$detail.is_distribution}checked{/if}>
- <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">开启或关闭分销功能,关闭后商家不参与分销推广</div>
- </div>
- </div>
- <div class="layui-form-item" style="display: none;">
- <label class="layui-form-label">支付功能:</label>
- <div class="layui-input-inline">
- <input type="radio" name="is_pay" value="1" title="开启" {if $detail.is_pay}checked{/if}>
- <input type="radio" name="is_pay" value="0" title="关闭" {if !$detail.is_pay}checked{/if}>
- <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">默认开启,关闭时商品详情则显示咨询商家按钮</div>
- </div>
- </div>
-
- <div class="layui-form-item">
- <label for="cid" class="layui-form-label"><span style="color:red;">*</span>服务套餐:</label>
- <div class="layui-input-inline">
- <select name="tid" id="tid" lay-verType="tips" lay-verify="tid" switch-tab="0">
- <option value=""></option>
- {volist name="goods_list" id="vo"}
- <option value="{$vo.id}" {if $vo.id == $detail.tid}selected{/if}>{$vo.name}</option>
- {/volist}
- </select>
- </div>
- </div>
-
-
- <!--detail-->
- <div class="layui-form-item">
- <label for="expire_time" class="layui-form-label"><span style="color:red;">*</span>使用场景:</label>
- <div class="layui-input-inline">
- <input type="radio" name="type" value="0" title="增加" checked>
- <input type="radio" name="type" value="1" title="减少">
- </div>
- </div>
- {if $detail.hksy_type == 0}
- <!--包月-->
- <div class="layui-form-item">
- <label for="expire_time" class="layui-form-label"><span style="color:red;">*</span>操作类型:</label>
- <div class="layui-input-inline">
- <input type="radio" name="mouth" value="0" title="月份" checked>
- <input type="radio" name="mouth" value="1" title="天数">
- </div>
- </div>
- <div class="layui-form-item hksy_type_item2">
- <label for="months" class="layui-form-label"><span style="color:red;">*</span>赠送数量:</label>
- <div class="layui-input-inline">
- <input type="number" name="number" id="months" value="0" lay-verType="tips"
- lay-verify="months" switch-tab="1" autocomplete="off" class="layui-input">
- </div>
- </div>
- {else/}
- <!--按量付费-->
- <div class="layui-form-item hksy_type_item">
- <label for="hksy_count" class="layui-form-label"><span style="color:red;">*</span>赠送评论数:</label>
- <div class="layui-input-inline">
- <input type="number" name="number" id="hksy_count" value="1000" lay-verType="tips"
- lay-verify="hksy_count" switch-tab="1" autocomplete="off" class="layui-input">
- </div>
- </div>
- {/if}
-
- <div class="layui-form-item">
- <label for="weight" class="layui-form-label"><span style="color:red;">*</span>排序权重:</label>
- <div class="layui-input-inline">
- <input type="number" name="weight" id="weight" value="{$detail.weight}" lay-verType="tips" lay-verify="require|number"
- switch-tab="0" autocomplete="off" class="layui-input">
- <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">商品排序权重,数字越小排序越前,权重越大</div>
- </div>
- </div>
- </div>
-
-
- <div class="layui-form-item layui-hide">
- <input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认">
- </div>
- </div>
|