Authored by 陶雨

Merge branch 'develop' of http://git.dev.yoho.cn/platform/yohobuy-portal-fe into develop

Conflicts:
	server/views/pages/guang/contentEdit.html
... ... @@ -582,7 +582,7 @@ var Button=[
},
{
template_intro:"多标签图片",
dialog:"titleImage-template",
dialog:"multiLabelImage-template",
template_name:"multiLabelImage",
data: {
"label_list":[
... ... @@ -594,18 +594,20 @@ var Button=[
}
}
],
"image":{
"image":[
{
"src": "",
"url": {
"action": "",
"url": ""
}
}
]
}
},
{
template_intro:"搭配(2T-nF)",
dialog:"titleImage-template",
dialog:"matchImage-template",
template_name:"matchImage",
data: {
"title": {
... ...
... ... @@ -96,15 +96,10 @@ $(document).on("click", ".del", function () {//删除
common.util.__ajax({
url: "/resource/content/delResContent",
data: {id: Bll.contentDatas[index].id}
}, function (res) {
//resources = res.data;
Bll.contentDatas.splice(index, 1);
Bll.__render("#add-content","template_content",{modules:Bll.contentDatas});
}, true);
} else {
});
}
Bll.contentDatas.splice(index, 1);
Bll.__render("#add-content","template_content",{modules:Bll.contentDatas});
}
});
//$("#index_" + index).remove();
... ... @@ -129,3 +124,15 @@ $(document).on("change", ".observe", function() {
console.log(module);
});
});
$(document).on("click", '#matchImage-addOne', function() {
var length = Bll.module.contentData.data.list.length;//获得长度
Bll.module.contentData.data.list.push({
"src": "",
"url": {
"action": "",
"url": ""
}
});
Bll.__render("#add-content","template_content",{modules:Bll.contentDatas});
});
\ No newline at end of file
... ...
<script type="text/template" id="focus-template">
<!-- 标题图片 -->
<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">
</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">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">跳转目的</label>
<div class="col-sm-4">
<select name="goTo" class="form-control observe" data-field="more_url.action" value="[[contentData.data.more_url.action]]" >
[[layout action_template]]
</select>
</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" />
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</div>
<div>
<table class="table table-hover table-bordered responsive dataTable no-footer">
<thead>
<tr>
<th>序号</th>
<th>资源位</th>
<th>选项</th>
</tr>
</thead>
<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>
<div class="col-sm-12">
<select name="goTo" class="form-control observe" data-field="image.url.action" value="[[contentData.data.image.url.action]]" >
[[layout action_template]]
</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" />
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</script>
<!--多标签图片-->
<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]]
<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>
<select name="goTo" class="observe" value="[[item.url.action]]" data-field="label_list.[[index]].url.action" style="width: 120px" >
[[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" />
[[/each]]
</div>
<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>
<tr>
<th>序号</th>
<th>资源位</th>
<th>选项</th>
</tr>
</thead>
<tbody>
[[each contentData.data.image as item index]]
<tr>
<td>[[index+1]]</td>
<td><input type="file" name="file" value="[[item.src]]" data-field="image.[[index]].src" class="observe" required="required"/></td>
<td>
<div class="col-sm-12">
<select name="goTo" class="form-control observe" data-field="image.[[index]].url.action" value="[[item.url.action]]" >
[[layout action_template]]
</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" />
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</td>
</tr>
[[/each]]
</tbody>
</table>
</div>
</div>
</script>
<!--搭配(2T-nF)-->
<script type="text/template" id="matchImage-template">
<div class="panel-body" id="matchImage-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.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" >
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">跳转目的</label>
<div class="col-sm-4">
<select name="goTo" class="form-control observe" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action" >
[[layout action_template]]
</select>
</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" />
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</div>
<div>
<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.top_image as item index]]
<tr>
<td>[[index+1]]</td>
<td><input type="file" name="file" value="[[item.src]]" data-field="top_image.[[index]].src" class="observe" required="required"/></td>
<td>
<div class="col-sm-12">
<select name="goTo" class="form-control observe" data-field="top_image.[[index]].url.action" value="[[item.url.action]]" >
[[layout action_template]]
</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" />
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</td>
</tr>
[[/each]]
[[each contentData.data.list as item index]]
<tr>
<td>[[index+3]]</td>
<td><input type="file" name="file" value="[[item.src]]" data-field="list.[[index]].src" class="observe" required="required"/></td>
<td>
<div class="col-sm-12">
<select name="goTo" class="form-control observe" data-field="list.[[index]].url.action" value="[[item.url.action]]" >
[[layout action_template]]
</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" />
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</td>
</tr>
[[/each]]
</tbody>
</table>
</div>
<a href="JavaScript:;" id="matchImage-addOne" class="btn btn-primary btn-xs">添加一个</a>
</div>
</script>
<!--推荐-->
<script type="text/template" id="recommendContent-template">
<div class="panel-body" id="recommendContent-baseFrom">
[[if contentData.data.title]]
[[if contentData.template_name != "recommendContentFive"]]
<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">
</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">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">跳转目的</label>
<div class="col-sm-4">
<select name="goTo" class="form-control observe" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action">
[[layout action_template]]
</select>
</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"/>
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</div>
[[/if]]
[[if contentData.template_name=="recommendContentFive"]]
<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">
</div>
<label class="col-sm-4 control-label">是否显示
<input type="checkbox" value="[[contentData.data.title.is_show]]" checked="[[contentData.data.title.is_show?'checked':'']]" class="observe" data-field="title.is_show">
</label>
</div>
[[/if]]
[[/if]]
<table class="table table-hover table-bordered responsive dataTable no-footer">
<thead>
<tr>
<th>序号</th>
<th>资源位</th>
<th>选项</th>
</tr>
</thead>
<tbody>
[[if contentData.data.big_image]]
[[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>
<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">
[[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"/>
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</td>
</tr>
[[/each]]
[[/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>
<div class="col-sm-12">
<select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="contentData.data.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"/>
<p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p>
</div>
</td>
</tr>
[[/each]]
</tbody>
</table>
</div>
</script>
<script type="text/template" id="action_template">
<option value="">选择跳转目标</option>
<option value="go.brand">品牌列表页</option>
<option value="go.productDetail">商品详情页</option>
<option value="go.coupon">优惠券页</option>
<option value="go.fav">收藏列表页</option>
<option value="go.mine">我的页面</option>
<option value="go.list">列表或搜索页</option>
<option value="go.attention">关注页</option>
<option value="go.plus">plus</option>
<option value="go.star">star</option>
<option value="go.new">新品到着页</option>
<option value="go.sale">折扣页</option>
<option value="go.share">分享</option>
<option value="go.h5">h5网页</option>
<option value="go.weblogin">h5网页调用本地登录</option>
<option value="go.guangchannel">逛频道</option>
<option value="go.gender">男女首页</option>
<option value="go.activity">app活动页</option>
<option value="go.home">频道首页</option>
<option value="go.yohood">YOHOOD</option>
<option value="go.top100">热销排行</option>
<option value="go.activitytemplate">活动模板</option>
<option value="go.globalpurchase">全球购</option>
<option value="go.subchannel">二级频道</option>
<option value="go.guangchannel">逛频道或SHOW晒单页</option>
<option value="go.showgoods">去晒单</option>
<option value="go.limitpurchase">尖货频道</option>
<option value="go.vippro">会员商品</option>
<option value="go.shortsize">断码页</option>
<option value="go.discountmarket">折扣专区</option>
<option value="go.discountmarketpro">折扣专区详情页</option>
<option value="go.signin">签到页</option>
<option value="go.playvideo">视频播放</option>
</script>
<script type="text/template" id="noEdit-template">
<div>固定内容,暂时无法编辑!</div>
</script>
\ No newline at end of file
... ...
[[else if module.template_name=='focus']]
[[else if module.contentData.template_name=='focus']]
<div class="focus">
<div class="focus-pic-list">
<img src="[[module.data[0].src]]">
<img src="[[module.contentData.data[0].src]]">
</div>
</div>
[[else if module.template_name=='appIconList']]
[[else if module.contentData.template_name=='appIconList']]
<div class="app_icon_list">
<ul class="icon-list clearfix">
[[each module.data as item index]]
[[each module.contentData.data as item index]]
<li style="width:75px; float:left;margin-left:5px;"><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
[[else if module.template_name=='recommendContentOne']]
[[else if module.contentData.template_name=='recommendContentOne']]
<div class="recommend_content_one">
<div class="recommend-info">
<p class="title">[[module.data.title.name]]<a class="more" href="#">[[module.data.title.more_name]]</a></p>
<p class="big-pic"><img src="[[module.data.big_image[0].src]]"></p>
<p class="title">[[module.contentData.data.title.name]]<a class="more" href="#">[[module.contentData.data.title.more_name]]</a></p>
<p class="big-pic"><img src="[[module.contentData.data.big_image[0].src]]"></p>
<ul class="small-pic">
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<li class="li_[[index]]"><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
</div>
[[else if module.template_name=='recommendContentTwo']]
[[else if module.contentData.template_name=='recommendContentTwo']]
<div class="recommend_content_two">
<div class="recommend-info">
<p class="title">[[module.data.title.name]]<a class="more" href="#">[[module.data.title.more_name]]</a></p>
<p class="big-pic"><img src="[[module.data.big_image[0].src]]"></p>
<p class="title">[[module.contentData.data.title.name]]<a class="more" href="#">[[module.contentData.data.title.more_name]]</a></p>
<p class="big-pic"><img src="[[module.contentData.data.big_image[0].src]]"></p>
<ul class="small-pic">
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<li class="li_[[index]]"><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
</div>
[[else if module.template_name=='singleNameImage']]
[[else if module.contentData.template_name=='singleNameImage']]
<div class="single_name_image">
<div class="single-info">
<span class="title" style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.data.title]]</span>
<img src="[[module.data.src]]" style="width:100%">
<span class="title" style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.contentData.data.title]]</span>
<img src="[[module.contentData.data.src]]" style="width:100%">
</div>
</div>
[[else if module.template_name=='recommendContentThree']]
[[else if module.contentData.template_name=='recommendContentThree']]
<div class="recommend_content_three">
<div class="recommend-info">
<p class="big-pic"><img src="[[module.data.big_image[0].src]]"></p>
<p class="big-pic"><img src="[[module.contentData.data.big_image[0].src]]"></p>
<ul class="small-pic">
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<li class="li_[[index]]"><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
</div>
[[else if module.template_name=='recommendContentThree']]
[[else if module.contentData.template_name=='recommendContentThree']]
<div class="recommend_content_three">
<div class="recommend-info">
<p class="big-pic"><img src="[[module.data.big_image[0].src]]"></p>
<p class="big-pic"><img src="[[module.contentData.data.big_image[0].src]]"></p>
<ul class="small-pic">
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<li class="li_[[index]]"><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
</div>
[[else if module.template_name=='trendsetterCollocation']]
[[else if module.contentData.template_name=='trendsetterCollocation']]
<div class="big-pic">
<div class="list">
<img src="/js/source/plugins/trendsetter/trend.png" width="96%">
</div>
</div>
[[else if module.template_name=='trendgoodsTopic']]
[[else if module.contentData.template_name=='trendgoodsTopic']]
<div class="big-pic">
<div class="list">
<img src="/js/source/plugins/trendgoodsTopic/trend.png" width="96%">
</div>
</div>
[[else if module.template_name=='customBrands']]
[[else if module.contentData.template_name=='customBrands']]
<div class="custom-pic">
<div class="hot-brand-title">[[module.data.title]]</div>
<div class="hot-brand-title">[[module.contentData.data.title]]</div>
<ul class="custom-pic clearfix">
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<li><img src="[[item.src]]" class="custom-pic-img" style="margin:2px;"></li>
[[/each]]
</ul>
</div>
[[else if module.template_name=='customBrands']]
[[else if module.contentData.template_name=='customBrands']]
<div class="custom-pic">
<div class="custom-brand-title">[[module.data.title.title]]</div>
<div class="custom-brand-title">[[module.contentData.data.title.title]]</div>
<ul class="custom-pic clearfix">
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<li><img src="[[item.src]]" class="custom-pic-img" style="margin:2px;"></li>
[[/each]]
</ul>
</div>
[[else if module.template_name=='promotion']]
[[else if module.contentData.template_name=='promotion']]
<div class="link">
<div class="list"><img src="/js/source/plugins/promotion/bigPic.jpg" width="96%/"></div>
</div>
[[else if module.template_name=='carouselBanner']]
[[else if module.contentData.template_name=='carouselBanner']]
<div class="focus">
<div class="focus-pic-list"><img src="[[module.data.list[0].src]]"></div>
<div class="focus-pic-list"><img src="[[module.contentData.data.list[0].src]]"></div>
</div>
[[else if module.template_name=='kidsBrands']]
[[else if module.contentData.template_name=='kidsBrands']]
<div class="hot-brand-list">
<div class="hot-brand-title">kids推荐品牌</div>
<ul class="hot-brand-list">
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<li data-toggle="brands"><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
[[else if module.template_name=='推荐(L1-RT1-RF2)']]
[[else if module.contentData.template_name=='推荐(L1-RT1-RF2)']]
<div class="hot-brand-list">
</div>
[[else if module.template_name=='addfloor']]
[[else if module.contentData.template_name=='addfloor']]
<div class="app_icon_list">
<ul class="icon-list clearfix">
[[each module.data as item index]]
[[each module.contentData.data as item index]]
<li style="width:75px; float:left;margin-left:5px;"><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
[[else if module.template_name=='recommendContentFive']]
[[else if module.contentData.template_name=='recommendContentFive']]
<div class="recommend_content_five">
<div class="recommend-info">
<span class="title" style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.data.title.title]]</span>
<span class="title" style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.contentData.data.title.title]]</span>
<ul class="small-pic">
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<li class="li_[[index]]"><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
</div>
[[else if module.template_name=='textNav']]
[[else if module.contentData.template_name=='textNav']]
<div class="textNav">
<div class="list"><img src="/js/source/plugins/textNav/bigPic.jpg" width="96%/"></div>
</div>
[[else if module.template_name=='imageList']]
[[else if module.contentData.template_name=='imageList']]
<div class="custom-pic">
<div class="hot-brand-title" style="margin:0px auto; text-align:center;">[[module.data.title.title]]</div>
<ul class="custom-pic clearfix image-list-box resource-row li[[12/module.data.title.column_num]]">
[[each module.data.list as item index]]
<div class="hot-brand-title" style="margin:0px auto; text-align:center;">[[module.contentData.data.title.title]]</div>
<ul class="custom-pic clearfix image-list-box resource-row li[[12/module.contentData.data.title.column_num]]">
[[each module.contentData.data.list as item index]]
<li><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
[[else if module.template_name=='标题标签']]
[[else if module.contentData.template_name=='标题标签']]
<div class="custom-pic">
</div>
[[else if module.template_name=='编辑推荐']]
[[else if module.contentData.template_name=='编辑推荐']]
<div class="custom-pic">
</div>
[[else if module.template_name=='hotCategory']]
[[else if module.contentData.template_name=='hotCategory']]
<div class="hotCategory">
<div class="hotCategory-info"><img src="/js/source/plugins/hotCategory/hotCategory.png" style="width:99%"></div>
</div>
[[else if module.template_name=='debrisSlider']]
[[else if module.contentData.template_name=='debrisSlider']]
<div class="debris_slider">
<div class="debris-info">
<ul style="float:left;width:80px;">
[[each module.data.left as item index]]
[[each module.contentData.data.left as item index]]
<li><img width="80px" height="76px" src="[[item.src]]"></li>
[[/each]]
</ul>
<div style="float:left;width:160px;"><img width="160px" height="180px" src="[[module.data.big_image[0].src]]"></div>
<div style="float:left;width:160px;"><img width="160px" height="180px" src="[[module.contentData.data.big_image[0].src]]"></div>
<ul style="float:left;width:80px;">
[[each module.data.right as item index]]
[[each module.contentData.data.right as item index]]
<li><img width="80px" height="76px" src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
</div>
[[else if module.template_name=='newUserFloor']]
[[else if module.contentData.template_name=='newUserFloor']]
<div class="new_user_floor">
<div class="user_floor">
<p class="title">[[module.data.title.name]]<a class="more" href="#">[[module.data.title.more_name]]</a></p>
<p class="banner-pic"><img src="[[module.data.banner_image[0].src]]" width="96%"></p>
<p class="title">[[module.contentData.data.title.name]]<a class="more" href="#">[[module.contentData.data.title.more_name]]</a></p>
<p class="banner-pic"><img src="[[module.contentData.data.banner_image[0].src]]" width="96%"></p>
</div>
</div>
[[else if module.template_name=='imageGroup']]
[[else if module.contentData.template_name=='imageGroup']]
<div class="custom-group-list">
<div class="hot-brand-title" style="margin:0px auto; text-align:center;">[[module.data.title]]</div>
<ul class="custom-pic clearfix image-list-box resource-row li[[12/module.data.title.column_num]]">
[[each module.data.list as item index]]
<div class="hot-brand-title" style="margin:0px auto; text-align:center;">[[module.contentData.data.title]]</div>
<ul class="custom-pic clearfix image-list-box resource-row li[[12/module.contentData.data.title.column_num]]">
[[each module.contentData.data.list as item index]]
<li><img src="[[item.src]]"></li>
[[/each]]
</ul>
</div>
[[else if module.template_name=='paramsGroup']]
[[else if module.contentData.template_name=='paramsGroup']]
<div class="custom-group-list">
<div class="image-group-box"><img src="/js/source/plugins/paramsGroup/params.jpg" style="height: 80px;"></div>
</div>
[[else if module.template_name=='自定义参数图片']]
[[else if module.contentData.template_name=='自定义参数图片']]
<div class="custom-group-list">
</div>
[[else if module.template_name=='announcement']]
[[else if module.contentData.template_name=='announcement']]
<div class="custom-group-list">
<div class="image-group-box"><img src="/js/source/plugins/announcement/notice.jpg" style="height: 80px;"></div>
</div>
[[else if module.template_name=='titleImage']]
[[else if module.contentData.template_name=='titleImage']]
<div class="editorTalk_content">
<div class="editor-info">
<span class="title" style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.data.title]]</span>
<img src="[[module.data.image.src]]" style="width:99%">
<span class="title" style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.contentData.data.title]]</span>
<img src="[[module.contentData.data.image.src]]" style="width:99%">
</div>
</div>
[[else if module.template_name=='multiLabelImage']]
[[else if module.contentData.template_name=='multiLabelImage']]
<div class="editorTalk_content">
<div class="editor-info">
[[each module.data.label_list as item index]]
[[each module.contentData.data.label_list as item index]]
<span class="title">[[item.title]]</span>
[[/each]]
<img src="[[module.data.image.src]]" style="width:99%">
<img src="[[module.contentData.data.image.src]]" style="width:99%">
</div>
</div>
[[else if module.template_name=='matchImage']]
[[else if module.contentData.template_name=='matchImage']]
<div class="match_image">
<div class='row title'>[[module.data.title.name]]</div>
<div class='row title'>[[module.contentData.data.title.name]]</div>
<div class='row'>
[[each module.data.top_image as item index]]
[[each module.contentData.data.top_image as item index]]
<div class='col-sm-6 matchImage'><img src="[[item.src]]"></div>
[[/each]]
</div>
<div class='row'>
[[each module.data.list as item index]]
[[each module.contentData.data.list as item index]]
<div class='col-sm-6 matchImage'><img src="[[item.src]]"></div>
[[/each]]
</div>
... ...