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
10 KiB

1 year ago
<view class="wanl-goods"><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">{{''+$root.m0+''}}</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><view data-event-opts="{{[['tap',[['showModal',['share']]]]]}}" class="share" style="margin-top:20rpx;" bindtap="__e"><view class="button wanl-gray-light margin-bottom"><text class="wlIcon-fenxiangcopy margin-right-xs"></text><text class="text-sm">分享</text></view></view></view></block><view class="title padding-lr-bj padding-bottom-bj"><view class="name wanl-black text-lg text-cut-2">{{''+(goodsData.title||'加载中...')+''}}</view></view></view><view class="choice margin-bottom-bj padding-bj text-sm bg-white"><view data-event-opts="{{[['tap',[['showModal',['option']]]]]}}" class="commodity margin-bottom-bj" bindtap="__e"><view class="opt"><view class="title wanl-gray">选择</view><view class="option"><view class="selected"><block wx:if="{{canCount}}"><view>选择<block wx:for="{{goodsData.spu}}" wx:for-item="item" wx:for-index="index" wx:key="id"><text class="margin-lr-xs">{{item.name}}</text></block></view></block><block wx:else><view>已选<text>{{$root.g2}}</text></view></block></view><view class="option-list"><block wx:for="{{goodsData.spu}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view><block wx:for="{{item.item}}" wx:for-item="tag" wx:for-index="__i0__" wx:key="name"><block wx:if="{{index==0}}"><text class="cu-tag">{{tag.name}}</text></block></block><block wx:if="{{index==0}}"><text class="cu-tag">更多规格可选</text></block></view></block></view></view></view><view class="text-sm wanl-gray"><text class="wlIcon-fanhui2"></text></view></view></view><wanl-divider vue-id="5b33e719-2" width="60%" bind:__l="__l" vue-slots="{{['default']}}">产品详情</wanl-divider><view class="wanl-goods-content bg-white" id="details"><rich-text nodes="{{goodsData.content}}"></rich-text></view><uni-load-more vue-id="5b33e719-3" status="{{status}}" content-text="{{contentText}}" bind:__l="__l"></uni-load-more><view class="safeAreaBottom"></view><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="WANL-MODAL text-sm" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="{{['cu-modal','top-modal',modalName=='menu'?'show':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="wanl-modal-menu cu-dialog" catchtap="__e"><wanl-direct bind:change="__e" vue-id="5b33e71