160 lines
13 KiB
Plaintext
160 lines
13 KiB
Plaintext
<view style="margin-top:{{diyitem.style.margintop}}rpx;margin-bottom:{{diyitem.style.marginbottom*2}}rpx">
|
||
<view class="fui-cell-group fui-cell-click fui-sale-group" style="margin-top:0;background-color:{{diyitem.style.background}}" wx:if="{{goods.ispresell==1&&goods.preselltimestart<now&&(preselltimeend>now||preselltimeend==0)}}">
|
||
<view class="fui-list">
|
||
<view class="fui-list-media">
|
||
<view class="fui-cell-text">
|
||
<span class="fui-label fui-label-safety">预售</span>
|
||
</view>
|
||
</view>
|
||
<view class="fui-list-inner" style="font-size:26rpx;color:#666;color:{{diyitem.style.textcolor}}">
|
||
<view wx:if="{{preselltimeend>0}}">结束时间:{{goods.preselldateend}}</view>
|
||
预计发货:
|
||
<block wx:if="{{goods.presellsendtype>0}}">
|
||
购买后{{goods.presellsendtime}}天发货
|
||
</block>
|
||
<block wx:else>
|
||
{{goods['presellsendstatrttime']}}
|
||
</block>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="favourable" wx:if="{{!goods.seckillinfo}}">
|
||
<view class="fui-cell-group fui-sale-group" style="margin-top:0;background-color:{{diyitem.style.background}}" wx:if="{{goods.buyagain>0}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-text" style="white-space:normal;color:{{diyitem.style.textcolor}}">此商品二次购买 可享受<span class="text-danger" style="color:{{diyitem.style.textcolorhigh}}">{{goods.buyagain}}</span>折优惠
|
||
<view style="color:{{diyitem.style.textcolor}}" wx:if="{{!goods.buyagain_sale}}">二次购买的时候 不与其他优惠共享</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="couponPicker" class="fui-cell-group fui-cell-click fui-sale-group noborder" wx:if="{{coupon.length>0}}">
|
||
<view class="fui-cell" style="background-color:{{diyitem.style.background}}">
|
||
<view class="fui-cell-text coupon-selector">
|
||
<span style="margin-right: 0.25rem;color:{{diyitem.style.textcolor}}">优惠券</span>
|
||
<span class="coupon-mini" style="background-color:{{diyitem.style.textcolorhigh}}" wx:if="{{index<5}}" wx:for="{{coupon}}">
|
||
<span class="subtitle" wx:if="{{item.backpre}}">¥</span>{{item.backmoney}}<span class="subtitle" wx:if="{{item.backtype==1}}">折</span>
|
||
</span>
|
||
</view>
|
||
<view class="fui-cell-remark">
|
||
<text style="color:{{diyitem.style.textcolor}} !important" wx:if="{{coupon_l>5}}">更多</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<block wx:if="{{limits}}">
|
||
<block wx:if="{{goods.isdiscount==0||goods.isdiscount!=0&&goods.isdiscount_time<now}}">
|
||
<view class="fui-cell-group fui-sale-group" style="background-color:{{diyitem.style.background}}" wx:if="{{!goods.memberprice==''&&goods.memberprice!=minprice&&!goods.levelbuy==0}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label" style="color:#000;width:86rpx;color:{{diyitem.style.textcolor}} !important">会员</view>
|
||
<view class="fui-cell-text" style="color:{{diyitem.style.textcolor}} !important">
|
||
<view class="sale-line">
|
||
<span class="sale-tip" style="border-color:{{diyitem.style.textcolorhigh}};color:{{diyitem.style.textcolorhigh}}">{{goods.memberprice.levelname}}</span>
|
||
<text style="color:{{diyitem.style.textcolor}}"> 可享受</text>
|
||
<span class="text-danger" style="color:{{diyitem.style.textcolorhigh}}">¥{{goods.memberprice.price}}</span>
|
||
<text style="color:{{diyitem.style.textcolor}}">的价格</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
</block>
|
||
<block wx:if="{{limits}}">
|
||
<view bindtap="giftPicker" class="fui-cell-group fui-sale-group" style="background-color:{{diyitem.style.background}}" wx:if="{{goods.isgift==1}}">
|
||
<view class="fui-cell" style="color:{{diyitem.style.textcolor}} !important">
|
||
<view class="fui-cell-label" style="color:#000;width:98rpx">赠品</view>
|
||
<view class="fui-cell-info" wx:if="{{goods.gifts.length==1}}">{{goods.gifts[0].title}}</view>
|
||
<view class="fui-cell-info" style="{{gift_title?'':'color:#666;'}}" wx:else>{{gift_title?gift_title:'请选择赠品'}}</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</view>
|
||
</block>
|
||
<view bindtap="activityPicker" class="fui-cell-group fui-sale-group" style="margin-top: 1rpx;background-color:{{diyitem.style.background}};color:{{diyitem.style.textcolor}} !important" wx:if="{{limits&&activity!=''}}">
|
||
<view class="fui-cell" style="color:{{diyitem.style.textcolor}} !important">
|
||
<view class="fui-cell-label" style="color:{{diyitem.style.textcolor?diyitem.style.textcolor:'#000'}} !important;width:86rpx">活动</view>
|
||
<view class="fui-cell-text">
|
||
<view class="sale-line" style="color:{{diyitem.style.textcolor}}" wx:if="{{activity.enough||activity.merch_enough}}">
|
||
<span class="sale-tip" style="border-color:{{diyitem.style.textcolorhigh}};color:{{diyitem.style.textcolorhigh}}">满减</span>
|
||
<text wx:if="{{activity.enough}}"> 全场满</text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}">{{activity.enough[0].enough}}</text>
|
||
<text wx:if="{{activity.enough}}">立减</text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}" wx:if="{{activity.enough}}">{{activity.enough[0].money}}</text>
|
||
<text style="color:{{diyitem.style.textcolor}}" wx:if="{{activity.merch_enough}}">本店满</text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}" wx:if="{{activity.merch_enough}}">{{activity.merch_enough[0].enough}}</text>
|
||
<text wx:if="{{activity.merch_enough}}">立减</text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}" wx:if="{{activity.merch_enough}}">{{activity.merch_enough[0].give}}</text>
|
||
<text>;</text>
|
||
</view>
|
||
<view class="sale-line" style="font-size: 24rpx;color:{{diyitem.style.textcolor}}" wx:if="{{fullbackgoods}}">
|
||
<span class="sale-tip" style="border-color:{{diyitem.style.textcolorhigh}};color:{{diyitem.style.textcolorhigh}}">{{goods.fullbacktext}}</span>
|
||
该商品享受
|
||
<span class="text-danger" style="color:{{diyitem.style.textcolorhigh}}" wx:if="{{fullbackgoods.type==0}}">¥{{fullbackgoods.maxallfullbackallprice}}</span>
|
||
<span class="text-danger" style="color:{{diyitem.style.textcolorhigh}}" wx:if="{{fullbackgoods.type==1}}">{{maxallfullbackallratio}}%
|
||
</span>
|
||
的
|
||
<text style="color:{{diyitem.style.textcolorhigh}}">{{goods.fullbacktext}}</text>;
|
||
</view>
|
||
<view class="sale-line" style="font-size: 24rpx;color:{{diyitem.style.textcolor}}" wx:if="{{activity.postfree}}">
|
||
<span class="sale-tip" style="border-color:{{diyitem.style.textcolorhigh}};color:{{diyitem.style.textcolorhigh}}">包邮</span>
|
||
<span wx:if="{{activity.postfree.goods}}"> 本商品包邮;</span>
|
||
<text wx:if="{{activity.postfree.scope}}">
|
||
<text>{{activity.postfree.scope}}</text>
|
||
<text wx:if="{{activity.postfree.enoughfree>0}}">满</text>
|
||
<text>¥</text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}">{{activity.postfree.enoughfree}}</text>
|
||
<text> 包邮;</text>
|
||
</text>
|
||
<text wx:if="{{activity.postfree.num}}">单品买</text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}">{{activity.postfree.num}} </text>
|
||
<text wx:if="{{activity.postfree.num}}"> 件包邮;</text>
|
||
<text wx:if="{{activity.postfree.price}}">单品买¥</text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}" wx:if="{{activity.postfree.price}}">{{activity.postfree.price}} 包邮;</text>
|
||
</view>
|
||
<view class="sale-line" style="font-size: 24rpx;color:{{diyitem.style.textcolor}}" wx:if="{{activity.buyagain}}">
|
||
<span class="sale-tip" style="border-color:{{diyitem.style.textcolorhigh}};color:{{diyitem.style.textcolorhigh}}">复购</span>
|
||
此商品重复购买可享受
|
||
<text style="color:{{diyitem.style.textcolorhigh}}">{{activity.buyagain.discount}}</text>
|
||
折;
|
||
<span wx:if="{{activity.buyagain.buyagain_sale==0}}">重复购买 不与其他优惠共享</span>
|
||
</view>
|
||
<view class="sale-line" style="font-size: 24rpx;" wx:if="{{activity.credit}}">
|
||
<span class="sale-tip" style="border-color:{{diyitem.style.textcolorhigh}};color:{{diyitem.style.textcolorhigh}}">{{credittext}}</span>
|
||
<text wx:if="{{activity.credit.deduct}}"> 最高抵扣¥</text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}" wx:if="{{activity.credit.deduct}}">{{activity.credit.deduct}};</text>
|
||
<text style="color:{{diyitem.style.textcolor}}" wx:if="{{activity.credit.give}}"> 购买赠送 </text>
|
||
<text style="color:{{diyitem.style.textcolorhigh}}" wx:if="{{activity.credit.give}}"> {{activity.credit.give}}</text>
|
||
<text style="color:{{diyitem.style.textcolor}}" wx:if="{{activity.credit.give}}"> {{credittext}}</text>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="sendclick" class="fui-cell-group fui-sale-group" style="margin-top: 1rpx;background-color:{{diyitem.style.background}}" wx:if="{{goods.city_express_state}}">
|
||
<view class="fui-cell">
|
||
<view class="fui-cell-label" style="color:#000;width:86rpx;color:{{diyitem.style.textcolor}}">配送</view>
|
||
<view class="fui-cell-label sale-line" style="flex: 1;font-size: 24rpx;">
|
||
<span class="sale-tip" style="border-color:{{diyitem.style.textcolorhigh}};color:{{diyitem.style.textcolorhigh}}">同城</span>
|
||
<text style="color:{{diyitem.style.textcolor}}"> 查看商家位置</text>
|
||
</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view bindtap="cityPicker" class="fui-cell-group fui-cell-click fui-sale-group" data-class="city-picker" data-tap="{{active}}" id="city-picker" style="margin-top:0;background-color:{{diyitem.style.background}}" wx:if="{{goods.citys.citys.length>0&&goods.type!=5&&goods.isverify!=2}}">
|
||
<view class="fui-cell" style="background-color:{{diyitem.style.background}};color:{{diyitem.style.textcolor}}">
|
||
<view class="fui-cell-text" style="color:{{diyitem.style.textcolor}}">{{goods.citys.onlysent==0?'不':'只'}}配送区域:
|
||
<block wx:for="{{goods.citys.citys}}" wx:for-index="idx">{{item}}</block>
|
||
</view>
|
||
<view class="fui-cell-remark"></view>
|
||
</view>
|
||
</view>
|
||
<view class="fui-cell-group fui-option-group" style="margin-top:0;background-color:{{diyitem.style.background}}" wx:if="{{goods.hasServices||goods.labelname}}">
|
||
<view class="goods-label-demo">
|
||
<view class="goods-label-list goods-label-style{{labels.style+1}}" style="background:#fafafa">
|
||
<span wx:for="{{labels.list}}" wx:key="index">
|
||
<icon class="icox icox-duihao1" wx:if="{{labels.style<2}}"></icon>
|
||
<text>{{item}}</text>
|
||
</span>
|
||
<view style="clear: both;"></view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|