Index.html 2.53 KB
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="row">
                <div class="panel-col">
                    <select id="SortId" class="form-control">
                        <option value="">请选择品类ID</option>
                    </select>
                </div>
                <div class="panel-col2">
                    <div id="sort"></div>
                </div>

                <div class="panel-col">
                    <select id="SortLevel" class="form-control">
                        <option value="">请选择所属分类</option>
                    </select>
                </div>
                <div class="panel-col">
                    <input type="text" class="btn btn-info col-sm-5" id="filter-btn" value="筛选">
                    <input type="text" class="btn btn-info col-sm-5 col-sm-offset-1" id="export-btn" value="导出">
                </div>
            </div>
        </div>
    </div>
    <div class="panel">
        <div class="panel-body nopadding">
            <div class="sale-category-table dataTables_wrapper no-footer" id="basicTable"></div>
        </div>
    </div>
</div>

<script type="text/template" id="tableHdTemp">
    <div class="level-hd clearfix">
        <span class="folder"></span>
        <span style="width: 5%">品类ID</span>
        <span style="width: 20%">品类名称</span>
        <span>所属分类</span>
        <span class="status">是否特殊品类</span>
        <span class="operate">操作</span>
    </div>
</script>

<script type="text/template" id="tableTemp2">
    <span class="folder" data-name="[[isRefundExchange]]"></span>
    <span style="width: 5%">[[id]]</span>
    <span style="width: 20%">[[sortName]]</span>
    <span>[[sortLevel]]级分类</span>
    <span class="status">
        [[if isRefundExchange=="1"]]
        <b style="color: #449d44"></b>
        [[/if]]
        [[if isRefundExchange=="0"]]
        <b style="color: #d9534f"></b>
        [[/if]]
    </span>
    <span class="operate" data-id="[[id]]" data-name="[[sortName]]">
        [[if isRefundExchange=="1"]]
        <a class="btn btn-danger btn-sm close-category " style="width:50px" href="javascript:;"></a>
        [[/if]]
        [[if isRefundExchange=="0"]]
        <a class="btn btn-warning btn-sm open-category " style="width:50px" href="javascript:;"></a>
        [[/if]]
    </span>
</script>
<%include '../../common/__ui/footer'%>