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 line
24 KiB

4 months ago
<view class="wanl-goods"><view class="cu-custom" style="{{'height:'+(wanlsys.height+'px')+';'}}"><view class="cu-bar fixed" style="{{'height:'+(wanlsys.height+'px')+';'+('padding-top:'+(wanlsys.top+'px')+';')}}"><block wx:if="{{pagesNum>1}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="action" bindtap="__e"><text class="wlIcon-fanhui1"></text></view></block><block wx:else><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="action" bindtap="__e"><text class="wlIcon-zhuye"></text></view></block><view class="search-form round"><text class="wlIcon-sousuo1 text-bold"></text><swiper class="search-swiper placeholder" vertical="{{true}}" autoplay="{{true}}" circular="{{true}}" interval="3000"><swiper-item data-event-opts="{{[['tap',[['productSearch',['']]]]]}}" bindtap="__e">搜索商品、类目</swiper-item></swiper></view><view class="action"><text data-event-opts="{{[['tap',[['showModal',['menu']]]]]}}" class="wlIcon-liebiaomoshi margin-left-bj" bindtap="__e"></text></view><view class="bar-bg solid-bottom" style="{{'top:'+(wanlsys.height+'px')+';'+('opacity:'+(headerOpacity)+';')}}"><scroll-view class="nav" scroll-x="{{true}}"><view class="flex justify-around text-center"><block wx:for="{{anchorlist}}" wx:for-item="anchor" wx:for-index="index" wx:key="name"><view data-event-opts="{{[['tap',[['toAnchor',[index]]]]]}}" class="{{['cu-item','',selectAnchor==index?'text-orange cur':'']}}" bindtap="__e">{{''+anchor.name+''}}</view></block></view></scroll-view></view><block wx:if="{{goodsData.isLive}}"><view data-event-opts="{{[['tap',[['onLive',['$0'],['goodsData.isLive.id']]]]]}}" class="wan-live" bindtap="__e"><view class="tag shadow-blur" style="{{'top:'+(wanlsys.height+47+'px')+';'}}"><view class="text-center"><view class="live"><view class="wanLive-icon"></view></view><text class="text-white margin-lr-xs">在直播</text></view></view></view></block></view></view><view class="swiper-box" id="swiper"><swiper circular="true" autoplay="true" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="swiper" wx:for-index="index" wx:key="index"><swiper-item><image src="{{swiper.g0}}" mode="aspectFill"></image></swiper-item></block></swiper><view class="indicator">{{currentSwiper+1+"/"+$root.g1}}</view></view><view class="bg-white"><block wx:if="{{goodsData.activity_type==='seckill'}}"><view class="price-rush bg-gradual-red margin-bottom-sm"><view class="price align-center padding-lr-bj"><view><view class="text-price text-white text-xxl text-bold margin-right-xs">0<text class="text-lg">.00</text><text class="margin-left-sm text-sm">已抢<text class="amount">0</text>件</text></view><view class="text-sm text-white text-price"><text class="text-dec">0.00</text></view></view><view><view class="text-xs margin-bottom-xs">距结束还剩:</view><wanl-countdown vue-id="5b33e719-1" time="{{1}}" height="{{40}}" width="{{40}}" size="{{28}}" colonsize="{{32}}" color="#ec008c" bcolor="#ffffff" bgcolor="#ffffff" coloncolor="#ffffff" bind:__l="__l"></wanl-countdown></view></view></view></block><block wx:else><view class="price margin-bottom-sm padding-lr-bj padding-top-bj align-start"><view><view class="text-price wanl-orange text-xxl margin-right-xs">{{goodsData.interval_price||'0.00'}}</view><view class="text-sm wanl-gray text-dec">市场价<text class="text-price margin-left-xs">{{goodsData.market_price||0.0}}</text></view></view><block wx:if="{{goodsData.follow}}"><view data-event-opts="{{[['tap',[['follow',['$event']]]]]}}" class="follow wanl-black" bindtap="__e"><text class="wlIcon-yiguanzhu1 text-red"></text><text class="text-xs">取关</text></view></block><block wx:else><view data-event-opts="{{[['tap',[['follow',['$event']]]]]}}" class="follow wanl-black" bindtap="__e"><text class="wlIcon-gerenguanzhu"></text><text class="text-xs">关注</text></view></block></view></block><view class="title padding-lr-bj padding-bottom-bj"><view class="name wanl-black text-lg text-cut-2"><block wx:if="{{goodsData.shop.isself==1}}"><view class="cu-tag