brandImage.html 3.6 KB
<%include '../common/__ui/header'%>
<%include '../common/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px;">
        <div class="panel-body" style="padding-bottom: 0">
            <a id="add-btn" href="javascript:;" 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="channel" id="channel" tabindex="-1" title="" class="form-control">
                        <option value="" selected="">选择频道</option>
                        <option value="0" >通用</option>
                        <option value="1" >男生</option>
                        <option value="2" >女生</option>
                        <option value="3" >潮童</option>
                        <option value="4" >创意生活</option>

                    </select>
                </div>

                <div class="panel-col">
                    <select id="g-brandId" class="form-control">
                        <option value="-1">全部品牌</option>
                    </select>
                </div>

                <div class="panel-col">
                    <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
                    <a id="filter-all" href="/BrandImageRest/brandImageList" 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 id="templete-top">
        <div class="form-group">
            <label for="channelId" class="col-sm-2 control-label" style="margin-top: 10px">频道:</label>
            <div class="radio col-sm-8">
                <input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title="">
                <label><input type="radio" value="0" name="channelId" kl_vkbd_parsed="true">通用</label>
                <label><input type="radio" value="1" name="channelId" kl_vkbd_parsed="true">男生</label>
                <label><input type="radio" value="2" name="channelId" kl_vkbd_parsed="true">女生</label>
                <label><input type="radio" value="3" name="channelId" kl_vkbd_parsed="true">潮童</label>
                <label><input type="radio" value="3" name="channelId" kl_vkbd_parsed="true">创意生活</label>
            </div>
            <input id="channelId" type="hidden" value="[[channelId]]" for="radio" required="required" kl_vkbd_parsed="true">
        </div>
        <div class="form-group">
            <label for="brandId" class="col-sm-2 control-label">品牌名称:</label>
            <div class="col-sm-8">
                <select id="brandId" value="[[brandId]]" class="form-control">
                    <option value="[[brandId||-1]]">[[brandName||"请选择"]]</option>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label for="src" class="col-sm-2 control-label">上传品牌图片:</label>
            <div class="col-sm-8" id="colorUrlBox">
                <input type="file" id="src" name="src" required="required" value="[[src]]">
            </div>
        </div>
    </div>
</script>
<%include '../common/__ui/footer'%>