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.
 
 
 
 
high-mini/unpackage/dist/build/mp-weixin/pages/goods/goods.wxml

1 lines
2.6 KiB

<view><view class="footer"><block wx:if="{{user.phone==null}}"><button class="width100 fotct btnfot" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e">立即购买</button></block><block wx:else><button data-event-opts="{{[['tap',[['buy',['$event']]]]]}}" class="width100 fotct btnfot" bindtap="__e">立即购买</button></block></view><view class="swiper-box"><swiper circular="true" autoplay="true" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{swiperList}}" wx:for-item="swiper" wx:for-index="__i0__" wx:key="id"><swiper-item><image src="{{imageUrl+swiper}}"></image></swiper-item></block></swiper><view class="indicator">{{currentSwiper+1+"/"+swiperList.length}}</view></view><view class="info-box goods-info"><view class="price">{{"¥"+goodsData[0].discountPrice+''}}<block wx:if="{{goodsData[0].discountPrice!=goodsData[0].salesPrice}}"><text class="zprice font14 fcor666">{{"¥"+goodsData[0].salesPrice}}</text></block></view><view class="title">{{''+goodsData[0].couponName+''}}</view><view class="mart10 width100"><view class="font14 fcor666">{{"库存 : "+goodsData[0].stockCount+"件"}}</view></view></view><view data-event-opts="{{[['tap',[['jumpstore',['$event']]]]]}}" class="info-box spec" bindtap="__e"><view class="row"><view class="text">门店列表</view><view class="arrow"><view class="icon xiangyou"></view></view></view></view><block wx:if="{{goodsData[0].handselCouponList!=''}}"><view class="description"><view class="title">———— 赠送卡券 ————</view><view class="product-list mart15"><block wx:for="{{goodsData[0].handselCouponList}}" wx:for-item="product" wx:for-index="__i1__" wx:key="id"><view data-event-opts="{{[['tap',[['toGoods',['$0'],[[['goodsData.__$n0.handselCouponList','id',product.id,'id']]]]]]]}}" class="product" bindtap="__e"><image mode="widthFix" src="{{imageUrl+product.highCouponModel.couponImg}}"></image><view class="name">{{product.highCouponModel.couponName}}</view><view class="info"><view class="price">{{"¥"+product.highCouponModel.discountPrice}}</view><block wx:if="{{product.highCouponModel.discountPrice!==product.highCouponModel.salesPrice}}"><view class="slogan">{{'¥'+product.highCouponModel.salesPrice}}</view></block></view></view></block></view></view></block><view class="description"><view class="title">———— 商品详情 ————</view><view class="content marb65"><rich-text nodes="{{descriptionStr}}"></rich-text></view></view><authorize vue-id="576f0adc-1" bind:__l="__l"></authorize></view>