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

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px">
        <div class="panel-body" style="padding-bottom: 0">
            <a href="javascript:;" id="save" class="btn btn-success "><i class="fa fa-plus"></i> 添加促销</a>
        </div>
        <div class="panel-body">
            <div class="row">
               
                <div class="panel-col">
                    <select name="status" id="status" title="" class="form-control">
                        <option value="">启用状态</option>
                        <option value="1">启用</option>
                        <option value="0">未启用</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select name="is_valid" id="is_valid"  title="" class="form-control">                        
                        <option value="1">当前生效</option>  
                        <option value="2">未生效</option>  
                        <option value="3">已失效</option>                          
                    </select>
                </div>
                
                <div class="panel-col">
                    <select name="sort_type" id="sort_type" title="" class="form-control">                        
                        <option value="0">默认排序</option>  
                        <option value="1">优先级降序</option>  
                        <option value="2">优先级升序</option>                          
                    </select>
                </div>
                <div class="panel-col">
                    <input type="text" id="title" class="form-control panel-input" name="title" placeholder="促销名称" value="">
                </div>
                <div class="panel-col">
                    <select name="show_status" id="show_status"  title="" class="form-control">                        
                        <option value="-1">是否展示</option>  
                        <option value="0">不展示</option>  
                        <option value="1">展示</option>                          
                    </select>
                </div>
                <div class="panel-col">
                    <input name="description" id="description"  placeholder="输入描述的关键信息" class="form-control" />                        
                </div>
                <div style="float: left; height: 40px; margin: 0 10px 10px;">
                    <a id="filter-btn" href="javascript:void(0);" class="btn btn-info">筛选</a>
                    <a id="filter-all" href="/promotionInfo/index" class="btn btn-info">全部</a>
                    <a id="batchExportPromotion" href="javascript:void(0);" class="btn btn-info">导出</a>
                </div>
            </div>
        </div>
    </div>
    
    <div class="panel panel-primary-head">
        <div id="basicTable_wrapper" class="dataTables_wrapper no-footer">
            <div class="dataTables_length" id="basicTable">
            </div>
            <nav>
                <ul id="pagination" class="pagination pagination-lg"></ul>
            </nav>
        </div>
    </div>
</div>
<script id="template_save" type="text/template">
    <%include './Add'%>
</script>
<%include '../../../common/views/__ui/footer'%>