Category.html 2.28 KB
<%include '../../common/views/__ui/header'%>
<%include '../../common/views/__partail/ListHeader'%>

<div class="contentpanel">
	<div style="margin-bottom: 20px">
		<a class="btn btn-success" id="add-category"><i class="fa fa-plus"></i> 添加帮助分类</a>
	</div>
	<div class="panel">
		<div class="panel-body nopadding">
			<div class="dataTables_wrapper no-footer" id="help_list"></div>
		</div>
	</div>
</div>

<script type="text/template" id="template">
<div class="rows" id="baseform">
	<div class="form-group">
		<label for="categoryName" class="col-sm-2 control-label">分类名称:</label>
		<div class="col-sm-10">
			<input type="hidden" value="{id}" id="id" />
			<input type="text"  style="width: 280px;" value="{categoryName}" id="categoryName" class="form-control" required="required" />
			<label style="color: #ff0000; margin-top: 5px">注:分类名称必填</label>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">一级分类:</label>
		<div class="col-sm-10">
			<select id="parentId" style="width: 280px;" value="{parentId}" name="{parentId}">
				<option value="{parentId}">请选择</option>
			</select>
		</div>
	</div>
	<div class="form-group">
            <label class="col-sm-2 control-label">品牌风格:</label>
            <div class="col-sm-10">
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="iphone">IOS手机</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="ipad">IOS Pad</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="android">安卓手机</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="androidpad">安卓Pad</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="h5">手机网站</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="web">网站</label>
                <label style="cursor: pointer;"><input type="checkbox" name="platform" value="platform">平台</label>
            </div>
            <input type="hidden" id="platform" value="{platform}" for="checkbox">
    </div>
 </div>
</script>

<%include '../../common/views/__ui/footer'%>