<view class="app-shop-product data-v-31ca9edc"><view class="app-mch dir-left-nowrap main-left cross-center data-v-31ca9edc"><block wx:if="{{mch.new_status===0||editStatus}}"><view data-event-opts="{{[['tap',[['changeAllRadio',['$0'],['mch']]]]]}}" class="app-all-radio cross-center data-v-31ca9edc" bindtap="__e"><block wx:if="{{!mch.is_active}}"><view class="app-all data-v-31ca9edc"></view></block><block wx:else><view class="app-all-active data-v-31ca9edc"></view></block></view></block><block wx:else><view class="app-all-radio cross-center data-v-31ca9edc"><view class="app-all app-all-n data-v-31ca9edc"></view></view></block><text class="app-mch-name data-v-31ca9edc">{{mch.name}}</text></view><block wx:for="{{mch.goods_list}}" wx:for-item="good" wx:for-index="index" wx:key="index"><view class="app-product dir-left-nowrap cross-top data-v-31ca9edc"><view class="app-single-radio dir-left-nowrap main-center cross-center data-v-31ca9edc"><block wx:if="{{good.new_status!==0&&!editStatus}}"><view class="app-invalid data-v-31ca9edc">失效</view></block><block wx:else><view data-event-opts="{{[['tap',[['changeSingleRadio',['$0','$1'],['mch',[['mch.goods_list','',index]]]]]]]}}" class="app-radio dir-top-nowrap main-center cross-center data-v-31ca9edc" bindtap="__e"><block wx:if="{{!good.is_active}}"><view class="radio-single data-v-31ca9edc"></view></block><block wx:else><view class="radio-single-active data-v-31ca9edc"></view></block></view></block></view><view data-event-opts="{{[['tap',[['jump',['$0'],[[['mch.goods_list','',index]]]]]]]}}" class="app-image data-v-31ca9edc" bindtap="__e"><image src="{{good.attrs.pic_url?good.attrs.pic_url:good.goods.cover_pic}}" class="data-v-31ca9edc"></image></view><view class="app-content data-v-31ca9edc"><text class="{{['app-title data-v-31ca9edc',(good.new_status!==0)?'app-failed-title':'']}}">{{''+good.goods.name+''}}</text><view class="app-specification-style data-v-31ca9edc"><block wx:for="{{good.attrs.attr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><text class="data-v-31ca9edc">{{''+item.attr_group_name+": "+item.attr_name+''}}</text></block></view><block wx:if="{{good.sign==='miaosha'}}"><view class="app-miaosha dir-left-nowrap main-left cross-center data-v-31ca9edc"><block wx:if="{{good.miaosha_status===2||good.miaosha_status===1}}"><icon class="app-miaosha-icon data-v-31ca9edc"></icon></block><block wx:if="{{good.miaosha_status===0}}"><icon class="app-spike-icon data-v-31ca9edc"></icon></block><block wx:if="{{good.miaosha_status===1}}"><view class="app-beginning data-v-31ca9edc">{{'秒杀中  还剩\n                    '+good.miaosha_string+'\n                    结束'}}</view></block><block wx:if="{{good.miaosha_status===0}}"><text class="app-over data-v-31ca9edc">秒杀已结束</text></block></view></block><block wx:if="{{good.new_status!==0}}"><view class="app-failed-goods data-v-31ca9edc"><block wx:if="{{good.new_status===2}}"><view class="app-text dir-left-nowrap main-left cross-center data-v-31ca9edc">商品已售罄,请联系卖家</view></block><block wx:else><block wx:if="{{good.new_status===3}}"><view class="app-text  dir-left-nowrap main-left cross-center data-v-31ca9edc">商品已失效</view></block><block wx:else><block wx:if="{{good.new_status===4}}"><view class="app-text  dir-left-nowrap main-left cross-center data-v-31ca9edc">商户已关闭</view></block><block wx:else><block wx:if="{{good.new_status===5}}"><view class="app-text dir-left-nowrap main-left cross-center data-v-31ca9edc">商品已下架</view></block></block></block></block></view></block><block wx:else><view class="dir-top-nowrap data-v-31ca9edc"><block wx:if="{{good.reduce_price>0&&good.new_status===0}}"><view class="reduce-price data-v-31ca9edc">{{'比加入时降￥'+good.reduce_price+''}}</view></block><view class="app-price-button dir-left-nowrap main-between cross-center data-v-31ca9edc"><text class="app-price data-v-31ca9edc">{{''+good.attrs.price+''}}</text><app-add-subtract vue-id="{{'0789bdaa-1-'+index}}" good_id="{{mch.goods_list[index].id}}" stock="{{good.attrs.stock}}" value="{{mch.goods_list[index].num}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['$0','num','$event',[]],['mch.goods_list.'+index+'']]]]]}}" bind:change="__e" bind:input="__e" class="data-v-31ca9edc" bind:__l="__l"></app-add-subtract></view></view></block></view></view></block></view>