<view><block tt:if="{{storeInfo&&storeInfo.service_type==2}}"><view class="address"><block tt:if="{{addressInfo}}"><view data-event-opts="{{[['tap',[['toAddress',['$event']]]]]}}" class="addressInfo" bindtap="__e"><view class="empty-data"><view class="left"><view class="contact-name">{{addressInfo.username+''}}<view class="mobile">{{addressInfo.mobile}}</view></view><view class="desc">{{addressInfo.region+addressInfo.address}}</view></view><view class="right"><image src="/static/image/right.png"></image></view></view></view></block><block tt:else><view data-event-opts="{{[['tap',[['toAddress',['$event']]]]]}}" class="addressInfo" bindtap="__e"><view class="empty-data"><view class="left"><image src="/static/image/location.png"></image></view><view class="name">完善收货地址</view><view class="right"><image src="/static/image/right.png"></image></view></view></view></block></view></block><view data-event-opts="{{[['tap',[['toDetail',['$event']]]]]}}" class="location" bindtap="__e"><view class="left"><view class="name">{{poi_name}}</view><view class="desc"><image src="/static/image/location.png"></image>{{"距您"+juli+"公里"}}</view></view><view class="right"><image src="/static/image/right.png"></image></view></view><block tt:if="{{goodsInfo}}"><view class="goods"><view class="goods-info"><view class="image"><image src="{{goodsInfo.product_img}}"></image></view><view class="info"><view class="name">{{goodsInfo.product_name}}</view><view class="desc">{{"x "+goodsInfo.count}}</view></view></view><view class="goods-item"><view class="left">商品总额</view><view class="right">{{"￥"+goodsInfo.order_amount}}</view></view><view class="goods-item"><view class="left">商品优惠</view><view class="right red">{{"￥"+goodsInfo.order_amount}}</view></view></view></block><block tt:else><view class="empty-data"><u-skeleton vue-id="7fe26462-1" rows="3" title="{{true}}" loading="{{true}}" bind:__l="__l"></u-skeleton></view></block><block tt:if="{{goodsSku.length>0}}"><view class="goods_skus"><block tt:for="{{goodsSku}}" tt:for-item="item" tt:for-index="indx" tt:key="indx"><view class="sku_box"><view class="sku_name">{{''+item.name+"（"+item.list.length+"选"+item.num+'）'}}<view data-event-opts="{{[['tap',[['clearSku',[indx]]]]]}}" class="right" bindtap="__e">清除</view></view><view class="sku_list"><block tt:for="{{item.list}}" tt:for-item="itm" tt:for-index="iddx" tt:key="iddx"><view data-event-opts="{{[['tap',[['skuCheck',['$0','$1',indx,iddx],[[['goodsSku','',indx,'name']],[['goodsSku','',indx,'num']]]]]]]}}" class="{{(itm.check?'sku_item':'sku_item active')}}" bindtap="__e">{{itm.name}}</view></block></view></view></block></view></block><block tt:if="{{storeInfo&&storeInfo.service_type==1}}"><view class="order-time"><view class="title">期望时间</view><view data-event-opts="{{[['tap',[['selectTime',[1]]]]]}}" class="msg" bindtap="__e">{{''+(timeStr?timeStr:'请选择')+''}}<view class="right"><image src="/static/image/right.png"></image></view></view></view></block><view class="order-msg"><view class="title">订单备注</view><view class="msg"><textarea class="textarea" placeholder="请输入" rows="{{5}}" data-event-opts="{{[['input',[['__set_model',['','msg','$event',[]]]]]]}}" value="{{msg}}" bindinput="__e"></textarea></view></view><view class="flx-footer"><view class="footer-btn"><view class="price"><text class="desc">{{"已优惠：￥"+goodsInfo.order_amount+"，"}}</text>合计<text class="money">￥0</text></view><view class="btn-group"><button class="btn" disabled="{{disabled}}" data-event-opts="{{[['tap',[['submitOrder',['$event']]]]]}}" bindtap="__e">{{disabled?'处理中...':'确认兑换'}}</button></view></view><view class="footer-safe"></view></view><uni-popup class="vue-ref" vue-id="7fe26462-2" type="bottom" borderRadius="10px 10px 0 0" backgroundColor="#F8F8F8" data-ref="timepopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="time-select"><view class="title">选择时间<view data-event-opts="{{[['tap',[['selectTime',[2]]]]]}}" class="close" bindtap="__e"><image src="/static/image/round_close.png"></image></view></view></view><view class="time-body"><view class="time-left"><block tt:for="{{timeData}}" tt:for-item="item" tt:for-index="index"><view data-event-opts="{{[['tap',[['timeCheck',[index]]]]]}}" class="{{(timeIndex==index?'time-left-item active':'time-left-item')}}" bindtap="__e"><view class="name">{{item.day}}</view><view class="desc">{{item.week}}</view></view></block></view><view class="time-right"><block tt:for="{{timeChildren}}" tt:for-item="item" tt:for-index="index"><view data-event-opts="{{[['tap',[['childCheck',[index]]]]]}}" class="{{(childIndex==index?'time-right-item active':'time-right-item')}}" bindtap="__e"><view class="name">{{item.display}}</view></view></block></view></view><view class="time-btn"><button data-event-opts="{{[['tap',[['checkTimeEnd',['$event']]]]]}}" class="btn" bindtap="__e">确认选择</button></view></uni-popup></view>