573 lines
44 KiB
Plaintext
573 lines
44 KiB
Plaintext
<wxs module="util">
|
|
var inOf = function (val, str) { if (val) { return val.indexOf(str) } };
|
|
module.exports.inOf = inOf;
|
|
</wxs>
|
|
<view class="component-wrapper {{'component-'+component_id}}" style="background-color: {{datas.preview_color}};">
|
|
<!-- 商品组 列表 -->
|
|
<view class="u_goodslist" wx:if="{{datas.preview_color}}"
|
|
style="background-color: {{datas.preview_color}};padding-top: {{datas.padding_top}}px;padding-bottom: {{datas.padding_bottom}}px;padding-left: {{datas.padding_left}}px;padding-right: {{datas.padding_right}}px;">
|
|
<view class="u_goodslist_two" wx:if="{{datas.sort_style.choose_icon == 1}}">
|
|
<!-- 大图样式 -->
|
|
<!-- 大图失效的 两种样式 是一样-->
|
|
<view wx:if="{{datas.list.data.length <= 0}}"
|
|
style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
|
|
</view>
|
|
<view class="u_goodslist_two_child big" wx:for="{{list}}" wx:key="index" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}"
|
|
wx:for-item="item" data-item="{{item}}"
|
|
style="border-radius: {{datas.item_radius}}px;border: {{datas.show_border?'1':'0'}}px solid {{datas.border_color}};box-shadow: {{datas.show_shadow?'1':'0'}}px {{datas.show_shadow?'1':'0'}}px {{datas.show_shadow?'5':'0'}}px {{datas.border_color}};">
|
|
<view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure"
|
|
style="border-radius: 0;">
|
|
<view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
|
|
<view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
|
|
<view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
|
|
</view>
|
|
<image lazy-load="{{true}}" src="{{item.img || emptyImage}}" mode='widthFix' alt="" class="goodsImg" />
|
|
<view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '50px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
|
|
<!-- 限时抢购 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
|
|
wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
|
|
<!-- 包邮 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
|
|
alt="" />
|
|
<!-- 热销 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}" alt="" />
|
|
<!-- 新上 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}" alt="" />
|
|
<!-- 推荐 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
|
|
alt="" />
|
|
<!-- 自定义 -->
|
|
<image src="{{datas.good_tag.image}}" style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
|
|
</view>
|
|
<view class="twoChild_bottom">
|
|
<view class="twoChild_top">
|
|
<text wx:if="{{!item.begShow}}" style="font-size: 12px;width: 45px;">距开始:</text>
|
|
<icon wx:else class="iconfont icon-ht_qd_miaosha"></icon>
|
|
<view style="margin-left:7px;margin-right:3px;color: {{datas.time_color || '#ff2c29'}}">{{item.day}}</view>天<view style="margin-left:3px;margin-right:3px;color: {{datas.time_color || '#ff2c29'}}">{{item.hou}}</view>:<view style="margin-left:3px;margin-right:3px;color: {{datas.time_color || '#ff2c29'}}">{{item.min}}</view>:<view
|
|
style="margin-left:3px;margin-right:3px;color: {{datas.time_color || '#ff2c29'}}">{{item.sec}}</view>
|
|
</view>
|
|
<view class="Child_title" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
|
|
{{item.name || '商品标题'}}
|
|
</view>
|
|
<view class="twoChild_line">
|
|
<view class="posRed" style="width: 40%">库存仅剩{{item.stock}}件</view>
|
|
</view>
|
|
<view class="Child_other">
|
|
<!--<view class="oneChild_sales" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 8888-->
|
|
<!--</view>-->
|
|
<!--<view class="oneChild_activity" style="color:#fff;"-->
|
|
<!--wx:if="{{!util.inOf(datas.content_list,'5') > -1&& util.inOf(datas.content_list,'6') > -1}}">赠送xx积分-->
|
|
<!--</view>-->
|
|
<!--<view class="oneChild_activity" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'5') > -1}}">-->
|
|
<!--赠送xx爱心值</view>-->
|
|
</view>
|
|
<!-- <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1}}">会员价 XX.00</view> -->
|
|
<view class="Child_price">
|
|
<view class="Child_now_price" style="width: {{datas.button_type == 0 ? '100%' : '70%'}}">
|
|
<text wx:if="{{util.inOf(datas.content_list,'3') > -1}}" style="font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}">
|
|
<text class="span">{{language['money']}}</text>{{ item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.pricenow }}
|
|
</text>
|
|
<text class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow}}">{{language['money']}}{{item.priceold}}</text></view>
|
|
<view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
|
|
<view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
|
|
<view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
|
|
<icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
|
|
<icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
|
|
</icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="u_goodslist_three" wx:if="{{datas.sort_style.choose_icon == 2}}">
|
|
<view wx:if="{{datas.list.data.length <= 0}}"
|
|
style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
|
|
</view>
|
|
<!-- 双排样式 -->
|
|
<view class="u_goodslist_three_child " wx:for="{{list}}" wx:for-item="item" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}" data-item="{{item}}" wx:key="index" style="border-radius: {{datas.item_radius}}px;">
|
|
<view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
|
|
<view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
|
|
<view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
|
|
<view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
|
|
</view>
|
|
<view
|
|
style="overflow: hidden;border-radius: {{datas.item_radius}}px;">
|
|
<view class="threeChild_top">
|
|
<view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '35px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
|
|
<!-- 限时抢购 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
|
|
wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
|
|
<!-- 包邮 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
|
|
alt="" />
|
|
<!-- 热销 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
|
|
alt="" />
|
|
<!-- 新上 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
|
|
alt="" />
|
|
<!-- 推荐 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
|
|
alt="" />
|
|
<!-- 自定义 -->
|
|
<image src="{{datas.good_tag.image}}" style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
|
|
</view>
|
|
<image lazy-load="{{true}}" src="{{item.img || emptyImage}}" mode="aspectFill" class="goodsImg" />
|
|
<view class="twoChild_topPos">
|
|
<text wx:if="{{!item.begShow}}" style="font-size: 12px;width: 45px;">距开始:</text>
|
|
<icon wx:else class="iconfont icon-ht_qd_miaosha"></icon>
|
|
<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.day}}</view>天<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.hou}}</view>:<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.min}}</view>:<view style="margin-right:5px;color: {{datas.time_color || '#ff2c29'}}">{{item.sec}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="threeChild_b">
|
|
<view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
|
|
{{item.name || '商品标题'}}
|
|
</view>
|
|
<view class="twoChild_line">
|
|
<view class="posRed" style="width: 40%">仅剩{{item.stock}}件</view>
|
|
</view>
|
|
<view class="Child_other">
|
|
<!--<view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 8888</view>-->
|
|
<!--<view class="oneChild_activity"-->
|
|
<!--wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1}}">赠送xx积分-->
|
|
<!--</view>-->
|
|
<!--<view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'5') > -1}}">赠送xx爱心值</view>-->
|
|
</view>
|
|
<!-- <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1}}">会员价 XX.00</view> -->
|
|
<view class="Child_price">
|
|
<view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{util.inOf(datas.content_list,'3') > -1}}"><text class="span">{{language['money']}}</text>
|
|
{{ item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.pricenow }}</view>
|
|
<view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1}}"></view>
|
|
<view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
|
|
<view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
|
|
<view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
|
|
<icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
|
|
<icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
|
|
</icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
|
|
<view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow}}">
|
|
{{language['money']}}{{item.priceold}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="u_goodslist_one" wx:if="{{datas.sort_style.choose_icon == 3}}">
|
|
<view wx:if="{{datas.list.data.length <= 0}}"
|
|
style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
|
|
</view>
|
|
<!-- 横排样式 -->
|
|
<view class="u_goodslist_one_child " wx:for="{{list}}" wx:for-item="item" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}"
|
|
data-item="{{item}}" wx:key="index"
|
|
style="border-radius: {{datas.item_radius}}px; border: {{datas.show_border?'1':'0'}}px solid {{datas.border_color}};box-shadow: {{datas.show_shadow?'1':'0'}}px {{datas.show_shadow?'1':'0'}}px {{datas.show_shadow?'5':'0'}}px {{datas.border_color}};">
|
|
<view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure"
|
|
style="border-radius: 0;">
|
|
<view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
|
|
<view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
|
|
<view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
|
|
</view>
|
|
<view class="oneChild_left">
|
|
<view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '30px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
|
|
<!-- 限时抢购 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
|
|
wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
|
|
<!-- 包邮 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
|
|
alt="" />
|
|
<!-- 热销 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
|
|
alt="" />
|
|
<!-- 新上 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
|
|
alt="" />
|
|
<!-- 推荐 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
|
|
alt="" />
|
|
<!-- 自定义 -->
|
|
<image src="{{datas.good_tag.image}}" style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}"
|
|
mode='widthFix' />
|
|
</view>
|
|
<image lazy-load="{{true}}" mode='widthFix' src="{{item.img || emptyImage}}" alt="" />
|
|
<view class="twoChild_topPos">
|
|
<text wx:if="{{!item.begShow}}" style="font-size: 12px;width: 45px;height: 56rpx;line-height: 56rpx;">距开始:</text>
|
|
<icon wx:else class="iconfont icon-ht_qd_miaosha"></icon>
|
|
<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.day}}</view>天<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.hou}}</view>:<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.min}}</view>:<view style="margin-right:5px;color: {{datas.time_color || '#ff2c29'}}">{{item.sec}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="oneChild_right">
|
|
<view class="oneChild_r_flextop">
|
|
<view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
|
|
{{item.name || '商品标题'}}
|
|
</view>
|
|
<view class="Child_other">
|
|
<!--<view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 8888</view>-->
|
|
<view class="twoChild_line">
|
|
<view class="posRed" style="width: 40%">仅剩{{item.stock}}件</view>
|
|
</view>
|
|
<!--<view class="oneChild_activity"-->
|
|
<!--wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1}}">赠送xx积分-->
|
|
<!--</view>-->
|
|
<!--<view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'5') > -1}}">赠送xx爱心值</view>-->
|
|
</view>
|
|
</view>
|
|
<view class="oneChild_r_flexbottom">
|
|
<!-- <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1}}">会员价 XX.00</view> -->
|
|
<view class="Child_price">
|
|
<view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{util.inOf(datas.content_list,'3') > -1}}"><text class="span">{{language['money']}}</text>
|
|
{{ item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.pricenow }}</view>
|
|
<view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1}}"></view>
|
|
<view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
|
|
<view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
|
|
<view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
|
|
<icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
|
|
<icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
|
|
</icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
|
|
<view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow}}">
|
|
{{language['money']}}{{item.priceold}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="u_goodslist_four" wx:if="{{datas.sort_style.choose_icon == 4}}">
|
|
<view wx:if="{{datas.list.data.length <= 0}}"
|
|
style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
|
|
</view>
|
|
<!-- 三排排序样式 -->
|
|
<view class="u_goodslist_four_child " wx:for="{{list}}" wx:for-item="item" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}" data-item="{{item}}" wx:key="index" style="border-radius: {{datas.item_radius}}px">
|
|
<view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
|
|
<view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
|
|
<view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
|
|
<view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
|
|
</view>
|
|
<view
|
|
style="border-radius: {{datas.item_radius}}px;overflow:hidden">
|
|
<view class="threeChild_top">
|
|
<view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '25px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
|
|
<!-- 限时抢购 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
|
|
wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
|
|
<!-- 包邮 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
|
|
alt="" />
|
|
<!-- 热销 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
|
|
alt="" />
|
|
<!-- 新上 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
|
|
alt="" />
|
|
<!-- 推荐 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
|
|
alt="" />
|
|
<!-- 自定义 -->
|
|
<image src="{{datas.good_tag.image}}" style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
|
|
</view>
|
|
<image lazy-load="{{true}}" src="{{item.img || emptyImage}}" alt="" class="goodsImg" />
|
|
<view class="twoChild_topPosThr">
|
|
<text wx:if="{{!item.begShow}}" style="font-size: 10px;width: 25px;">开始:</text>
|
|
<icon wx:else class="iconfont icon-ht_qd_miaosha"></icon>
|
|
<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.day}}</view>天<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.hou}}</view>:<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.min}}</view>:<view style="margin-right:5px;color: {{datas.time_color || '#ff2c29'}}">{{item.sec}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="threeChild_b">
|
|
<view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
|
|
{{item.name || '商品标题'}}
|
|
</view>
|
|
<view class="Child_other">
|
|
<!--<view class="oneChild_sales"-->
|
|
<!--wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1}}">-->
|
|
<!--赠送xx积分-->
|
|
<!--</view>-->
|
|
<!--<view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'5') > -1}}">赠送xx爱心值</view>-->
|
|
<!--<view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 8888</view>-->
|
|
<view class="twoChild_line">
|
|
<view class="posRed" style="width: 40%">{{item.stock}}件</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1}}">会员价 XX.00</view> -->
|
|
<view class="Child_price">
|
|
<view class="Child_now_price" style="width: {{datas.button_type == 0 || datas.button_type == 1 || datas.button_type == 2 ? '100%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{util.inOf(datas.content_list,'3') > -1}}"><text class="span">{{language['money']}}</text>
|
|
{{ item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.pricenow }}</view>
|
|
<view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1}}"></view>
|
|
<view class="Child_buyBtn" wx:if="{{datas.button_type != 1 && datas.button_type!=2 && datas.button_type!=0}}">
|
|
<view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
|
|
<!-- 三排没有样式1、样式2的购买按钮 -->
|
|
<!-- <view wx:if="{{datas.button_type == 1||datas.button_type==2">{{datas.button_title}}</view> -->
|
|
<icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
|
|
<icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
|
|
</icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
|
|
<view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow}}">
|
|
{{language['money']}}{{item.priceold}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="u_goodslist_four u_goodslist_five" wx:if="{{datas.sort_style.choose_icon == 5}}">
|
|
<view wx:if="{{datas.list.data.length <= 0}}"
|
|
style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
|
|
</view>
|
|
<!-- 三排滑动样式 -->
|
|
<view class="u_goodslist_four_child u_goodslist_five_child" wx:for="{{list}}" catchtap="gotoDetail" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}" wx:for-item="item" data-item="{{item}}" wx:key="index" style="border-radius: {{datas.item_radius}}px">
|
|
<view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
|
|
<view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
|
|
<view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
|
|
<view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
|
|
</view>
|
|
<view
|
|
style="border-radius: {{datas.item_radius}}px;overflow:hidden">
|
|
<view class="threeChild_top">
|
|
<view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '25px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
|
|
<!-- 限时抢购 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
|
|
wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
|
|
<!-- 包邮 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
|
|
alt="" />
|
|
<!-- 热销 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
|
|
alt="" />
|
|
<!-- 新上 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
|
|
alt="" />
|
|
<!-- 推荐 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
|
|
alt="" />
|
|
<!-- 自定义 -->
|
|
<image src="{{datas.good_tag.image}}" style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix'/>
|
|
</view>
|
|
<image lazy-load="{{true}}" src="{{item.img || emptyImage}}" alt="" class="goodsImg" />
|
|
<view class="twoChild_topPosThr">
|
|
<text wx:if="{{!item.begShow}}" style="font-size: 10px;width: 25px;">开始:</text>
|
|
<icon wx:else class="iconfont icon-ht_qd_miaosha"></icon>
|
|
<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.day}}</view>天<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.hou}}</view>:<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.min}}</view>:<view style="margin-right:5px;color: {{datas.time_color || '#ff2c29'}}">{{item.sec}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="threeChild_b">
|
|
<view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
|
|
{{item.name || '商品标题'}}
|
|
</view>
|
|
<view class="Child_other">
|
|
<!--<view class="oneChild_sales"-->
|
|
<!--wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1}}">-->
|
|
<!--赠送xx积分-->
|
|
<!--</view>-->
|
|
<!--<view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'5') > -1}}">赠送xx爱心值</view>-->
|
|
<!--<view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 8888</view>-->
|
|
<view class="twoChild_line">
|
|
<view class="posRed" style="width: 40%">{{item.stock}}件</view>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1}}">会员价 XX.00</view> -->
|
|
<view class="Child_price">
|
|
<view class="Child_now_price" style="width: {{datas.button_type == 0 || datas.button_type == 1 || datas.button_type == 2 ? '100%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{util.inOf(datas.content_list,'3') > -1}}"><text class="span">{{language['money']}}</text>
|
|
{{ item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.pricenow }}</view>
|
|
<view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1}}"></view>
|
|
<view class="Child_buyBtn" wx:if="{{datas.button_type != 1 && datas.button_type!=2 && datas.button_type!=0}}">
|
|
<view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
|
|
<!-- 三排没有样式1、样式2的购买按钮 -->
|
|
<!-- <view wx:if="{{datas.button_type == 1||datas.button_type==2">{{datas.button_title}}</view> -->
|
|
<icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}"></icon>
|
|
<icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
|
|
</icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
|
|
<view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow}}">
|
|
{{language['money']}}{{item.priceold}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="u_goodslist_six" wx:if="{{datas.sort_style.choose_icon == 6}}">
|
|
<view wx:if="{{datas.list.data.length <= 0}}"
|
|
style="width: 100%;height: 300rpx;line-height: 100rpx;text-align: center;font-size: 18px">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='heightFix' style="height:200rpx"/>
|
|
</view>
|
|
<!-- 一大两小 -->
|
|
<block wx:for="{{list}}" wx:for-item="item" data-item="{{item}}" wx:if="{{item.stock_status === 0 || datas.disable_good != 0}}">
|
|
|
|
<view class="u_goodslist_two" style="margin:5px;" wx:if="{{index % 3 == 0}}">
|
|
<!-- 大图样式 -->
|
|
<view class="u_goodslist_two_child" catchtap="gotoDetail" data-item="{{item}}"
|
|
style="border-radius: {{datas.item_radius}}px;">
|
|
<view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
|
|
<view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
|
|
<view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
|
|
<view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
|
|
</view>
|
|
<image lazy-load="{{true}}" src="{{item.img || emptyImage}}" mode='widthFix' alt="" class="goodsImg" />
|
|
<view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '50px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
|
|
<!-- 限时抢购 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
|
|
wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
|
|
<!-- 包邮 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
|
|
alt="" />
|
|
<!-- 热销 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
|
|
alt="" />
|
|
<!-- 新上 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
|
|
alt="" />
|
|
<!-- 推荐 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png" wx:if="{{datas.good_tag.choose_icon ==1}}"
|
|
alt="" />
|
|
<!-- 自定义 -->
|
|
<image src="{{datas.good_tag.image}}" style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix' />
|
|
</view>
|
|
<view class="twoChild_bottom">
|
|
<view class="twoChild_top">
|
|
<text wx:if="{{!item.begShow}}" style="font-size: 12px;width: 45px;">距开始:</text>
|
|
<icon wx:else class="iconfont icon-ht_qd_miaosha"></icon>
|
|
<view style="margin-left:7px;margin-right:3px;color: {{datas.time_color || '#ff2c29'}}">{{item.day}}</view>天<view
|
|
style="margin-left:3px;margin-right:3px;color: {{datas.time_color || '#ff2c29'}}">{{item.hou}}
|
|
</view>:<view style="margin-left:3px;margin-right:3px;color: {{datas.time_color || '#ff2c29'}}">{{item.min}}</view>:<view
|
|
style="margin-left:3px;margin-right:3px;color: {{datas.time_color || '#ff2c29'}}">{{item.sec}}</view>
|
|
</view>
|
|
<view class="Child_title" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
|
|
{{item.name || '商品标题'}}
|
|
</view>
|
|
<view class="twoChild_line">
|
|
<view class="posRed" style="width: 40%">库存仅剩{{item.stock}}件</view>
|
|
</view>
|
|
<view class="Child_other">
|
|
<!--<view class="oneChild_sales" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量-->
|
|
<!--8888</view>-->
|
|
<!--<view class="oneChild_activity" style="color:#fff;"-->
|
|
<!--wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1}}">赠送xx积分-->
|
|
<!--</view>-->
|
|
<!--<view class="oneChild_activity" style="color:#fff;" wx:if="{{util.inOf(datas.content_list,'5') > -1}}">-->
|
|
<!--赠送xx爱心值-->
|
|
<!--</view>-->
|
|
</view>
|
|
<!--<view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1}}">会员价 XX.00</view>-->
|
|
<view class="Child_price">
|
|
<view class="Child_now_price" style="width: {{datas.button_type == 0 ? '100%' : '70%'}}">
|
|
<text wx:if="{{util.inOf(datas.content_list,'3') > -1}}" style="font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}"><text class="span">{{language['money']}}</text>
|
|
{{ item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.pricenow }}</text>
|
|
<text class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow}}">{{language['money']}}{{item.priceold}}</text></view>
|
|
<view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
|
|
<view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
|
|
<view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
|
|
<icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}">
|
|
</icon>
|
|
<icon class="iconfont icon-life-game-plus" wx:if="{{datas.button_type == 5||datas.button_type==6}}">
|
|
</icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="u_goodslist_three" wx:if="{{index % 3 != 0}}">
|
|
<!-- 双排样式 -->
|
|
<view class="u_goodslist_three_child" catchtap="gotoDetail" data-item="{{item}}" style="border-radius: {{datas.item_radius}}px;">
|
|
<view wx:if="{{datas.disable_good != 0 && item.stock_status && item.stock_status != 0}}" class="{{datas.disable_good == 1?'failure_cover':''}} Failure">
|
|
<view wx:if="{{item.stock_status==1}}" class="Failure_text">售罄</view>
|
|
<view wx:if="{{item.stock_status==2}}" class="Failure_text">已下架</view>
|
|
<view wx:if="{{item.stock_status==3 || item.stock_status==4}}" class="Failure_text">不存在</view>
|
|
</view>
|
|
<view
|
|
style="border-radius: {{datas.item_radius}}px;overflow: hidden;">
|
|
<view class="threeChild_top">
|
|
<view class="good_Attributes" style="width:{{ datas.good_tag.choose_icon ==7? '35px':''}};height: {{datas.good_tag.choose_icon ==7? 'auto':''}}">
|
|
<!-- 限时抢购 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/xianshiqianggou@2x.png"
|
|
wx:if="{{datas.good_tag.choose_icon ==5}}" alt="" />
|
|
<!-- 包邮 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/baoyou@2x.png" wx:if="{{datas.good_tag.choose_icon ==4}}"
|
|
alt="" />
|
|
<!-- 热销 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/hot@2x.png" wx:if="{{datas.good_tag.choose_icon ==2}}"
|
|
alt="" />
|
|
<!-- 新上 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new@2x.png" wx:if="{{datas.good_tag.choose_icon ==3}}"
|
|
alt="" />
|
|
<!-- 推荐 -->
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/recommend@2x.png"
|
|
wx:if="{{datas.good_tag.choose_icon ==1}}" alt="" />
|
|
<!-- 自定义 -->
|
|
<image src="{{datas.good_tag.image}}" style="width:100%" wx:if="{{datas.good_tag.choose_icon ==7}}" mode='widthFix'/>
|
|
</view>
|
|
<image lazy-load="{{true}}" src="{{item.img || emptyImage}}" alt="" class="goodsImg" />
|
|
<view class="twoChild_topPos">
|
|
<text wx:if="{{!item.begShow}}" style="font-size: 12px;width: 45px;">距开始:</text>
|
|
<icon wx:else class="iconfont icon-ht_qd_miaosha"></icon>
|
|
<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.day}}</view>天<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.hou}}</view>:<view style="color: {{datas.time_color || '#ff2c29'}}">{{item.min}}</view>:<view style="margin-right:5px;color: {{datas.time_color || '#ff2c29'}}">{{item.sec}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="threeChild_b">
|
|
<view class="Child_title" wx:if="{{util.inOf(datas.content_list,'1') > -1}}">
|
|
{{item.name || '商品标题'}}
|
|
</view>
|
|
<view class="twoChild_line">
|
|
<view class="posRed" style="width: 40%">仅剩{{item.stock}}件</view>
|
|
</view>
|
|
<view class="Child_other">
|
|
<!--<view class="oneChild_sales" wx:if="{{util.inOf(datas.content_list,'7') > -1}}">销量 8888</view>-->
|
|
<!--<view class="oneChild_activity"-->
|
|
<!--wx:if="{{!util.inOf(datas.content_list,'5') > -1 && util.inOf(datas.content_list,'6') > -1}}">赠送xx积分-->
|
|
<!--</view>-->
|
|
<!--<view class="oneChild_activity" wx:if="{{util.inOf(datas.content_list,'5') > -1}}">赠送xx爱心值</view>-->
|
|
</view>
|
|
<!--<view class="Child_member_price" wx:if="{{util.inOf(datas.content_list,'4') > -1}}">会员价 XX.00</view>-->
|
|
<view class="Child_price">
|
|
<view class="Child_now_price" style="width: {{datas.button_type == 1 || datas.button_type == 2 ? '50%' : '80%'}};font-size: {{item.vip_level_status&&item.vip_level_status.status==1 ? '12px': ''}}" wx:if="{{util.inOf(datas.content_list,'3') > -1}}"><text class="span">{{language['money']}}</text>
|
|
{{ item.vip_level_status&&item.vip_level_status.status==1?item.vip_level_status.word:item.pricenow }}</view>
|
|
<view class="Child_now_price" wx:if="{{!util.inOf(datas.content_list,'3') > -1}}"></view>
|
|
<view class="Child_buyBtn" wx:if="{{datas.button_type!=0}}">
|
|
<view class="buyBtn_{{datas.button_type}} buyBtn" style="border: solid 1rpx {{datas.button_bg_color}};color: {{datas.button_type == 2 || datas.button_type == 4 || datas.button_type == 6 ? datas.button_bg_color: datas.button_color}};background-color: {{datas.button_type == 1 || datas.button_type == 3 || datas.button_type == 5 ? datas.button_bg_color: ''}}">
|
|
<view wx:if="{{datas.button_type == 1||datas.button_type==2}}">{{datas.button_title}}</view>
|
|
<icon class="iconfont icon-gaiicon-" wx:if="{{datas.button_type == 3||datas.button_type==4}}">
|
|
</icon>
|
|
<icon class="iconfont icon-life-game-plus"
|
|
wx:if="{{datas.button_type == 5||datas.button_type==6}}">
|
|
</icon>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="pass_price" wx:if="{{item.pass_price}}">{{item.pass_price.name}}:{{item.pass_price.price}}</view>
|
|
<view class="oneChild_original_price" wx:if="{{util.inOf(datas.content_list,'2') > -1 && item.priceold != 0 && item.priceold!=item.pricenow}}">
|
|
{{language['money']}}{{item.priceold}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
<view style="clear: both"></view>
|
|
<view wx:if="{{datas.sort_style.choose_icon != 5 && !plugin_active}}">
|
|
<view class="loadMore" wx:if="{{isLoadMore && !allLoaded}}" catchtap="getMoreData">
|
|
{{language['加载更多']}}
|
|
</view>
|
|
<view class="loadMore" wx:if="{{allLoaded && bottomShowBolIndex == index }}">
|
|
{{language['没有更多了']}}~~
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|