<view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="goods-sku data-v-72a9eb56" catchtouchmove="__e"><uni-popup class="sku-layer data-v-72a9eb56 vue-ref" vue-id="4fe80ecf-1" type="center" data-ref="skuPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="sku-content data-v-72a9eb56"><view class="sku-info data-v-72a9eb56" style="{{'height:'+(systemInfo.windowHeight*1+'px')+';'}}"><view class="header data-v-72a9eb56"><view class="img-wrap data-v-72a9eb56"><image src="{{$root.g0}}" data-event-opts="{{[['error',[['imageError']]]]}}" binderror="__e" class="data-v-72a9eb56"></image></view><view class="main data-v-72a9eb56"><view class="goodname data-v-72a9eb56">{{goodsDetail.goods_name}}</view><view class="stock ns-text-color-gray data-v-72a9eb56">{{"库存"+goodsDetail.stock+(goodsDetail.unit?goodsDetail.unit:"件")}}</view></view></view><view class="body-item data-v-72a9eb56"><scroll-view class="wrap data-v-72a9eb56" scroll-y="{{true}}"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="sku-list-wrap data-v-72a9eb56"><text class="title ns-font-size-base ns-text-color-gray data-v-72a9eb56">{{item.$orig.spec_name}}</text><view class="sku-list_item data-v-72a9eb56"><block wx:for="{{item.l0}}" wx:for-item="item_value" wx:for-index="index_value" wx:key="index_value"><view data-event-opts="{{[['tap',[['change',['$0','$1'],[[['goodsDetail.goods_spec_format','',index],['value','',index_value,'sku_id']],[['goodsDetail.goods_spec_format','',index],['value','',index_value,'spec_id']]]]]]]}}" class="{{['items ns-border-color-gray ns-font-size-base data-v-72a9eb56',(item_value.$orig['selected']||skuId==item_value.$orig.sku_id)?'selected':'',(item_value.$orig['disabled']||!item_value.$orig['selected']&&disabled)?'disabled':'']}}" bindtap="__e"><block wx:if="{{item_value.$orig.image}}"><image src="{{item_value.g1}}" data-event-opts="{{[['error',[['valueImageError',[index,index_value]]]]]}}" binderror="__e" class="data-v-72a9eb56"></image></block><text class="data-v-72a9eb56">{{item_value.$orig.spec_value_name}}</text></view></block></view></view></block></scroll-view></view><view class="footer data-v-72a9eb56"><view class="sku-name ns-font-size-sm data-v-72a9eb56"><block wx:if="{{goodsDetail.sku_spec_format}}">已选择：<block wx:for="{{goodsDetail.sku_spec_format}}" wx:for-item="item" wx:for-index="index" wx:key="index"><text class="ns-text-color-gray data-v-72a9eb56">{{''+item.spec_value_name+" "+(index!=goodsDetail.sku_spec_format.length-1?' / ':' ')+''}}</text></block></block></view><view class="footer-bottom data-v-72a9eb56"><view class="footer-left data-v-72a9eb56"><view class="price-wrap data-v-72a9eb56"><text class="price ns-text-color  data-v-72a9eb56">{{"￥"+goodsDetail.show_price}}</text></view></view><view class="footer-right data-v-72a9eb56"><block wx:if="{{number}}"><view class="change_num data-v-72a9eb56"><text data-event-opts="{{[['tap',[['changeNum',['-']]]]]}}" class="desc iconfont iconjianshao ns-text-color data-v-72a9eb56" bindtap="__e"></text><input type="text" value="{{number}}" class="data-v-72a9eb56"/><text data-event-opts="{{[['tap',[['changeNum',['+']]]]]}}" class="add iconfont iconadd-fill ns-text-color change_hover data-v-72a9eb56" bindtap="__e"></text></view></block><block wx:else><view class="data-v-72a9eb56"><block wx:if="{{goodsDetail.stock&&goodsDetail.stock!=0}}"><button type="primary" data-event-opts="{{[['tap',[['confirm']]]]}}" bindtap="__e" class="data-v-72a9eb56">加入购物车</button></block><block wx:else><button class="btn-disabled data-v-72a9eb56" type="primary">确定</button></block></view></block></view></view></view></view></view><view data-event-opts="{{[['tap',[['closeSkuPopup']]]]}}" class="sku-close iconfont iconclose data-v-72a9eb56" bindtap="__e"></view></uni-popup><ns-show-toast vue-id="4fe80ecf-2" class="data-v-72a9eb56" bind:__l="__l"></ns-show-toast></view>