Authored by tanling

头部频道切换

... ... @@ -1715,6 +1715,56 @@
</div>
</script>
<script type="text/template" id="headChannelSwitch-template">
<input type="button" class="btn btn-info btn-xs addBtn" data-event="headChannelSwitch.list" value="添加Tab" style="margin:10px;">
<br>
<div class="rows">
<div>
<ul class="draggable" data-array="data">
[[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 class="form-control observe" value="[[item.tabName?item.tabName:'']]" placeholder="Tab中文名称"
data-field='list.[[index]].tabName' required/>
</td>
<td align="center">
<input class="form-control observe" value="[[item.tabNameEn?item.tabNameEn:'']]" placeholder="Tab英文名称"
data-field='list.[[index]].tabNameEn'/>
</td>
<td align="center">
<select class="form-control observe input-form" value="[[item.channel?item.channnel:'']]" data-field='list.[[index]].channel'>
<option value="-1">选择频道</option>
<option value="1">男生</option>
<option value="2">女生</option>
<option value="3">潮童</option>
<option value="4">创意生活</option>
</select>
</td>
<td>
<div class="form-group">
<div class="col-sm-10">
<input class="form-control observe" placeholder="code码" data-field="list.[[index]].code"
value="[[item.code?item.code:'']]" required/>
</div>
</div>
</td>
<td>
<a target="_blank" class="btn btn-xs btn-primary goResourceContent" data-index="[[index]]">内容编辑</a>
<button class="btn btn-danger btn-sm delBtn" data-event="headChannelSwitch.list" type="button" data-index="[[index]]">删除</button></td>
</tr>
</tbody>
</table>
</li>
[[/each]]
</ul>
</div>
</div>
</script>
<script type="text/template" id="shopFloor-template">
<input type="button" class="btn btn-info btn-xs addBtn addShopBtn" data-event="shopFloor.list" value="添加店铺信息" style="margin:10px;">
<br>
... ...
... ... @@ -1707,6 +1707,15 @@ var Button = [
"isNewFloor":"1"
},
{
template_intro: "头部频道切换",
button_name: "头部频道切换",
dialog: "headChannelSwitch-template",
template_name: "headChannelSwitch",
data: {
"list":[]
}
},
{
template_intro: "店铺楼层",
button_name: "店铺楼层",
dialog: "shopFloor-template",
... ...
... ... @@ -2496,7 +2496,7 @@ var BT = [];
BT.push({
"channel":"app",
"buttonNames":['splitJointImg','twoPicture','newSingleImage','imageListFloor','divideImage','focus','newUserFloor',
'guessLike','newProductListFloor',
'guessLike','newProductListFloor','headChannelSwitch',
'popularListFloor','newProductListMerge','findGoodsListFloor','recommendContentFive','limitSaleListFloor','editorTalk',
'shopActivityListFloor','shopFloor','tabFloor','textNav','tfGoodsList','recommendGoodsGroup','guangRqFloor','guangShowOrderFloor','timeImage']
});
... ...