<view class="container"><view class="header"><view class="image"><image src="https://zccy.liuniu946.com/static/img/menu-header.png" mode></image></view><view class="h-title"><view class="b">全部商品</view></view></view><view class="address"><block wx:if="{{isTakeaway}}"><view class="address-left"><block wx:if="{{addressData==0}}"><view data-event-opts="{{[['tap',[['loadMore',['/pages/set/address?source=1']]]]]}}" class="one " bindtap="__e"><view class="sl">请选择地址</view><view><image src="https://zccy.liuniu946.com/static/img/back.png"></image></view></view></block><block wx:if="{{addressData!=0}}"><view data-event-opts="{{[['tap',[['loadMore',['/pages/set/address?source=1']]]]]}}" class="one " bindtap="__e"><view class="sl clamp" style="max-width:70%;">{{''+(addressData.province+addressData.city+addressData.district)+" "+addressData.detail+''}}</view></view></block><view class="two"><view class="sl" style="max-width:70%;">{{checkedStore.name}}</view><view class="t-b">送出外卖</view></view></view></block><block wx:else><view data-event-opts="{{[['tap',[['selectStore',['$event']]]]]}}" class="address-left" catchtap="__e"><view class="one">{{checkedStore.name}}</view><view class="two"><view class="t-b">{{"距离你"+$root.f0}}</view></view></view></block><view class="address-right"><view data-event-opts="{{[['tap',[['change',['$event']]]]]}}" class="{{['bottom',(!isTakeaway)?'isChoose':'']}}" bindtap="__e">自提</view><view data-event-opts="{{[['tap',[['change',['$event']]]]]}}" class="{{['bottom',(isTakeaway)?'isChoose':'']}}" bindtap="__e">外送</view></view></view><view class="memu"><scroll-view class="option" scroll-y="true"><block wx:for="{{sList}}" wx:for-item="s" wx:for-index="index"><view data-event-opts="{{[['tap',[['optionChoose',[index]]]]]}}" class="{{['option-b',(index==isChoose)?'opIschoose':'']}}" bindtap="__e"><text>{{s.cate_name}}</text></view></block></scroll-view><scroll-view class="goods vue-ref" scroll-with-animation="{{true}}" scroll-top="{{scrolltop}}" scroll-y="true" data-ref="scrolly" data-event-opts="{{[['scroll',[['scrolle',['$event']]]]]}}" bindscroll="__e"><block wx:for="{{sList}}" wx:for-item="ls" wx:for-index="index"><view class="goods-list vue-ref-in-for" style="{{'min-height:'+(sList.length==index+1?bottomHeight+'px':'auto')+';'+('padding-bottom:'+(sList.length==index+1?'100rpx':'0')+';')}}" id="{{'main-'+ls.id}}" data-ref="pdheight"><text class="span">{{ls.cate_name}}</text><block wx:for="{{ls.list}}" wx:for-item="d" wx:for-index="ind"><block wx:if="{{ls.list}}"><view data-event-opts="{{[['tap',[['ToDetail',['$0'],[[['sList','',index],['list','',ind]]]]]]]}}" class="goods-list-c" bindtap="__e"><view class="goods-list-left"><image src="{{d.image}}" mode="scaleToFill"></image></view><view class="goods-list-right"><view class="one ">{{d.store_name}}</view><view class="two">{{'销量'+d.sales+'件'}}</view><view class="three"><view class="ot_price">{{"￥"+d.ot_price}}</view><view class="price">{{"￥"+d.price}}</view><button data-event-opts="{{[['tap',[['openMask',[index,ind]]]]]}}" class="button" catchtap="__e">选规格</button></view></view></view></block></block></view></block></scroll-view></view><block wx:if="{{sendVal}}"><dialog-bar vue-id="9ad1f540-1" showItem="{{actionItem}}" data-event-opts="{{[['^tcDel',[['tcDel']]],['^setShop',[['setShop']]]]}}" bind:tcDel="__e" bind:setShop="__e" bind:__l="__l"></dialog-bar></block><block wx:if="{{iscl}}"><choose-list-bar class="vue-ref" vue-id="9ad1f540-2" buy="{{buy}}" data-ref="cart" data-event-opts="{{[['^delChoose',[['delChoose']]],['^createOrder',[['createOrder',['$event']]]]]}}" bind:delChoose="__e" bind:createOrder="__e" bind:__l="__l"></choose-list-bar></block></view>