<view class="popup data-v-13cdb8a2"><block wx:if="{{showModal}}"><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]],['tap',[['onhide',['$event']]]]]}}" class="mask data-v-13cdb8a2" catchtouchmove="__e" bindtap="__e"></view></block><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="{{['data-v-13cdb8a2','sku '+(showModal==true?'shows':'')]}}" style="{{'bottom:'+(showModal==true?bottoms+'upx':'')+';'}}" catchtouchmove="__e"><view class="sku_top data-v-13cdb8a2"><image class="top_img data-v-13cdb8a2" src="{{currentSku.img}}"></image><view class="sku_title data-v-13cdb8a2">{{''+nowList.title+''}}</view><view class="moneys data-v-13cdb8a2">{{'￥'+$root.g0+''}}</view><view class="kucun data-v-13cdb8a2">{{'库存: '+currentSku.stock+''}}</view></view><block wx:if="{{nowList.sku&&nowList.sku.length!==0}}"><block class="data-v-13cdb8a2"><block wx:for="{{nowList.sku}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="sku_list data-v-13cdb8a2"><view class="sku_name data-v-13cdb8a2">{{''+item.skuname+''}}</view><view class="sku_tag data-v-13cdb8a2"><block wx:for="{{item.child}}" wx:for-item="row" wx:for-index="s" wx:key="id"><button class="{{['tag_s data-v-13cdb8a2',(row.disabled==true)?'ondisabled':'']}}" style="{{'color:'+(currentArr[item.sku_id]==row.id?colors:'#333333')+';'+('background:'+(currentArr[item.sku_id]==row.id?'#fff':'')+';')+('border-color:'+(currentArr[item.sku_id]==row.id?colors:'')+';')}}" disabled="{{row.disabled==true}}" data-event-opts="{{[['tap',[['setTag',['$0',index,s,'$1'],[[['nowList.sku','',index]],[['nowList.sku','',index],['child','id',row.id]]]]]]]}}" bindtap="__e">{{''+row.tagname+''}}</button></block></view></view></block></block></block><view class="number data-v-13cdb8a2"><view class="n_left data-v-13cdb8a2">购买数量</view><view class="n_right data-v-13cdb8a2"><text data-event-opts="{{[['tap',[['onreduce',['$event']]]]]}}" class="jian data-v-13cdb8a2" bindtap="__e">－</text><input class="inputs data-v-13cdb8a2" disabled="{{true}}" type="number" maxlength="2" value="{{number}}"/><text data-event-opts="{{[['tap',[['onadd',['$event']]]]]}}" class="jia data-v-13cdb8a2" bindtap="__e">＋</text></view></view><view class="btn_box data-v-13cdb8a2"><view data-event-opts="{{[['tap',[['onsubmit',['add']]]]]}}" class="addcart_btn data-v-13cdb8a2" style="{{('background-color:'+colors)}}" bindtap="__e">加入购物车</view><view data-event-opts="{{[['tap',[['onsubmit',['pay']]]]]}}" class="submit data-v-13cdb8a2" style="{{('background-color:'+colors)}}" bindtap="__e">立即购买</view></view></view></view>