1 |
- <view class="container"><top-swiper vue-id="1c037ce0-1" imgList="{{imgList}}" bind:__l="__l"></top-swiper><product-content vue-id="1c037ce0-2" goodsObjact="{{goodsObjact}}" bind:__l="__l"></product-content><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></view>
|