help.html 2.32 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 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">
			<div class="row">
				<a class="btn btn-info" id="add-category">添加帮助分类</a>
			</div>
		</div>
		<div id="help_list"></div>
	</div>
</div>

<script type="text/template" id="template">
<div class="rows" id="baseform">
	<div class="form-group">
		<label for="category_name_value" class="col-sm-2 control-label">分类名称</label>
		<div class="col-sm-10">
			<input type="hidden" value="{id}" id="id" />

			<input type="text"  value="{categoryName}" id="categoryName" class="form-control" required="required" />
			<label>注:分类名称必填</label>
		</div>
	</div>
	<div class="form-group">
		<label for="fir_category_value" 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-8">
                <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>