...
|
...
|
@@ -624,6 +624,101 @@ |
|
|
[[/each]]
|
|
|
</ul>
|
|
|
</script>
|
|
|
<!--日韩馆(1T-1L-6R) -->
|
|
|
<script type="text/template" id="jkFloor-template">
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-6">
|
|
|
<label>标题</label>    
|
|
|
<input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]" required="required" data-field="title.name">
|
|
|
</div>
|
|
|
<div class="col-sm-6">
|
|
|
<label>更多名称</label>  
|
|
|
<input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-6">
|
|
|
<label>跳转目的</label>  
|
|
|
<select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="col-sm-6">
|
|
|
<label>跳转地址</label>  
|
|
|
<input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/>
|
|
|
<br>      <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="jkFloor.big_image"></p>-->
|
|
|
<ul class="draggable" data-array="data.big_image">
|
|
|
[[each contentData.data.big_image as item index]]
|
|
|
<li>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td align="center">[[index+1]]</td>
|
|
|
<td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td>
|
|
|
<td>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="big_image.[[index]].title"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</li>
|
|
|
[[/each]]
|
|
|
</ul>
|
|
|
<p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" data-limit="6" style="margin:10px;" data-event="jkFloor.list"></p>
|
|
|
<ul class="draggable" data-array="data.list">
|
|
|
[[each contentData.data.list as item index]]
|
|
|
<li>
|
|
|
<table class="table table-hover table-bordered responsive dataTable no-footer">
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td align="center">[[index+1]]</td>
|
|
|
<td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td>
|
|
|
<td>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
<td><button class="btn btn-danger btn-sm delBtn" data-event="jkFloor.list" type="button" data-index="[[index]]">删除</button></td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</li>
|
|
|
[[/each]]
|
|
|
</ul>
|
|
|
</script>
|
|
|
<!--推荐(1T-6F) -->
|
|
|
<script type="text/template" id="recommendContentTwo-template">
|
|
|
<div class="form-group">
|
...
|
...
|
|