weliam-smartcity智慧城市
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
4.0 KiB

<view style="{{'background-color:'+(publicgoodstwoData.style.bgColor)+';'}}" class="data-v-5febc92e"><view style="{{'padding:'+(publicgoodstwoData.style.margin+'px')+';'}}" class="data-v-5febc92e"><view class="public-goods padding-box data-v-5febc92e" style="margin-bottom:20rpx;"><view class="public-goodsHeader dis-flex flex-y-center flex-x-between data-v-5febc92e"><view class="data-v-5febc92e"><view class="public-goodsHeader-title f-36 col-3 m-btm10 data-v-5febc92e">{{publicgoodstwoData.params.title}}</view><view class="public-goodsHeader-subtitle f-24 col-9 data-v-5febc92e">{{publicgoodstwoData.params.sub_title}}</view></view><view class="f-36 col-3 data-v-5febc92e"><text class="f-42 data-v-5febc92e">{{swiperI}}</text>{{"/"+$root.g0}}</view></view><view class="public-goodsContent data-v-5febc92e"><swiper class="swiperMain data-v-5febc92e" style="{{'width:'+('100%')+';'+('height:'+(imgstyle.height+140+'px')+';')}}" indicator-dots="{{false}}" autoplay="{{true}}" interval="{{4000}}" duration="{{500}}" data-event-opts="{{[['change',[['swiperCg',['$event']]]]]}}" bindchange="__e"><block wx:for="{{publicgoodstwoDataArr}}" wx:for-item="item2" wx:for-index="key2" wx:key="key2"><swiper-item class="data-v-5febc92e"><view data-event-opts="{{[['tap',[['navigateTo',['$0'],[[['publicgoodstwoDataArr','',key2,'url']]]]]]]}}" class="swiper-goodsItem data-v-5febc92e" bindtap="__e"><view class="swiper-goodsImage m-top-btm20 data-v-5febc92e" style="{{'background-image:'+('url('+item2.long_logo+')')+';'+('width:'+(imgstyle.width+'px')+';')+('height:'+(imgstyle.height+'px')+';')+('background-size:'+('100% 100%')+';')}}"></view><view class="swiper-goodsIntor data-v-5febc92e"><view class="f-24 col-9 data-v-5febc92e">{{item2.storename+''}}<block wx:if="{{item2.distance}}"><view class="f-24 data-v-5febc92e" style="float:right;">{{''+item2.distance+''}}</view></block></view><view class="goodsName dis-flex flex-y-center m-top-btm20 data-v-5febc92e" style="margin-bottom:10rpx;"><block wx:if="{{item2.plugin=='rush'||item2.plugin=='groupon'||item2.plugin=='wlfightgroup'||item2.plugin=='coupon'||item2.plugin=='bargain'}}"><view class="goodsLabel f-24 col-3 t-c m-right20 f data-v-5febc92e">{{item2.plugin=='rush'?'抢购':item2.plugin=='groupon'?'团购':item2.plugin=='wlfightgroup'?'拼团':item2.plugin=='bargain'?'砍价':'优惠券'}}</view></block><view class="f-28 col-3 twolist-hidden swiperTitle data-v-5febc92e" style="width:80%;">{{item2.goods_name}}</view></view><view class="data-v-5febc92e"><view class="dis-flex flex-y-center flex-x-between data-v-5febc92e"><view class="dis-flex flex-y-center data-v-5febc92e"><block wx:if="{{item2.plugin!='coupon'||item2.is_charge=='1'}}"><view class="goods-price col-f4 f-40 m-right20 data-v-5febc92e">{{item2.price+"元"}}</view></block><block wx:else><view class="goods-price col-f4 f-40 m-right20 data-v-5febc92e">免费</view></block><block wx:if="{{(item2.plugin=='rush'||item2.plugin=='groupon'||item2.plugin=='wlfightgroup')&&item2.vipstatus==1&&item2.discount_price&&item2.discount_price!==null&&item2.discount_price!==''}}"><view class="vip-goodsPrice dis-flex flex-y-center data-v-5febc92e"><view class="viplabel m-right10 data-v-5febc92e">会员</view><view class="col-3 f-24 data-v-5febc92e">{{"优惠"+item2.discount_price+"元"}}</view></view></block></view><block wx:if="{{item2.plugin!='coupon'||item2.is_charge=='1'}}"><view class="buyBtn t-c col-f f-28 data-v-5febc92e">{{!!publicgoodstwoData.params.button_name?publicgoodstwoData.params.button_name:'购买'}}</view></block><block wx:else><view class="buyBtn t-c col-f f-28 data-v-5febc92e">领取</view></block></view><view class="dis-flex flex-y-center flex-x-between data-v-5febc92e" style="height:5rpx;margin-top:20rpx;vertical-align:text-top;"><block wx:if="{{item2.plugin!=='coupon'}}"><view class="f-24 col-9 data-v-5febc92e" style="text-decoration:line-through;">{{"市场价:"+item2.oldprice}}</view></block><view class="f-24 col-9 data-v-5febc92e">{{item2.buy_num+"人购买"}}</view></view></view></view></view></swiper-item></block></swiper></view></view></view></view>