1 |
- <view class="container"><top-swiper vue-id="1c037ce0-1" imgList="{{imgList}}" video="{{video}}" bind:__l="__l"></top-swiper><product-content vue-id="1c037ce0-2" goodsObjact="{{goodsObjact}}" bind:__l="__l"></product-content><view data-event-opts="{{[['tap',[['shareLink']]]]}}" class="ptsf_box" bindtap="__e"><image class="ptsf_img" src="../../static/img/sharejt.png" mode></image><view class="ptfx_tit">分享</view></view><block wx:if="{{reply}}"><estimate vue-id="1c037ce0-3" reply="{{reply}}" list="{{list}}" data-event-opts="{{[['^navTo',[['navTo',['/pages/product/reply?id='+goodsid]]]]]}}" bind:navTo="__e" bind:__l="__l"></estimate></block><fresh-detail vue-id="1c037ce0-4" goodsObjact="{{goodsObjact}}" bind:__l="__l"></fresh-detail><content-text vue-id="1c037ce0-5" description="{{description}}" bind:__l="__l"></content-text><view class="contentBottomHeight"></view><product-bottom vue-id="1c037ce0-6" goodsObjact="{{goodsObjact}}" goodsid="{{goodsid}}" data-event-opts="{{[['^buy',[['buy']]],['^specOPne',[['specOPne']]]]}}" bind:buy="__e" bind:specOPne="__e" bind:__l="__l"></product-bottom><view data-event-opts="{{[['touchmove',[['stopPrevent',['$event']]]],['tap',[['toggleSpec',['$event']]]]]}}" class="{{['popup','spec',specClass]}}" catchtouchmove="__e" bindtap="__e"><view class="mask"></view><view data-event-opts="{{[['tap',[['stopPrevent',['$event']]]]]}}" class="layer attr-content" catchtap="__e"><view class="a-t"><image src="{{actionImage}}"></image><view class="right"><text class="name">{{goodsObjact.store_name}}</text><text class="price">{{"¥"+actionPrice*goodsNumber}}</text><text class="stock">{{"库存:"+goodsStore+"件"}}</text><block wx:if="{{specList!=''}}"><view class="selected">已选:<block wx:for="{{specSelected}}" wx:for-item="sItem" wx:for-index="sIndex" wx:key="sIndex"><text class="selected-text">{{sItem}}</text></block></view></block></view></view><block wx:for="{{specList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="attr-list"><text>{{item.attr_name}}</text><view class="item-list"><block wx:for="{{item.attr_value}}" wx:for-item="childItem" wx:for-index="childIndex" wx:key="childIndex"><text data-event-opts="{{[['tap',[['selectSpec',['$0','$1',index],[[['specList','',index],['attr_value','',childIndex]],[['specList','',index]]]]]]]}}" class="{{['tit',(childItem.check)?'selected':'']}}" bindtap="__e">{{''+childItem.attr+''}}</text></block></view></view></block><button data-event-opts="{{[['tap',[['buy',['$event']]]]]}}" hidden="{{!(buys_show)}}" class="btn" catchtap="__e">完成</button><button hidden="{{!(buys_shows)}}" class="btn" style="background-color:#999999;">售罄</button></view></view><uni-popup class="vue-ref" vue-id="1c037ce0-7" type="center" data-ref="popupshare" bind:__l="__l" vue-slots="{{['default']}}"><view class="share-box"><image class="box-img" src="{{shareImage}}" mode data-event-opts="{{[['longpress',[['saveImg']]]]}}" bindlongpress="__e"></image></view></uni-popup><block wx:if="{{shareShow}}"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="Shraremask" bindtap="__e"><view class="mask-content"><scroll-view class="view-content" scroll-y="{{true}}"><view class="share-header">分享到</view><view class="share-list"><view class="share-item"><button class="wechat-box" open-type="share"><image class="itemImage" src="../../static/icon/share1.png" mode></image><text class="itemText">微信好友</text></button><view data-event-opts="{{[['tap',[['shareToFriend']]]]}}" class="wechat-box" bindtap="__e"><image class="itemImage" src="../../static/icon/share4.png" mode></image><text class="itemText">生成海报</text></view></view></view></scroll-view><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="bottomButtom b-t" bindtap="__e">取消</view></view></view></block></view>
|