wpfw_ewei_shopv2/template/web_v3/goods/batchcates.html
2023-02-14 19:57:32 +08:00

40 lines
2.0 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="batchcates" style="z-index: 999;display: none;position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0,0,0,0.5)" class="form-horizontal form-validate batchcates" enctype="multipart/form-data">
<div class="modal-dialog" style="position: absolute;margin-top: -190px">
<div class="modal-content">
<div class="modal-header">
<button data-dismiss="modal" class="close" type="button">×</button>
<h4 class="modal-title">选取分类</h4>
</div>
<div class="modal-body" style="height:270px">
<div class="form-group">
<label class="col-sm-2 control-label"></label>
<div class="col-sm-8 col-xs-12">
<label class="radio-inline"><input type="radio" name="iscover" value="0" {if $iscover ==0} checked="checked"{/if} /> 保留原有分类</label>
<label class="radio-inline"><input type="radio" name="iscover" value="1" {if $iscover ==1} checked="checked"{/if} /> 覆盖原有分类</label>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">商品分类</label>
<div class="col-sm-8 col-xs-12">
{ife 'goods' $item}
<select id="cates" name='cates[]' class="form-control select2" style='width:550px;' multiple='' >
{loop $category $c}
<option value="{$c['id']}" {if is_array($cates) && in_array($c['id'],$cates)}selected{/if} >{$c['name']}</option>
{/loop}
</select>
{/if}
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary">确认</button>
<button class="btn btn-default" >取消</button>
</div>
</div>
</div>
</div>