integral_goods_details.wxml 3.6 KB

1
  1. <view style="{{(colorStyle)}}"><view class="product-con"><scroll-view style="{{('height:'+height+'px;')}}" scroll-top="{{scrollTop}}" scroll-y="true" scroll-with-animation="true" data-event-opts="{{[['scroll',[['scroll',['$event']]]]]}}" bindscroll="__e"><view id="past0"><product-con-swiper vue-id="25ea1b08-1" imgUrls="{{imgUrls}}" bind:__l="__l"></product-con-swiper><view class="wrapper"><view class="money acea-row row-middle"><block wx:if="{{$root.m0}}"><image src="static/my-point.png" mode></image></block><block wx:if="{{$root.m1}}"><text class="num font-color">{{storeInfo.integral||0}}</text></block><block wx:if="{{$root.m2}}"><text class="plus">+</text></block><block wx:if="{{$root.m3}}"><view class="num font-color"><text class="labels">¥</text>{{storeInfo.price||0}}</view></block></view><view class="introduce acea-row row-between"><view class="infor">{{''+storeInfo.title}}</view></view><view class="label acea-row row-middle"><view class="stock">{{"原价:¥"+storeInfo.product_price}}</view><view class="stock">{{"限量:\n\t\t\t\t\t\t\t"+storeInfo.quota_show+(storeInfo.unit_name||'')+''}}</view><view class="stock">{{"已兑换:"+storeInfo.sales+'次'}}</view></view></view><block wx:if="{{$root.g0}}"><view data-event-opts="{{[['tap',[['selecAttr',['$event']]]]]}}" class="attribute" bindtap="__e"><view class="acea-row row-between-wrapper df"><view><text class="atterTxt line1">{{attr+":"+attrValue}}</text></view><view class="iconfont icon-jiantou"></view></view><block wx:if="{{$root.g1>1}}"><view class="acea-row row-between-wrapper" style="margin-top:7px;padding-left:55px;"><view class="flex"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image class="attrImg" src="{{item.image}}"></image></block></view><view class="switchTxt">{{"共"+$root.g2+"种规格可选"}}</view></view></block></view></block></view><view class="product-intro" id="past2"><view class="title">产品介绍</view><view class="conter"><jyf-parser class="vue-ref" vue-id="25ea1b08-2" html="{{storeInfo.description}}" tag-style="{{tagStyle}}" data-ref="article" bind:__l="__l"></jyf-parser></view></view></scroll-view><view class="footer acea-row row-between-wrapper"><navigator class="item" hover-class="none" open-type="switchTab" url="/pages/index/index"><view class="iconfont icon-shouye6"></view><view class="p_center">首页</view></navigator><block wx:if="{{attribute.productSelect.quota>0&&attribute.productSelect.product_stock>0}}"><view class="bnt acea-row"><view data-event-opts="{{[['tap',[['goCat',['$event']]]]]}}" class="buy bnts" bindtap="__e">立即兑换</view></view></block><block wx:else><view class="bnt acea-row"><view class="bnts no-goods">无法兑换</view></view></block></view></view><product-window vue-id="25ea1b08-3" attr="{{attribute}}" limitNum="{{1}}" cusPreviewImg="{{1}}" type="points" productType="{{storeInfo.product_type}}" productId="{{storeInfo.product_id}}" id="product-window" data-event-opts="{{[['^myevent',[['onMyEvent']]],['^ChangeAttr',[['ChangeAttr']]],['^ChangeCartNum',[['ChangeCartNum']]],['^attrVal',[['attrVal']]],['^iptCartNum',[['iptCartNum']]],['^getImg',[['showImg']]]]}}" bind:myevent="__e" bind:ChangeAttr="__e" bind:ChangeCartNum="__e" bind:attrVal="__e" bind:iptCartNum="__e" bind:getImg="__e" bind:__l="__l"></product-window><cus-preview-img class="vue-ref" vue-id="25ea1b08-4" list="{{skuArr}}" data-ref="cusPreviewImg" data-event-opts="{{[['^changeSwitch',[['changeSwitch']]]]}}" bind:changeSwitch="__e" bind:__l="__l"></cus-preview-img><kefu-icon vue-id="25ea1b08-5" ids="{{storeInfo.product_id}}" routineContact="{{routineContact}}" bind:__l="__l"></kefu-icon></view>