...
|
...
|
@@ -58,16 +58,16 @@ |
|
|
<home-banner data="{{data:item.data,f_id:item.template_id,f_index:index,f_name:item.template_name}}" bindjumpByRule="jumpByRuleEvent"></home-banner>
|
|
|
</block>
|
|
|
|
|
|
<!-- <block tt:if="{{item.template_name == 'image_list' && item.data.list.length == 4}}">
|
|
|
<template is='fourImage' data="{{data:item.data,f_id:item.template_id,f_index:index,f_name:item.template_name}}"/>
|
|
|
</block> -->
|
|
|
<block tt:elif="{{item.template_name=='image_list' && item.data.list.length == 4}}">
|
|
|
<home-four-images data="{{data:item.data.list,f_id:item.template_id,f_index:index,f_name:item.template_name}}" bindjumpByRule="jumpByRuleEvent"></home-four-images>
|
|
|
</block>
|
|
|
|
|
|
<!-- <block tt:if="{{item.template_name == 'twoPicture'}}">
|
|
|
<block tt:elif="{{item.template_name == 'twoPicture'}}">
|
|
|
<block tt:if="{{item.title}}">
|
|
|
<template is='tipTitle' data="{{desc:item.title,more_url:item.moreUrl,no_line:false}}"/>
|
|
|
</block>
|
|
|
<template is='twoImage' data="{{data:item.data,f_id:item.template_id,f_index:index,f_name:item.template_name,ratio:item.ratio,title:item.title}}"/>
|
|
|
</block> -->
|
|
|
<home-two-images data="{{data:item.data,f_id:item.template_id,f_index:index,f_name:item.template_name,ratio:item.ratio,title:item.title}}" bindjumpByRule="jumpByRuleEvent"></home-two-images>
|
|
|
</block>
|
|
|
|
|
|
<block tt:elif="{{item.template_name=='newSingleImage'}}">
|
|
|
<block tt:if="{{item.title}}">
|
...
|
...
|
@@ -96,41 +96,23 @@ |
|
|
<view tt:if="{{!item.title}}" style='width:100%;height:16rpx;background-color:white'/><!--兼容空白 后期需优化调整-->
|
|
|
</block>
|
|
|
|
|
|
<!--拼团购商品列表-->
|
|
|
<block tt:elif="{{item.template_name=='collageBuyPrdList'}}">
|
|
|
<home-group-booking data="{{item.prdList}}" bindjumpByRule="jumpByRuleEvent"></home-group-booking>
|
|
|
</block>
|
|
|
|
|
|
<block tt:elif="{{item.template_name=='newProductListFloor'}}">
|
|
|
<home-hor-product-list data="{{item.data}}" bindjumpByRule="jumpByRuleEvent"></home-hor-product-list>
|
|
|
</block>
|
|
|
|
|
|
<!--拼团购商品列表-->
|
|
|
<!-- <block tt:elif="{{item.template_name=='collageBuyPrdList'}}">
|
|
|
|
|
|
</block> -->
|
|
|
|
|
|
|
|
|
<block tt:elif="{{item.template_name=='popularListFloor'}}">
|
|
|
<home-hor-product-list data="{{item.data}}" bindjumpByRule="jumpByRuleEvent"></home-hor-product-list>
|
|
|
</block>
|
|
|
|
|
|
<!-- <block tt:elif="{{item.template_name=='popularListFloor'}}">
|
|
|
<scroll-view class="activity-container-footer" scroll-x="true">
|
|
|
<block tt:for="{{item.data.list}}" tt:key="{{index}}" tt:for-item="item">
|
|
|
<view class="activity-item" bindtap="activityItemTapped" data-skn="{{item.product_skn}}"
|
|
|
data-f_id="{{item.template_id}}" data-f_index='{{item.index}}' data-f_inindex='{{index}}' data-f_name='newProductListFloor'>
|
|
|
<image src="{{item.default_images}}" class="activity-item-img"></image>
|
|
|
<view class="activity-item-price">{{item.shop_name}}</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</scroll-view>
|
|
|
</block> -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <template is='tipTitle' data="{{desc:'最新活动'}}"/>
|
|
|
<home-new-activity activity-list="{{activityList}}"
|
|
|
bindjumpByRule="jumpByRuleEvent"></home-new-activity> -->
|
|
|
|
|
|
</block>
|
|
|
|
|
|
<!-- 商品推荐 -->
|
|
|
<block tt:elif="{{newChannels[selectedChannel]['recommend']['data'].length > 0}}">
|
|
|
<block tt:if="{{newChannels[selectedChannel]['recommend']['data'].length > 0}}">
|
|
|
<template is='tipTitle' data="{{desc:'猜你喜欢'}}"/>
|
|
|
<view class="product-list">
|
|
|
<block tt:for="{{newChannels[selectedChannel]['recommend']['data']}}" tt:for-item="product" tt:key="{{index}}">
|
...
|
...
|
|