subjectManage.html 7.08 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="panel panel-default" style="margin-bottom:10px;">
        <div class="panel-heading">
            <a class="btn btn-success " id="add-subject"><i class="fa fa-plus"></i> 添加专题</a>
        </div>
        <div class="panel-body">
            <div class="row">
                <div class="panel-col">
                    <select name="sort" id="subject-type" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                        <option value="" selected="">类型</option>
                        <option value="1">奥莱</option>
                        <option value="2">SALE</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select name="paltform" id="subject-paltform" tabindex="-1" title="" class="select2-offscreen brandBtn-group">
                        <option value="" selected="">平台</option>
                        <option value="1">WEB</option>  
                        <option value="2">APP</option>  
                        <option value="3">WAP</option>  
                        <option value="4">IPAD</option>
                    </select>
                </div>
                <div class="panel-col">
                    <select name="status" id="subject-status" 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>
                <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
                <a id="filter-all" href="/runManage/subjectManage/index" class="btn btn-info">全部</a>
            </div>
        </div>
    </div>

<div class="contentpanel">
	<div class="panel panel-default" style="margin-bottom: 10px">
		<input type="hidden" id="url" value="/runManage/subjectManage/subjectList" />
		<div id="subject-manage"></div>
	</div>
</div>

<script type="text/template" id="template2">
	<input type="text" name="sort" size="1" placeholder="排序" />
	<input type="button" class="btn btn-xs btn-info sortsave" id="save" value="保存" />
	<input type="button" class="btn btn-xs btn-info sortcancel" id="cancel" value="取消" />
</script>

<script type="text/template" id="template">
	<div class="rows" id="baseform">
		<div class="form-group">
			<label class="col-sm-2 control-label">分类<font color="#f00">*</font></label>
			<input type="hidden" value="{id}" id="id" />
			<div class="col-sm-10">
				<input name="sort" type="radio" value="1" />奥莱
				<input name="sort" type="radio" value="2" />SALE
			</div>
			<input type="hidden" id="sort" value="{sort}" for="radio" />
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label" for="title">标题<font color="#f00">*</font></label>
			<div class="col-sm-8">
				<input type="text" value="{title}" class="form-control" id="title" required="required" />
			</div>
		</div>
		<div class="form-group">
            <label class="col-sm-2 control-label">平台</label>
            <div class="col-sm-8">
                <label style="cursor: pointer;"><input type="checkbox" name="plateform" value="1">WEB</label>
                <label style="cursor: pointer;"><input type="checkbox" name="plateform" value="2">APP</label>
                <label style="cursor: pointer;"><input type="checkbox" name="plateform" value="3">WAP</label>
                <label style="cursor: pointer;"><input type="checkbox" name="plateform" value="4">IPAD</label>
            </div>
            <input type="hidden" id="plateform" value="{plateform}" for="checkbox">
    	</div>
    	<div class="form-group">
            <label class="col-sm-2 control-label">促销形式</label>
            <div class="col-sm-10">
				<input id="promotion1" name="promotionName" type="radio" value="promotionName1:折起" />
				
				<input class="smalltxt" type="text" id="promotionName1" />折起
				

				<input id="promotion2" name="promotionName" type="radio" value="promotionName2:~:promotionName3:折" /><input class="smalltxt" type="text" id="promotionName2" />~<input class="smalltxt" type="text" id="promotionName3" />

				<input id="promotion4" name="promotionName" type="radio" value="promotionName4:元起" /><input class="smalltxt" type="text" id="promotionName4" />元起

				<input id="promotion5" name="promotionName" type="radio" value="promotionName5:%Off" /><input class="smalltxt" type="text" id="promotionName5" />%Off(大图折扣)
			</div>
			<input type="hidden" id="promotionName" value="{promotionName}" for="radio"/>
    	</div>
    	<div class="form-group col-sm-100">
    		<label class="col-sm-2 control-label">活动时间</label>
    		<div class="panel-col1 col-sm-4">
            	<input type="text" id="startTime" jsaction="time:end:endTime" class="form-control panel-input hasDatepicker " name="start_time" placeholder="开始时间" value="{startTime}">
            </div>
            <div class="panel-col1 col-sm-4">
                <input type="text" id="endTime" jsaction="time:start:startTime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间" value="{endTime}">
            </div>
    	</div>
    	<div class="form-group">
    		<label class="col-sm-2 control-lalbel" for="orderNum">排序</label>
    		<div class="col-sm-8">
    		<input type="text" id="orderNum" value="{orderNum}" class="form-control" />
    		</div>
    	</div>
    	<div class="form-group">
    		<label class="col-sm-2 control-label">LOGO图片</label>
    		<div class="col-sm-10">
    		<input type="file" id="logoUrl" name="logoUrl" value="{logoUrl}" /><!---->
    		</div>
    	</div>
    	<div class="form-group">
    		<label class="col-sm-2 control-label">封面图</label>
    		<div class="col-sm-10">
    		<input type="file" id="coverUrl" name="coverUrl" value="{coverUrl}" />
    		</div>
    	</div>
    	<div class="form-group">
    		<label class="col-sm-2 control-label">web列表页图</label>
    		<div class="col-sm-10">
    		<input type="file" id="webUrl" name="webUrl" value="{webUrl}" />
    		</div>
    	</div>
    	<div class="form-group">
    		<label class="col-sm-2 control-label" for="">添加商品</label>
    		<div class="col-sm-10">
			<select id="productPoolId" style="width: 280px;" value="{productPoolId}"></select>
		</div>
    	</div>
	</div>
</script>