|
|
<!--领券楼层-->
|
|
|
<!--<script type="text/template" id="getCoupon-template">-->
|
|
|
<!--<p>-->
|
|
|
<!--标题:<input type="text" class="observe" data-field="title.title" value="[[contentData.data.title]]" style="width:100px;">-->
|
|
|
<!--是否显示: <input type="radio" name="isShow" class="isShow" value="YES"> 是 <input type="radio" name="isShow" class="isShow" value="NO"> 否 -->
|
|
|
<!--<input type="hidden" id="isShow" for="radio" value="[[contentData.data.isShow]]" />-->
|
|
|
<!--</p>-->
|
|
|
<!--</script>-->
|
|
|
<!-- 标题图片 -->
|
|
|
<script type="text/template" id="titleImage-template">
|
|
|
<div class="panel-body" id="titleImage-baseFrom">
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">标题:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" class="form-control observe" data-field="title" value="[[contentData.data.title]]" required="required">
|
|
|
<input type="text" class="form-control observe" placeholder="标题" data-field="title" value="[[contentData.data.title]]" required="required">
|
|
|
</div>
|
|
|
<label class="col-sm-2 control-label">更多名称</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" data-field="more_name" value="[[contentData.data.more_name]]" class="form-control observe">
|
|
|
<input type="text" data-field="more_name" placeholder="更多名称" value="[[contentData.data.more_name]]" class="form-control observe">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
...
|
...
|
@@ -28,7 +20,7 @@ |
|
|
</div>
|
|
|
<label class="col-sm-2 control-label">跳转地址</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input value="[[contentData.data.more_url.url]]" data-field="more_url.url" class="form-control observe" required="required" />
|
|
|
<input value="[[contentData.data.more_url.url]]" placeholder="url" data-field="more_url.url" class="form-control observe" required="required" />
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -44,7 +36,7 @@ |
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td>1</td>
|
|
|
<td><input type="file" name="file" value="[[contentData.data.image.src]]" data-field="image.src" class="observe" required="required"/></td>
|
|
|
<td><input type="file" name="file" placeholder="图片" value="[[contentData.data.image.src]]" data-field="image.src" class="observe" required="required"/></td>
|
|
|
<td>
|
|
|
<div class="col-sm-12">
|
|
|
<select name="goTo" class="form-control observe" data-field="image.url.action" value="[[contentData.data.image.url.action]]" >
|
...
|
...
|
@@ -52,7 +44,7 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input type="text" value="[[contentData.data.image.url.url]]" class="form-control observe" data-field="image.url.url" required="required" />
|
|
|
<input type="text" value="[[contentData.data.image.url.url]]" placeholder="url" class="form-control observe" data-field="image.url.url" required="required" />
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</td>
|
...
|
...
|
@@ -68,16 +60,16 @@ |
|
|
<div class="form-group">
|
|
|
[[each contentData.data.label as item index]]
|
|
|
<label class="control-label">标签[[index+1]]:</label>
|
|
|
<input type="text" class="observe" value="[[item.title]]" data-field="label.[[index]].title" required="required" style="width: 100px">
|
|
|
<input type="text" class="observe" placeholder="名称" value="[[item.title]]" data-field="label.[[index]].title" required="required" style="width: 100px">
|
|
|
<label class="control-label">跳转目的</label>
|
|
|
<select name="goTo" class="observe" value="[[item.url.action]]" data-field="label.[[index]].url.action" style="width: 120px" >
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
<label>跳转地址</label>
|
|
|
<input type="text" class="observe" value="[[item.url.url]]" data-field="label.[[index]].url.url" required="required" style="width: 120px" /><br>
|
|
|
<input type="text" class="observe" placeholder="跳转地址" value="[[item.url.url]]" data-field="label.[[index]].url.url" required="required" style="width: 120px" /><br>
|
|
|
[[/each]]
|
|
|
</div>
|
|
|
<a href="JavaScript:;" id="multiLabelImage-addOne" class="btn btn-primary btn-xs">添加标签</a>
|
|
|
<a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="multiLabelImage.label">添加标签</a>
|
|
|
<div>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
...
|
...
|
@@ -99,7 +91,7 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input type="text" value="[[item.url.url]]" class="form-control observe" data-field="image.[[index]].url.url" required="required" />
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="image.[[index]].url.url" required="required" />
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</td>
|
...
|
...
|
@@ -108,7 +100,7 @@ |
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
<a href="JavaScript:;" id="multiLabelImage-addImage" class="btn btn-primary btn-xs">添加图片</a>
|
|
|
<a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="multiLabelImage.image">添加图片</a>
|
|
|
</div>
|
|
|
</script>
|
|
|
<!--搭配(2T-nF)-->
|
...
|
...
|
@@ -117,11 +109,11 @@ |
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">标题:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" class="form-control observe" data-field="title.name" value="[[contentData.data.title.name]]" required="required" >
|
|
|
<input type="text" placeholder="标题" class="form-control observe" data-field="title.name" value="[[contentData.data.title.name]]" required="required" >
|
|
|
</div>
|
|
|
<label class="col-sm-2 control-label">更多名称</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" value="[[contentData.data.title.more_name]]" data-field="title.more_name" class="form-control observe" >
|
|
|
<input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name" class="form-control observe" >
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
...
|
...
|
@@ -133,7 +125,7 @@ |
|
|
</div>
|
|
|
<label class="col-sm-2 control-label">跳转地址</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input value="[[contentData.data.title.more_url.url]]" class="form-control observe" required="required" data-field="title.more_url.url" />
|
|
|
<input value="[[contentData.data.title.more_url.url]]" placeholder="url" class="form-control observe" required="required" data-field="title.more_url.url" />
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -158,7 +150,7 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input type="text" value="[[item.url.url]]" class="form-control observe" data-field="top_image.[[index]].url.url" required="required" />
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="top_image.[[index]].url.url" required="required" />
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</td>
|
...
|
...
|
@@ -175,7 +167,7 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input type="text" value="[[item.url.url]]" class="form-control observe" data-field="list.[[index]].url.url" required="required" />
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="list.[[index]].url.url" required="required" />
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</td>
|
...
|
...
|
@@ -184,7 +176,7 @@ |
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
<a href="JavaScript:;" id="matchImage-addOne" class="btn btn-primary btn-xs">添加一个</a>
|
|
|
<a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="matchImage.list">添加一个</a>
|
|
|
</div>
|
|
|
</script>
|
|
|
<!--推荐-->
|
...
|
...
|
@@ -195,11 +187,11 @@ |
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">标题:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" class="form-control observe" value="[[contentData.data.title.name]]" required="required" data-field="title.name">
|
|
|
<input type="text" placeholder="标题" class="form-control observe" value="[[contentData.data.title.name]]" required="required" data-field="title.name">
|
|
|
</div>
|
|
|
<label class="col-sm-2 control-label">更多名称</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" value="[[contentData.data.title.more_name]]" class="form-control observe" data-field="title.more_name">
|
|
|
<input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe" data-field="title.more_name">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
...
|
...
|
@@ -211,7 +203,7 @@ |
|
|
</div>
|
|
|
<label class="col-sm-2 control-label">跳转地址</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" value="[[contentData.data.title.more_url.url]]" class="form-control observe" required="required" data-field="title.more_url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe" required="required" data-field="title.more_url.url"/>
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -220,11 +212,10 @@ |
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">标题:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" class="form-control observe" value="[[contentData.data.title.title]]" required="required" data-field="title.title">
|
|
|
<input type="text" placeholder="标题" class="form-control observe" value="[[contentData.data.title.title]]" required="required" data-field="title.title">
|
|
|
</div>
|
|
|
<label class="col-sm-4 control-label">是否显示
|
|
|
<input type="checkbox" name="is_show" value="1" id="recommendContentFive-is_show">
|
|
|
<input type="hidden" id="is_show" for="checkbox" value="[[contentData.data.title.is_show]]" />
|
|
|
<input type="checkbox" name="is_show" value="1" id="recommendContentFive-is_show" [[contentData.data.title.is_show==1?'checked':'']]>
|
|
|
</label>
|
|
|
</div>
|
|
|
[[/if]]
|
...
|
...
|
@@ -250,7 +241,7 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input value="[[item.url.url]]" class="form-control observe" required="required" data-field="big_image.[[index]].url.url"/>
|
|
|
<input value="[[item.url.url]]" placeholder="url" class="form-control observe" required="required" data-field="big_image.[[index]].url.url"/>
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</td>
|
...
|
...
|
@@ -272,7 +263,7 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input value="[[item.url.url]]" class="form-control observe" required="required" data-field="list.[[index]].url.url"/>
|
|
|
<input value="[[item.url.url]]" placeholder="url" class="form-control observe" required="required" data-field="list.[[index]].url.url"/>
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</td>
|
...
|
...
|
@@ -287,7 +278,7 @@ |
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">左边图片标题:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" class="observe form-control" data-field="left.title" value="[[contentData.data.left.title]]" required="required">
|
|
|
<input type="text" placeholder="左边图片标题" class="observe form-control" data-field="left.title" value="[[contentData.data.left.title]]" required="required">
|
|
|
</div>
|
|
|
</div>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
...
|
...
|
@@ -324,7 +315,7 @@ |
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">右边图片标题:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" class="observe form-control" data-field="right.title" value="[[contentData.data.right.title]]" required="required">
|
|
|
<input type="text" class="observe form-control" placeholder="右边图片标题" data-field="right.title" value="[[contentData.data.right.title]]" required="required">
|
|
|
</div>
|
|
|
</div>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
...
|
...
|
@@ -362,9 +353,9 @@ |
|
|
<!--图片广告-->
|
|
|
<script type="text/template" id="imageGroup-template">
|
|
|
<div class="panel-body" id="imageGroup-baseFrom">
|
|
|
<p>标题设置:<input name="title" type="text" class="observe" value="[[contentData.data.title]]" data-field="title" required>更多设置:<input type="text" class="observe" style="width:120px;" value="[[contentData.data.more]]" data-field="more"></p>
|
|
|
<p>标题设置:<input name="title" type="text" class="observe" placeholder="标题" value="[[contentData.data.title]]" data-field="title" required>更多设置:<input type="text" placeholder="更多" class="observe" style="width:120px;" value="[[contentData.data.more]]" data-field="more"></p>
|
|
|
<p>
|
|
|
更多链接 : <input type="text" value="[[contentData.data.more_url]]" class="observe" required="required" data-field="more_url" />
|
|
|
更多链接 : <input type="text" placeholder="更多链接" value="[[contentData.data.more_url]]" class="observe" required="required" data-field="more_url" />
|
|
|
</p>
|
|
|
<p>样式设置:
|
|
|
<select name="image_style" value="[[contentData.data.image_style]]" data-field="image_style" class="observe">
|
...
|
...
|
@@ -402,7 +393,7 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input value="[[item.url.url]]" class="form-control observe" required="required" data-field="list.[[index]].url.url"/>
|
|
|
<input value="[[item.url.url]]" placeholder="url" class="form-control observe" required="required" data-field="list.[[index]].url.url"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[item.url.title]]" data-field="list.[[index]].url.title" class="form-control observe" required="required" />
|
...
|
...
|
@@ -413,7 +404,7 @@ |
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
<a href="JavaScript:;" id="imageGroup-addOne" class="btn btn-primary btn-xs">添加图片</a>
|
|
|
<a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="imageGroup.list">添加图片</a>
|
|
|
</div>
|
|
|
</script>
|
|
|
<!--自定义参数-->
|
...
|
...
|
@@ -422,17 +413,17 @@ |
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">标题设置:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" class="form-control observe" value="[[contentData.data.title]]" required="required" data-field="title">
|
|
|
<input type="text" placeholder="标题" class="form-control observe" value="[[contentData.data.title]]" required="required" data-field="title">
|
|
|
</div>
|
|
|
<label class="col-sm-2 control-label">更多设置:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" value="[[contentData.data.more]]" class="form-control observe" data-field="more">
|
|
|
<input type="text" placeholder="更多" value="[[contentData.data.more]]" class="form-control observe" data-field="more">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">跳转地址</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input value="[[contentData.data.more_url.url]]" class="form-control observe" required="required" data-field="more_url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[contentData.data.more_url.url]]" class="form-control observe" required="required" data-field="more_url.url"/>
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -443,9 +434,9 @@ |
|
|
<table style="width:100%;z-index:-1;">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td width="100px">标题:<input type="text" required style="width: 60px;" class="observe" value="[[item.title]]" data-field="list.[[index]].title"></td>
|
|
|
<td>参数:<input type="text" style="width:300px;" class="observe" value="[[item.params]]" data-field="list.[[index]].params"></td>
|
|
|
<td><button class="btn btn-danger btn-sm paramsGroupDel" type="button" data-index="[[index]]">删除</button></td>
|
|
|
<td width="100px">标题:<input type="text" placeholder="标题" required style="width: 60px;" class="observe" value="[[item.title]]" data-field="list.[[index]].title"></td>
|
|
|
<td>参数:<input type="text" placeholder="参数" style="width:300px;" class="observe" value="[[item.params]]" data-field="list.[[index]].params"></td>
|
|
|
<td><button class="btn btn-danger btn-sm delBtn" data-event="paramsGroup.list" type="button" data-index="[[index]]">删除</button></td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
...
|
...
|
@@ -453,7 +444,7 @@ |
|
|
</li>
|
|
|
[[/each]]
|
|
|
</ul>
|
|
|
<button type="button" class="btn btn-sm" id="paramsGroup-addOne">添加一个</button>
|
|
|
<button type="button" class="btn btn-sm addBtn" data-event="paramsGroup.list">添加一个</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</script>
|
...
|
...
|
@@ -461,15 +452,15 @@ |
|
|
<script type="text/template" id="newUserFloor-template">
|
|
|
<div class="panel-body" id="newUserFloor-baseFrom">
|
|
|
<div class="new_user_floor">
|
|
|
<p>标题 : <input type="text" value="[[contentData.data.title.name]]" class="observe" data-field="title.name"> 更多名称 : <input type="text" value="[[contentData.data.title.more_name]]" style="width:50px;" class="observe" data-field="title.more_name"> </p>
|
|
|
<p>标题 : <input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe" data-field="title.name"> 更多名称 : <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" style="width:50px;" class="observe" data-field="title.more_name"> </p>
|
|
|
<p>
|
|
|
更多链接 : <select name="goTo" class="observe" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
<input value="[[contentData.data.title.more_url.url]]" class="observe" required="required" data-field="title.more_url.url"/>
|
|
|
<input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe" required="required" data-field="title.more_url.url"/>
|
|
|
</p>
|
|
|
<p>活动 ID : <input type="text" class="observe" value="[[contentData.data.title.active_id]]" data-field="title.active_id"></p>
|
|
|
<p><input type="button" class="btn btn-info btn-xs" value="添加banner" style="margin:10px;" id="newUserFloor-addBanner"></p>
|
|
|
<p>活动 ID : <input type="text" placeholder="活动id" class="observe" value="[[contentData.data.title.active_id]]" data-field="title.active_id"></p>
|
|
|
<p><input type="button" class="btn btn-info btn-xs addBtn" value="添加banner" style="margin:10px;" data-event="newUserFloor.banner_image"></p>
|
|
|
</div>
|
|
|
<div id="newUserFloor-bottom">
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
...
|
...
|
@@ -492,10 +483,10 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input value="[[item.url.url]]" class="form-control observe" required="required" data-field="banner_image.[[index]].url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" required="required" data-field="banner_image.[[index]].url.url"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[item.title]]" class="form-control observe" required="required" data-field="banner_image.[[index]].title"/>
|
|
|
<input type="text" placeholder="图片描述" value="[[item.title]]" class="form-control observe" required="required" data-field="banner_image.[[index]].title"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
...
|
...
|
@@ -509,7 +500,7 @@ |
|
|
<script type="text/template" id="debrisSlider-template">
|
|
|
<div class="panel-body" id="debrisSlider-baseFrom">
|
|
|
<div class="debris_slider">
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs" value="添加左图" style="margin:10px;" id="debrisSlider-addLeft"></p>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加左图" style="margin:10px;" data-event="debrisSlider.left"></p>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
|
|
<tr>
|
...
|
...
|
@@ -540,7 +531,7 @@ |
|
|
[[/each]]
|
|
|
</tbody>
|
|
|
</table>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs" value="添加中间图" style="margin:10px;" id="debrisSlider-addCenter"></p>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加中间图" style="margin:10px;" data-event="debrisSlider.big_image"></p>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
|
|
<tr>
|
...
|
...
|
@@ -571,7 +562,7 @@ |
|
|
[[/each]]
|
|
|
</tbody>
|
|
|
</table>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs" value="添加右图" style="margin:10px;" id="debrisSlider-addRight"></p>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加右图" style="margin:10px;" data-event="debrisSlider.right"></p>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
|
|
<tr>
|
...
|
...
|
@@ -592,10 +583,10 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="right.[[index]].url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="right.[[index]].url.url"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[item.title]]" class="observe form-control" required="required" data-field="right.[[index]].title"/>
|
|
|
<input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" required="required" data-field="right.[[index]].title"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
...
|
...
|
@@ -610,14 +601,14 @@ |
|
|
<div class="form-group">
|
|
|
<label class="col-sm-2 control-label">标题:</label>
|
|
|
<div class="col-sm-4">
|
|
|
<input type="text" class="form-control observe" value="[[contentData.data.title.title]]" required="required" data-field="title.title">
|
|
|
<input type="text" placeholder="标题" class="form-control observe" value="[[contentData.data.title.title]]" required="required" data-field="title.title">
|
|
|
</div>
|
|
|
<label class="col-sm-4 control-label">是否显示
|
|
|
<input type="checkbox" name="editorTalkIs_show" value="1" id="editorTalk-is_show">
|
|
|
<input type="checkbox" name="editorTalkIs_show" value="1" id="editorTalk-is_show" [[contentData.data.title.is_show==1?'checked':'']]>
|
|
|
<input type="hidden" id="editorTalkIs_show" for="checkbox" value="[[contentData.data.title.is_show]]" />
|
|
|
</label>
|
|
|
</div>
|
|
|
<p><input type="button" class="btn btn-info btn-xs" value="添加标签" style="margin:10px;" id="editorTalk-addOne"></p>
|
|
|
<p><input type="button" class="btn btn-info btn-xs addBtn" value="添加标签" style="margin:10px;" data-event="editorTalk.list"></p>
|
|
|
[[if contentData.data.list.length]]
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
...
|
...
|
@@ -635,7 +626,7 @@ |
|
|
<td><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
|
|
|
<td>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="标签名称" value="[[item.title]]" class="observe form-control" required="required" data-field="list.[[index]].title"/>
|
|
|
<input type="text" placeholder="标签名称" value="[[item.title]]" class="observe form-control" required="required" data-field="list.[[index]].title"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
|
...
|
...
|
@@ -643,10 +634,10 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td><button class="btn btn-danger btn-sm editorTalk-del" type="button" data-index="[[index]]">删除</button></td>
|
|
|
<td><button class="btn btn-danger btn-sm delBtn" data-event="editorTalk.list" type="button" data-index="[[index]]">删除</button></td>
|
|
|
</tr>
|
|
|
[[/each]]
|
|
|
</tbody>
|
...
|
...
|
@@ -657,13 +648,13 @@ |
|
|
<script type="text/template" id="hotCategory-template">
|
|
|
<div class="hotCategory">
|
|
|
<p>
|
|
|
标题 : <input type="text" class="observe" data-field="title.name" value="[[contentData.data.title.name]]" required> 更多名称 : <input type="text" class="observe" data-field="title.more_name" value="[[contentData.data.title.more_name]]" style="width:50px;"><br>
|
|
|
标题 : <input type="text" placeholder="标题" class="observe" data-field="title.name" value="[[contentData.data.title.name]]" required> 更多名称 : <input type="text" placeholder="更多名称" class="observe" data-field="title.more_name" value="[[contentData.data.title.more_name]]" style="width:50px;"><br>
|
|
|
跳转目的 : <select name="goTo" class="observe" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
跳转url : <input value="[[contentData.data.title.more_url.url]]" class="observe" required="required" data-field="title.more_url.url"/>
|
|
|
跳转url : <input type="text" value="[[contentData.data.title.more_url.url]]" class="observe" required="required" data-field="title.more_url.url"/>
|
|
|
</p>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs" value="添加左上图片" style="margin:10px;" id="hotCategory-addLeft"></p>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加左上图片" style="margin:10px;" data-event="hotCategory.blocks"></p>
|
|
|
[[if contentData.data.blocks.length]]
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
...
|
...
|
@@ -686,13 +677,13 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="blocks.[[index]].url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="blocks.[[index]].url.url"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[item.title]]" class="observe form-control" required="required" data-field="blocks.[[index]].title"/>
|
|
|
<input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" required="required" data-field="blocks.[[index]].title"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td><button class="btn btn-danger btn-sm hotCategory-delLeft" type="button" data-index="[[index]]">删除</button></td>
|
|
|
<td><button class="btn btn-danger btn-sm delBtn" data-event="hotCategory.blocks" type="button" data-index="[[index]]">删除</button></td>
|
|
|
</tr>
|
|
|
[[/each]]
|
|
|
</tbody>
|
...
|
...
|
@@ -701,15 +692,15 @@ |
|
|
<p>添加左下导航:</p>
|
|
|
[[each contentData.data.list as item index]]
|
|
|
<p>
|
|
|
导航名称:<input type="text" class="observe" value="[[item.name]]" data-field="list.[[index]].name">
|
|
|
导航名称:<input type="text" placeholder="导航名称" class="observe" value="[[item.name]]" data-field="list.[[index]].name">
|
|
|
<select name="goTo" class="observe" value="[[item.url.action]]" data-field="list.[[index]].url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
<input value="[[item.url.url]]" class="observe" required="required" data-field="list.[[index]].url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="observe" required="required" data-field="list.[[index]].url.url"/>
|
|
|
</p>
|
|
|
[[/each]]
|
|
|
<p>
|
|
|
<input type="button" name="select-pic" class="btn btn-info btn-xs" value="添加右侧图片" style="margin:10px;" id="hotCategory-addRight">
|
|
|
<input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加右侧图片" style="margin:10px;" data-event="hotCategory.imgs">
|
|
|
</p>
|
|
|
[[if contentData.data.imgs.length]]
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
...
|
...
|
@@ -733,13 +724,13 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="imgs.[[index]].url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="imgs.[[index]].url.url"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[item.title]]" class="observe form-control" required="required" data-field="imgs.[[index]].title"/>
|
|
|
<input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" required="required" data-field="imgs.[[index]].title"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td><button class="btn btn-danger btn-sm hotCategory-delRight" type="button" data-index="[[index]]">删除</button></td>
|
|
|
<td><button class="btn btn-danger btn-sm delBtn" data-event="hotCategory.imgs" type="button" data-index="[[index]]">删除</button></td>
|
|
|
</tr>
|
|
|
[[/each]]
|
|
|
</tbody>
|
...
|
...
|
@@ -750,12 +741,13 @@ |
|
|
<!--图片列表-->
|
|
|
<script type="text/template" id="imageList-template">
|
|
|
<p>
|
|
|
标题:<input type="text" class="observe" data-field="title.title" value="[[contentData.data.title.title]]" style="width:100px;">
|
|
|
显示名称: <input type="radio" name="is_show_name" class="is_show_name" value="Y"> 是 <input type="radio" name="is_show_name" class="is_show_name" value="N"> 否
|
|
|
标题:<input type="text" placeholder="标题" class="observe" data-field="title.title" value="[[contentData.data.title.title]]" style="width:100px;">
|
|
|
显示名称: <input type="radio" name="is_show_name" class="is_show_name" value="Y" [[contentData.data.title.is_show_name=="Y"?"checked":""]]> 是
|
|
|
<input type="radio" name="is_show_name" class="is_show_name" value="N" [[contentData.data.title.is_show_name=="N"?"checked":""]]> 否
|
|
|
<input type="hidden" id="is_show_name" for="radio" value="[[contentData.data.title.is_show_name]]" />
|
|
|
每行显示:<input style="width:60px;" type="number" data-field="title.column_num" class="observe" value="[[contentData.data.title.column_num]]"> 张图片
|
|
|
</p>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs" value="添加图片" style="margin:10px;" id="imageList-addOne"></p>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加图片" style="margin:10px;" data-event="imageList.list"></p>
|
|
|
[[if contentData.data.list.length]]
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
...
|
...
|
@@ -778,13 +770,13 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/>
|
|
|
<input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td><button class="btn btn-danger btn-sm imageList-del" type="button" data-index="[[index]]">删除</button></td>
|
|
|
<td><button class="btn btn-danger btn-sm delBtn" data-event="imageList.list" type="button" data-index="[[index]]">删除</button></td>
|
|
|
</tr>
|
|
|
[[/each]]
|
|
|
</tbody>
|
...
|
...
|
@@ -794,23 +786,23 @@ |
|
|
<!--文本导航-->
|
|
|
<script type="text/template" id="textNav-template">
|
|
|
<div class="textNav-baseForm">
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs" value="添加一个" style="margin:10px;" id="textNav-addOne"></p>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加一个" style="margin:10px;" data-event="textNav.data"></p>
|
|
|
[[each contentData.data as item index]]
|
|
|
<p>
|
|
|
导航名称:<input type="text" value="[[item.name]]" class="observe" data-field="[[index]].name" required>
|
|
|
导航名称:<input type="text" placeholder="导航名称" value="[[item.name]]" class="observe" data-field="[[index]].name" required="required">
|
|
|
<select name="goTo" class="observe" value="[[item.url.action]]" data-field="[[index]].url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
<input value="[[item.url.url]]" data-field="[[index]].url.url" class="observe" required="required"/>
|
|
|
<a type="button" class="btn btn-danger btn-xs textNav-delOne" data-index="[[index]]">删除</a>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" data-field="[[index]].url.url" class="observe" required="required"/>
|
|
|
<a type="button" class="btn btn-danger btn-xs delBtn" data-event="textNav.data" data-index="[[index]]">删除</a>
|
|
|
</p>
|
|
|
[[/each]]
|
|
|
</div>
|
|
|
</script>
|
|
|
<!--轮播banner-->
|
|
|
<script type="text/template" id="carouselBanner-template">
|
|
|
<input type="button" name="select-pic" value="添加图片" class="btn btn-info btn-xs" style="margin:10px;" id="carouselBanner-addOne">
|
|
|
轮播速度:<input type="text" class="observe" data-field="speed" value="[[contentData.data.speed]]">秒<br>
|
|
|
<input type="button" name="select-pic" value="添加图片" class="btn btn-info btn-xs addBtn" style="margin:10px;" data-event="carouselBanner.list">
|
|
|
轮播速度:<input type="text" placeholder="轮播速度" class="observe" data-field="speed" value="[[contentData.data.speed]]">秒<br>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
|
|
<tr>
|
...
|
...
|
@@ -824,7 +816,7 @@ |
|
|
<tr>
|
|
|
<td>[[index+1]]</td>
|
|
|
<td><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
|
|
|
<td><button class="btn btn-danger btn-sm carouselBanner-del" type="button" data-index="[[index]]">删除</button></td>
|
|
|
<td><button class="btn btn-danger btn-sm delBtn" type="button" data-event="carouselBanner.list" data-index="[[index]]">删除</button></td>
|
|
|
</tr>
|
|
|
[[/each]]
|
|
|
</tbody>
|
...
|
...
|
@@ -832,11 +824,11 @@ |
|
|
</script>
|
|
|
<!--添加促销-->
|
|
|
<script type="text/template" id="promotion-template">
|
|
|
<p> 添加促销id:<input type="text" class="observe" value="[[contentData.data.promotionId]]" data-field="promotionId"></p>
|
|
|
<p> 添加促销id:<input type="text" placeholder="促销id" class="observe" value="[[contentData.data.promotionId]]" data-field="promotionId"></p>
|
|
|
</script>
|
|
|
<!--标题广告-->
|
|
|
<script type="text/template" id="singleNameImage-template">
|
|
|
<p style="margin:10px;">添加标题: <input type="text" class="observe" value="[[contentData.data.title]]" data-field="title"></p>
|
|
|
<p style="margin:10px;">添加标题: <input type="text" placeholder="标题" class="observe" value="[[contentData.data.title]]" data-field="title"></p>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
|
|
<tr>
|
...
|
...
|
@@ -856,10 +848,10 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="url" value="[[contentData.data.url.url]]" class="observe form-control" required="required" data-field="url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[contentData.data.url.url]]" class="observe form-control" required="required" data-field="url.url"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[contentData.data.alt]]" class="observe form-control" data-field="alt"/>
|
|
|
<input type="text" placeholder="图片描述" value="[[contentData.data.alt]]" class="observe form-control" data-field="alt"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
...
|
...
|
@@ -868,7 +860,7 @@ |
|
|
</script>
|
|
|
<!--焦点图-->
|
|
|
<script type="text/template" id="focus-template">
|
|
|
<input type="button" class="btn btn-info btn-xs" id="focus-addOne" value="添加图片" style="margin:10px;"><br>
|
|
|
<input type="button" class="btn btn-info btn-xs addBtn" data-event="focus.data" value="添加图片" style="margin:10px;"><br>
|
|
|
焦点图类型:
|
|
|
<select id="focus-select" value="[[contentData.focus_type]]">
|
|
|
<option value="1">通栏</option>
|
...
|
...
|
@@ -896,16 +888,16 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="[[index]].url.url"/>
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="[[index]].url.url"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[item.alt]]" class="observe form-control" data-field="[[index]].alt"/>
|
|
|
<input type="text" placeholder="图片描述" value="[[item.alt]]" class="observe form-control" data-field="[[index]].alt"/>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="通栏背景色" value="[[item.bgColor]]" class="observe form-control" data-field="[[index]].bgColor"/>
|
|
|
<input type="text" placeholder="通栏背景色" value="[[item.bgColor]]" class="observe form-control" data-field="[[index]].bgColor"/>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td><button class="btn btn-danger btn-sm focus-del" type="button" data-index="[[index]]">删除</button></td>
|
|
|
<td><button class="btn btn-danger btn-sm delBtn" data-event="focus.data" type="button" data-index="[[index]]">删除</button></td>
|
|
|
</tr>
|
|
|
[[/each]]
|
|
|
</tbody>
|
...
|
...
|
@@ -966,10 +958,10 @@ |
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input value="[[url.url]]" class="recommendContent-observe" required="required" data-rows="[[__index]]" data-index="[[index]]" data-observe="list-url" />
|
|
|
<input type="text" placeholder="url" value="[[url.url]]" class="recommendContent-observe" required="required" data-rows="[[__index]]" data-index="[[index]]" data-observe="list-url" />
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input placeholder="图片描述" value="[[url.title]]" class="recommendContent-observe" required="required" data-rows="[[__index]]" data-index="[[index]]" data-observe="list-url" />
|
|
|
<input type="text" placeholder="图片描述" value="[[url.title]]" class="recommendContent-observe" required="required" data-rows="[[__index]]" data-index="[[index]]" data-observe="list-url" />
|
|
|
</div>
|
|
|
</td>
|
|
|
<td><input type="button" value="更换图片" class="btn btn-info btn-xs change-big-pic" data-id=""> <input class="btn btn-danger btn-xs del-pic" type="button" value="删除" data-id=""></td>
|
...
|
...
|
|