<view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="goods-sku data-v-4a4b7656" catchtouchmove="__e"><uni-popup class="sku-layer data-v-4a4b7656 vue-ref" vue-id="3b19f8cf-1" type="center" data-ref="skuPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="sku-content data-v-4a4b7656"><view class="sku-info data-v-4a4b7656" style="{{'height:'+(systemInfo.windowHeight*1+'px')+';'}}"><view class="header data-v-4a4b7656"><view class="img-wrap data-v-4a4b7656"><image src="{{$root.g0}}" data-event-opts="{{[['error',[['imageError']]]]}}" binderror="__e" class="data-v-4a4b7656"></image></view><view class="main data-v-4a4b7656"><view class="goodname data-v-4a4b7656">{{goodsDetail.goods_name}}</view><view class="stock color-tip data-v-4a4b7656">{{"库存"+goodsDetail.stock+goodsDetail.unit}}</view></view></view><view class="body-item data-v-4a4b7656"><scroll-view class="wrap data-v-4a4b7656" 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-4a4b7656"><text class="title font-size-tag color-tip data-v-4a4b7656">{{item.$orig.spec_name}}</text><view class="sku-list_item data-v-4a4b7656"><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 color-line-border font-size-tag data-v-4a4b7656',(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-4a4b7656"></image></block><text class="data-v-4a4b7656">{{item_value.$orig.spec_value_name}}</text></view></block></view></view></block></scroll-view></view><view class="footer data-v-4a4b7656"><view class="sku-name font-size-goods-tag data-v-4a4b7656"><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="color-tip data-v-4a4b7656">{{''+item.spec_value_name+" "+(index!=goodsDetail.sku_spec_format.length-1?' / ':' ')+''}}</text></block></block></view><view class="footer-bottom data-v-4a4b7656"><view class="footer-left data-v-4a4b7656"><view class="price-wrap data-v-4a4b7656"><text class="price color-base-text  data-v-4a4b7656">{{"￥"+goodsDetail.show_price}}</text></view></view><view class="footer-right data-v-4a4b7656"><block wx:if="{{number>0}}"><view class="change_num data-v-4a4b7656"><text data-event-opts="{{[['tap',[['changeNum',['-']]]]]}}" class="desc iconfont iconjianshao color-base-text data-v-4a4b7656" bindtap="__e"></text><input class="uni-input data-v-4a4b7656" type="number" placeholder="0" data-event-opts="{{[['blur',[['blur',['$event']]]],['input',[['__set_model',['','number','$event',[]]],['keyInput',[false]]]]]}}" value="{{number}}" bindblur="__e" bindinput="__e"/><text data-event-opts="{{[['tap',[['changeNum',['+']]]]]}}" class="add iconfont iconadd-fill color-base-text change_hover data-v-4a4b7656" bindtap="__e"></text></view></block><block wx:else><block wx:if="{{number==0&&isLoad}}"><view class="data-v-4a4b7656"><block wx:if="{{goodsDetail.stock&&goodsDetail.stock!=0}}"><button type="primary" data-event-opts="{{[['tap',[['confirm']]]]}}" bindtap="__e" class="data-v-4a4b7656">加入购物车</button></block><block wx:else><button type="primary" disabled="true" class="data-v-4a4b7656">确定</button></block></view></block></block></view></view></view></view></view><view data-event-opts="{{[['tap',[['closeSkuPopup']]]]}}" class="sku-close iconfont icon2guanbi data-v-4a4b7656" bindtap="__e"></view></uni-popup><ns-login vue-id="3b19f8cf-2" data-ref="login" class="data-v-4a4b7656 vue-ref" bind:__l="__l"></ns-login></view>