...
|
...
|
@@ -1037,7 +1037,7 @@ |
|
|
</div>
|
|
|
<div class="col-sm-2">
|
|
|
<label>更多名称</label>  
|
|
|
<input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" style="width:57px;" class="observe form-control input-form" data-field="title.more_name">
|
|
|
<input type="text" placeholder="" value="[[contentData.data.title.more_name]]" style="width:57px;" class="observe form-control input-form" data-field="title.more_name">
|
|
|
</div>
|
|
|
<div class="col-sm-3">
|
|
|
<label style="line-height: 40px; float: left; padding-right: 30px;">添加皮肤</label>  
|
...
|
...
|
@@ -1102,6 +1102,80 @@ |
|
|
</ul>
|
|
|
</div>
|
|
|
</script>
|
|
|
<!-- 人气单品 -->
|
|
|
<script type="text/template" id="popularSingleProduct-template">
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-4">
|
|
|
<label>标题</label>    
|
|
|
<input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe form-control input-form" data-field="title.name" required>
|
|
|
</div>
|
|
|
<div class="col-sm-2">
|
|
|
<label>更多名称</label>  
|
|
|
<input type="text" placeholder="" value="[[contentData.data.title.more_name]]" style="width:57px;" class="observe form-control input-form" data-field="title.more_name">
|
|
|
</div>
|
|
|
<div class="col-sm-3">
|
|
|
<label style="line-height: 40px; float: left; padding-right: 30px;">添加皮肤</label>  
|
|
|
<div style="float: left;">
|
|
|
<input type="file" name="file" value="[[contentData.data.background?contentData.data.background.src:'']]" class="observe" data-field="background.src"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="col-sm-3">
|
|
|
<label>背景色</label> 
|
|
|
<input type="text" placeholder="#FFFFFF" value="[[contentData.data.background?contentData.data.background.color:'']]" style="width:100px;" class="observe form-control input-form" data-field="background.color">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-12">
|
|
|
<label>更多链接</label>  
|
|
|
<select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
<input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe form-control input-form" data-field="title.more_url.url"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<label>活动ID</label>   
|
|
|
<input type="text" placeholder="活动id" class="observe form-control input-form" value="[[contentData.data.title.active_id]]" data-field="title.active_id">
|
|
|
</div>
|
|
|
</div>
|
|
|
<p><input type="button" class="btn btn-info btn-xs addBtn" value="添加banner" style="margin:10px;" data-event="popularSingleProduct.banner_image"></p>
|
|
|
<div id="popularSingleProduct-bottom">
|
|
|
<ul class="draggable" data-array="data.banner_image">
|
|
|
[[each contentData.data.banner_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="banner_image.[[index]].src"/></td>
|
|
|
<td>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="banner_image.[[index]].url.action">
|
|
|
[[layout action_template]]
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" required="required" data-field="banner_image.[[index]].url.url"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<div class="col-sm-10">
|
|
|
<input type="text" placeholder="图片描述" value="[[item.title]]" class="form-control observe" data-field="banner_image.[[index]].title"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</li>
|
|
|
[[/each]]
|
|
|
</ul>
|
|
|
</div>
|
|
|
</script>
|
|
|
<!--有序焦点-->
|
|
|
<script type="text/template" id="debrisSlider-template">
|
|
|
<div class="panel-body" id="debrisSlider-baseFrom">
|
...
|
...
|
|