...
|
...
|
@@ -58,7 +58,7 @@ |
|
|
<script type="text/template" id="multiLabelImage-template">
|
|
|
<div class="panel-body" id="multiLabelImage-baseFrom">
|
|
|
<div class="form-group">
|
|
|
[[each contentData.data.label_list as item index]]
|
|
|
[[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_list.[[index]].title" required="required" style="width: 100px">
|
|
|
<label class="control-label">跳转目的</label>
|
...
|
...
|
@@ -66,10 +66,10 @@ |
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
<label>跳转地址</label>
|
|
|
<input type="text" class="observe" value="[[item.url.url]]" data-field="label_list.[[index]].url.url" required="required" style="width: 120px" />
|
|
|
<input type="text" class="observe" value="[[item.url.url]]" data-field="label_list.[[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:;" id="multiLabelImage-addOne" class="btn btn-primary btn-xs">添加标签</a>
|
|
|
<div>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
...
|
...
|
@@ -100,6 +100,7 @@ |
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
<a href="JavaScript:;" id="multiLabelImage-addImage" class="btn btn-primary btn-xs">添加图片</a>
|
|
|
</div>
|
|
|
</script>
|
|
|
<!--搭配(2T-nF)-->
|
...
|
...
|
@@ -232,15 +233,15 @@ |
|
|
[[each contentData.data.big_image as item index]]
|
|
|
<tr>
|
|
|
<td>[[index+1]]</td>
|
|
|
<td><input type="file" name="file" value="[[item.src]]" class="observe" data-field="contentData.data.big_image.[[index]].src"/></td>
|
|
|
<td><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td>
|
|
|
<td>
|
|
|
<div class="col-sm-12">
|
|
|
<select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="contentData.data.big_image.[[index]].url.action">
|
|
|
<select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="big_image.[[index]].url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input value="[[item.url.url]]" class="form-control observe" required="required" data-field="contentData.data.big_image.[[index]].url.url"/>
|
|
|
<input value="[[item.url.url]]" class="form-control observe" required="required" data-field="big_image.[[index]].url.url"/>
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</td>
|
...
|
...
|
@@ -249,16 +250,16 @@ |
|
|
[[/if]]
|
|
|
[[each contentData.data.list as item index]]
|
|
|
<tr>
|
|
|
<td>[[index+3]]</td>
|
|
|
<td><input type="file" name="file" value="[[item.src]]" class="observe" data-field="contentData.data.list.[[index]].src"/></td>
|
|
|
<td>[[index+2]]</td>
|
|
|
<td><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
|
|
|
<td>
|
|
|
<div class="col-sm-12">
|
|
|
<select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="contentData.data.list.[[index]].url.action">
|
|
|
<select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="list.[[index]].url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input value="[[item.url.url]]" class="form-control observe" required="required" data-field="contentData.data.list.[[index]].url.url"/>
|
|
|
<input value="[[item.url.url]]" class="form-control observe" required="required" data-field="list.[[index]].url.url"/>
|
|
|
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
|
|
|
</div>
|
|
|
</td>
|
...
|
...
|
@@ -268,6 +269,63 @@ |
|
|
</table>
|
|
|
</div>
|
|
|
</script>
|
|
|
<!--图片广告-->
|
|
|
<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 type="text" 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">
|
|
|
<option value="default">默认(一张图片)</option>
|
|
|
<option value="T1F2">T1+F2</option>
|
|
|
<option value="L1R2">L1+R2</option>
|
|
|
<option value="imageList" selected="selected">图片列表</option>
|
|
|
</select>
|
|
|
每行显示数量:
|
|
|
<select name="show_num" value="[[contentData.data.show_num]]" data-element="imageGroup" data-field="show_num" class="observe">
|
|
|
<option value="0" selected="selected">一行显示</option>
|
|
|
<option value="1">一行一个</option>
|
|
|
<option value="2">一行两个</option>
|
|
|
<option value="4">一行四个</option>
|
|
|
<option value="6">一行六个</option>
|
|
|
</select> <font color="#999">注:只有图片列表是选择才会有效</font></p>
|
|
|
<div id="imageGroup-bottom">
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>序号</th>
|
|
|
<th>资源位</th>
|
|
|
<th>选项</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
[[each contentData.data.list as item index]]
|
|
|
<tr>
|
|
|
<td>[[index+1]]</td>
|
|
|
<td><input type="file" name="file" value="[[item.src]]" data-field="list.[[index]].src" class="observe"/></td>
|
|
|
<td>
|
|
|
<div class="col-sm-12">
|
|
|
<select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="list.[[index]].url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-12">
|
|
|
<input value="[[item.url.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" />
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
[[/each]]
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</script>
|
|
|
<!--select选项-->
|
|
|
<script type="text/template" id="action_template">
|
|
|
<option value="">选择跳转目标</option>
|
|
|
<option value="go.brand">品牌列表页</option>
|
...
|
...
|
|