...
|
...
|
@@ -12,28 +12,62 @@ |
|
|
<div class="row">
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">名称</label>
|
|
|
<div class="col-sm-11">
|
|
|
<input type="text" id="caption" name="caption" style="width:100%" class="form-control" placeholder="名称" value="<%data.caption%>" maxlength="200"/>
|
|
|
<div class="col-sm-8">
|
|
|
<input type="text" id="caption" name="caption" class="form-control" placeholder="名称" value="<%data.caption%>" maxlength="200"/>
|
|
|
<input type="hidden" id="id" name="id" value="<%data.id%>"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">位置</label>
|
|
|
<div class="col-sm-4">
|
|
|
<select id="postionId" class="form-control" required placeholder="位置">
|
|
|
<option value="[[postionId||'-1']]"><%data.positionName%></option>
|
|
|
</select>
|
|
|
</div>
|
|
|
<label class="col-sm-1 control-label">样式</label>
|
|
|
<div class="col-sm-2">
|
|
|
<select id="templetId" class="form-control" required placeholder="样式">
|
|
|
<option value="[[templetId||'-1']]"><%data.templetName%></option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">分类</label>
|
|
|
<div class="col-sm-4">
|
|
|
<div id="sortTree" style="width: 100%"></div>
|
|
|
</div>
|
|
|
<label class="col-sm-1 control-label">性别</label>
|
|
|
<div class="col-sm-2">
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="gender" value="1">男</label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="gender" value="2">女</label>
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="gender" value="3">通用</label>
|
|
|
<input type="hidden" id="gender" name="gender" value="<%data.gender%>" for="radio" required />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">标题</label>
|
|
|
<div class="col-sm-8">
|
|
|
<input type="text" id="caption" name="caption" class="form-control" placeholder="标题" value="" maxlength="200"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">副标题</label>
|
|
|
<div class="col-sm-8">
|
|
|
<input type="text" id="caption" name="caption" class="form-control" placeholder="副标题" value="" maxlength="200"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">内容</label>
|
|
|
<div class="col-sm-8">
|
|
|
<script id="banner" type="text/plain" style="width:100%;height:900px;"></script>
|
|
|
<script id="banner" type="text/plain" style="width:100%;height:300px;"></script>
|
|
|
<input type="hidden" id="searchBanner" name="banner" value="<%data.data%>">
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="panel-footer">
|
|
|
<div class="row">
|
|
|
<div class="col-sm-8 col-sm-offset-2">
|
|
|
<a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a>
|
|
|
<button id="save_banner" type="submit" data-loading-text="保存中..." class="btn delay-btn btn-success">保存</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
...
|
...
|
@@ -44,17 +78,25 @@ |
|
|
<div class="panel-body">
|
|
|
<div class="row">
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">名称</label>
|
|
|
<div class="col-sm-11">
|
|
|
<input type="text" id="caption" name="caption" style="width:100%" class="form-control" placeholder="名称" value="<%data.caption%>" maxlength="200"/>
|
|
|
<input type="hidden" id="id" name="id" value="<%data.id%>"/>
|
|
|
<label class="col-sm-1 control-label">价格</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" id="caption" name="caption" class="form-control" placeholder="价格" value="<%data.price%>" maxlength="10"/>
|
|
|
</div>
|
|
|
<label class="col-sm-1 control-label">尺码</label>
|
|
|
<div class="col-sm-4">
|
|
|
<select id="sizeId" class="form-control" required placeholder="尺码">
|
|
|
<option value="[[sizeId||'-1']]"><%data.colorName%></option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">内容</label>
|
|
|
<div class="col-sm-8">
|
|
|
<script id="banner" type="text/plain" style="width:100%;height:900px;"></script>
|
|
|
<input type="hidden" id="searchBanner" name="banner" value="<%data.data%>">
|
|
|
<div class="form-group" id="styleDiv">
|
|
|
</div>
|
|
|
<div class="form-group" id="colorDiv">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-1 control-label">品牌</label>
|
|
|
<div class="col-sm-11">
|
|
|
<input type="text" id="caption" name="caption" class="form-control" placeholder="价格" value="<%data.price%>" maxlength="200"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -73,4 +115,28 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<script type="text/template" id="templateStyle">
|
|
|
<label class="col-sm-1 control-label">风格</label>
|
|
|
<div class="col-sm-11">
|
|
|
[[each data as item index ]]
|
|
|
<label class="radio-inline">
|
|
|
<input type="checkbox" name="style" data-index=[[__index]] class="attr_checkobx_class" value="[[item.id]]">[[item.text]]</label>
|
|
|
[[/each]]
|
|
|
<input type="hidden" id="style" value="[[selectStyle||'']]" for="checkbox"/>
|
|
|
</div>
|
|
|
</script>
|
|
|
|
|
|
<script type="text/template" id="templateColor">
|
|
|
<label class="col-sm-1 control-label">颜色</label>
|
|
|
<div class="col-sm-11">
|
|
|
[[each list as item index ]]
|
|
|
<label class="radio-inline">
|
|
|
<input type="radio" name="color" data-index=[[__index]] class="attr_radio_class" value="[[item.id]]">[[item.colorName]]</label>
|
|
|
[[/each]]
|
|
|
<input type="hidden" id="color" value="[[selectColor||'']]" for="radio"/>
|
|
|
</div>
|
|
|
</script>
|
|
|
|
|
|
|
|
|
<%include '../../../common/views/__ui/footer'%> |
|
|
\ No newline at end of file |
...
|
...
|
|