brandCoupon.html 4.67 KB
<div class="pageheader">
    <div class="media">
        <div class="pageicon pull-left">
            <i class="fa fa-th-list"></i>
        </div>
        <div class="media-body">
            <ul class="breadcrumb">
                <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
                <li><a href="">运营管理</a></li>
                <li>品牌发券管理</li>
            </ul>

            <div>
                <div style="width: 30%;float: left;">
                    <h4>品牌发券列表</h4>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px;">
        <div class="panel-body">
            <a id="add-btn" href="javascript:;" class="btn btn-info">添加优惠券</a>
        </div>
        <div class="panel-body">


            <div class="row">


                <div class="panel-col">
                    <select id="sel-brandName" class="form-control" >
                        <option value="-1">选择品牌名称</option>
                    </select>
                </div>

                <!--<div class="panel-col">-->
                    <!--<select id="sel-status" class="form-control" >-->
                        <!--<option value="-1">选择状态</option>-->
                    <!--</select>-->
                <!--</div>-->

                <div class="panel-col">
                    <select id="sel-status" class="form-control">
                        <option value="-1">选择状态</option>
                        <option value="1">失效</option>
                        <option value="2">有效</option>
                    </select>
                </div>

                <div class="panel-col">
                    <input type="text" id="sel-couponsId" class="form-control" placeholder="输入优惠券ID" style="height: 39px;"/>
                </div>


                <div class="panel-col">
                    <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
                    <a id="all-btn" href="" 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 type="text/template" id="template">
    <div class="form-group">
        <label for="couponsId" class="col-sm-2 control-label">优惠券ID<span style="color: red;"> *</span>:</label>
        <div class="col-sm-10">
            <input type="text" value="[[couponsId]]" name="content" id="couponsId" placeholder="优惠券ID" required="required" class="form-control">
        </div>
    </div>
    <!--<div class="form-group" id="maxsord">-->
        <!--<label for="brandId" class="col-sm-2 control-label">品牌<span style="color: red;"> *</span>:</label>-->
        <!--<div class="col-sm-10">-->
            <!--<input type="hidden" name="" value="[[id]]" id="id" required="required" class="form-control" pattern="" title="">-->
            <!--<select id="brandId" value="[[brandId]]" required="required" class="form-control">-->
                <!--&lt;!&ndash;<option value="-1">请选择分类</option>&ndash;&gt;-->
                <!--<option value="[[brandId||-1]]">[[brandName||"请选择品牌"]]</option>-->
            <!--</select>-->
        <!--</div>-->
    <!--</div>-->

    <div class="form-group" id="maxsord">
        <label for="brandId" class="col-sm-2 control-label">品牌<span style="color: red;"> *</span>:</label>
        <div class="col-sm-10">
            <input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title="">
            <select id="brandId" value="[[brandId]]" required="required" class="form-control">
                <!--<option value="-1">请选择分类</option>-->
                <option value="[[brandId||-1]]">[[brandName||"请选择品牌"]]</option>
            </select>
        </div>
    </div>

    <div class="form-group">
        <label for="status" class="col-sm-2 control-label">是否热门<span style="color: red;"> *</span>:</label>
        <div class="radio">
            <label><input type="radio" value="1" name="status" kl_vkbd_parsed="true">失效</label>
            <label><input type="radio" value="2" name="status" kl_vkbd_parsed="true">有效</label>
        </div>
        <input id="status" type="hidden" required="required" value="[[status]]" for="radio"  kl_vkbd_parsed="true">
    </div>


</script>