index.html 7.93 KB
<div class="pageheader">
    <div class="media">
        <div class="pageicon pull-left">
            <i class="fa fa-th-list"></i>
        </div>
        <div class="media-body">

        </div>
    </div>
</div>
<div class="contentpanel">
    <div class="panel panel-default" style="...">
        <div class="panel-heading">
            筛选
        </div>
        <div class="panel-body" id="filter">
            <div class="row">
                <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2">
                    <input type="text" value="" name="content" id="content-filter" placeholder="内容" class="form-control">
                </div>

                <div class="panel-col">
                    <select name="status" id="status-filter" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                        <option value="" selected="">选择状态</option>
                        <option value="1">关闭</option>
                        <option value="2">开启</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select name="channel-ops" id="channel-ops" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                        <option value="" selected="">选择频道</option>
                        <option value="1">男生</option>
                        <option value="2">女生</option>
                        <option value="3">潮童</option>
                        <option value="4">创意生活</option>
                    </select>
                </div>

                <div class="panel-col2">
                    <input type="text" id="starttime-filter" class="form-control panel-input hasDatepicker" jsaction="time:end:endtime-filter" name="start_time" placeholder="开始时间" value="">
                </div>
                <div class="panel-col2">
                    <input type="text" id="endtime-filter" class="form-control panel-input hasDatepicker" jsaction="time:start:starttime-filter" name="end_time" placeholder="结束时间" value="">
                </div>

                    <input id="route" type="hidden" value="/operation/terms/searchWordsList">
                <!--</div>-->

                <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
                <a id="filter-add" value="" class="btn btn-info">添加</a>

            </div>
        </div>
    </div>

    <div id="search-words-list" class="search-words">

    </div>
</div>

<script type="text/template" id="template">
    <ul class="breadcrumb">
        <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
        <li><a href="">搜索词管理</a></li>
        <li id="header-item">{name1}</li>
    </ul>

    <div>
        <div style="width: 30%;float: left;">
            <h4 id="header-title">{name2}</h4>

        </div>
    </div>
</script>


<!--添加修改模板-->
<script type="text/template" id="template-content">
    <div class="form-group">
        <label for="content" class="col-sm-2 control-label"><i class="red">*</i> 内容</label>
        <div class="col-sm-10">
            <input type="text" name="" value="{content}" id="content" class="form-control" value="" required="required" pattern="" title="">
        </div>
    </div>
</script>

<script type="text/template" id="template-channel">
    <div class="form-group">
        <label for="channelIds" class="col-sm-2 control-label"><i class="red">*</i> 频道</label>
        <div class="col-sm-8">
            <label style="cursor: pointer;"><input type="checkbox" name="channelIds" value="1"> 男生</label>
            <label style="cursor: pointer;"><input type="checkbox" name="channelIds" value="2"> 女生</label>
            <label style="cursor: pointer;"><input type="checkbox" name="channelIds" value="3"> 潮童</label>
            <label style="cursor: pointer;"><input type="checkbox" name="channelIds" value="4"> 创意生活</label>
        </div>
        <input type="hidden" id="channelIds" value="{channelIds}" for="checkbox">
    </div>
</script>

<script type="text/template" id="template-url">
    <div class="form-group">
        <label for="url" class="col-sm-2 control-label">  链接</label>
        <div class="col-sm-10">
            <input type="text" name="" value="{url}" id="url" class="form-control" value="" required="required" pattern="" title="">
        </div>
    </div>
</script>

<script type="text/template" id="template-sarttime">
    <div class="form-group">
        <label for="startTime" class="col-sm-2 control-label"><i class="red">*</i> 开始时间</label>
        <div class="col-sm-10">
            <input type="text" id="startTime" class="form-control panel-input hasDatepicker" jsaction="time:end:endTime" name="start_time" placeholder="开始时间" value="{startTime}">
            <!--<input type="text" name="" value="{input}" id="input" class="form-control" value="" required="required" pattern="" title="">-->
        </div>
    </div>
</script>

<script type="text/template" id="template-endtime">
    <div class="form-group">
        <label for="endTime" class="col-sm-2 control-label"><i class="red">*</i> 结束时间</label>
        <div class="col-sm-10">
            <input type="text" id="endTime" class="form-control panel-input hasDatepicker" jsaction="time:start:startTime" name="start_time" placeholder="结束时间" value="{endTime}">
        </div>
    </div>
</script>

<script type="text/template" id="template-goodsnum">
    <div class="form-group">
        <label for="goodsNum" class="col-sm-2 control-label"><i class="red">*</i> 商品数</label>
        <div class="col-sm-10">
            <input type="text" name="" value="{goodsNum}" id="goodsNum" class="form-control" value="" required="required" pattern="" title="">
        </div>
    </div>
</script>

<script type="text/template" id="template-sort">
    <div class="form-group">
        <label for="sort" class="col-sm-2 control-label"><i class="red">*</i> 排序</label>
        <div class="col-sm-10">
            <input type="text" name="" value="{sort}" id="sort" class="form-control" value="" required="required" pattern="" title="">
        </div>
    </div>
</script>

<!--修改页面共用部分-->
<script type="text/template" id="template-modify">
    <div class="form-group">
        <label class="col-sm-2 control-label"><span class="red">*</span> 状态</label>
        <div class="col-sm-8">
            <label class="radio-inline">
                <input type="radio" name="status" value="2">启用
            </label>
            <label class="radio-inline">
                <input type="radio" name="status" value="1">禁用                                        </label>
            </label>
        </div>
        <input type="hidden" id="status" value="{status}" for="radio" required="">
    </div>

    <div class="form-group">
        <label for="creatorUsrname" class="col-sm-2 control-label">添加人</label>
        <div class="col-sm-10">
        <label id="creatorUsrname">{creatorUsrname}</label>
        </div>

    </div>

    <div class="form-group">
        <label for="createdTime" class="col-sm-2 control-label">添加时间</label>
        <div class="col-sm-10">
            <label id="createdTime">{createdTime}</label>
        </div>
    </div>

    <div class="form-group">
        <label for="modifyUsrname" class="col-sm-2 control-label">修改人</label>
        <div class="col-sm-10">
            <label id="modifyUsrname">{modifyUsrname}</label>
        </div>

    </div>

    <div class="form-group">
        <label for="modifyTime" class="col-sm-2 control-label">修改时间</label>
        <div class="col-sm-10">
            <label id="modifyTime">{modifyTime}</label>
        </div>
    </div>
    <input type="hidden" id="id" value="{id}"/>
</script>

<!--红颜色说明-->
<script type="text/template" id="template-tips">
    <div class="form-group">
        <input type="hidden" id="type" value="{type}"/>
        <i class="red" id="i-tips">{tips}</i>

    </div>
</script>