| 1 |
- <view class="content data-v-57280228"><view data-event-opts="{{[['tap',[['goAddress']]]]}}" class="address text-bold data-v-57280228" bindtap="__e"><view class="address_name data-v-57280228">{{address?address:'选择地址'}}</view><u-icon vue-id="8dd740cc-1" name="arrow-down" color="#333333" size="28" class="data-v-57280228" bind:__l="__l"></u-icon></view><view class="bg-white data-v-57280228" style="margin-top:180rpx;"><view class="padding-lr padding-top data-v-57280228"><view data-event-opts="{{[['tap',[['goNav',['/pages/index/search/index']]]]]}}" class="flex align-center padding-left data-v-57280228" style="border:2rpx solid #FFAF5E;height:80rpx;border-radius:60rpx;" bindtap="__e"><u-icon vue-id="8dd740cc-2" name="search" size="46" class="data-v-57280228" bind:__l="__l"></u-icon><view class="flex-sub text-gray margin-left-sm data-v-57280228">输入商家或商品名称</view><view class="search-btn data-v-57280228">搜索</view></view></view><view class="padding-top padding-lr data-v-57280228"><swiper class="swiper radius data-v-57280228" style="width:100%;height:280rpx;" autoplay="{{true}}" interval="2000" duration="500" circular="{{true}}"><block wx:for="{{bannerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['goNav',['$0'],[[['bannerList','',index,'url']]]]]]]}}" bindtap="__e" class="data-v-57280228"><image class="radius data-v-57280228" style="width:100%;height:280rpx;" src="{{item.imageUrl}}"></image></swiper-item></block></swiper></view><block wx:if="{{XCXIsSelect=='是'}}"><view class="padding-lr radius data-v-57280228"><u-grid vue-id="8dd740cc-3" col="{{5}}" border="{{false}}" class="data-v-57280228" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{gridData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item bind:tap="__e" vue-id="{{('8dd740cc-4-'+index)+','+('8dd740cc-3')}}" data-event-opts="{{[['^tap',[['goDetail',['$0'],[[['gridData','',index]]]]]]]}}" class="data-v-57280228" bind:__l="__l" vue-slots="{{['default']}}"><image style="width:92rpx;height:92rpx;border-radius:92rpx;" src="{{item.imageUrl}}" class="data-v-57280228"></image><view class="grid-text margin-top-sm data-v-57280228">{{item.name}}</view></u-grid-item></block></u-grid></view></block></view><view class="flex justify-between align-center bg-white padding-bottom padding-lr radius bg-white data-v-57280228" style="width:100%;height:100rpx;"><image style="width:140rpx;height:50rpx;" src="../../static/images/index/gonggao.png" mode class="data-v-57280228"></image><view class="flex-sub margin-left-sm data-v-57280228"><swiper class="swiper data-v-57280228" style="height:40rpx;overflow:hidden;" autoplay="1500" vertical="{{true}}"><block wx:for="{{noticeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item class="data-v-57280228"><text class="data-v-57280228">{{item.title}}</text></swiper-item></block></swiper></view></view><block wx:if="{{XCXIsSelect=='是'}}"><view class="flex justify-between padding-lr bg-white data-v-57280228"><image style="width:338rpx;height:180rpx;" src="../../static/images/index/jifen.png" mode data-event-opts="{{[['tap',[['goNav',['/my/integral/index']]]]]}}" bindtap="__e" class="data-v-57280228"></image><image style="width:338rpx;height:180rpx;" src="../../static/images/index/renwu.png" mode data-event-opts="{{[['tap',[['goNav',['/my/task/index']]]]]}}" bindtap="__e" class="data-v-57280228"></image></view></block><block wx:if="{{$root.g0}}"><view class="huodong flex justify-center data-v-57280228"><view class="huodong-box flex justify-center data-v-57280228"><view class="huodong-box-c data-v-57280228"><view class="huodong-box-c-title flex justify-between align-center data-v-57280228"><view class="huodong-box-c-title-l flex align-center data-v-57280228"><image src="../../static/images/index/hd.png" mode class="data-v-57280228"></image></view><view class="huodong-box-c-title-r data-v-57280228">美食速达</view></view><view class="huodong-box-c-list data-v-57280228"><swiper style="height:300rpx;" indicator-dots="{{false}}" display-multiple-items="3" circular="{{true}}" autoplay="{{false}}" previous-margin="5" interval="{{300}}" duration="{{300}}" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e" class="data-v-57280228"><block wx:for="{{huodongList}}" wx:for-item="item" wx:for-index="index"><swiper-item data-event-opts="{{[['tap',[['gotohuodong',['$0','$1','$2','$3'],[[['huodongList','',index,'name']],[['huodongList','',index,'id']],[['huodongList','',index,'imageUrl']],[['huodongList','',index,'url']]]]]]]}}" style="border-radius:28rpx;height:320rpx;" bindtap="__e" class="data-v-57280228"><view class="swiper-item flex justify-center flex-wrap align-center data-v-57280228" style="{{'width:200rpx;height:240rpx;background:linear-gradient(0deg, rgba(252, 210, 2, 0.8) 0%, rgba(252, 210, 2, 1) 100%);border-radius:28rpx;'+(currents==index?'height:260rpx;border-radius: 28rpx;':'margin-top:14rpx;')}}"><view class="flex justify-center align-center data-v-57280228" style="{{'width:190rpx;height:180rpx;border-radius:28rpx;margin-top:5rpx;'+(currents==index?'height:200rpx':'')}}"><image style="width:95%;height:95%;border-radius:20rpx;" src="{{item.imageUrl}}" mode="aspectFill" class="data-v-57280228"></image></view><view style="width:100%;text-align:center;font-size:32rpx;color:white;font-weight:bold;padding-bottom:10rpx;" class="data-v-57280228">{{''+item.name+''}}</view></view></swiper-item></block></swiper></view></view></view></view></block><block wx:if="{{$root.g1}}"><view class="jxShop flex justify-center data-v-57280228"><view class="jxShop-box flex justify-center data-v-57280228"><view class="jxShop-box-c data-v-57280228"><view class="jxShop-box-c-title flex justify-between align-center data-v-57280228"><view class="jxShop-box-c-title-l data-v-57280228">推荐商家</view><view data-event-opts="{{[['tap',[['gotoList']]]]}}" class="jxShop-box-c-title-r flex align-center data-v-57280228" bindtap="__e">更多<u-icon vue-id="8dd740cc-5" name="arrow-right" color="#1E1F31" size="28" class="data-v-57280228" bind:__l="__l"></u-icon></view></view><view class="jxShop-box-c-list flex justify-between data-v-57280228"><block wx:for="{{jxlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goShopDet',['$0','$1','$2'],[[['jxlist','',index,'shopId']],[['jxlist','',index]],[['jxlist','',index,'shopActivityList']]]]]]]}}" class="jxShop-box-c-list-item data-v-57280228" bindtap="__e"><image src="{{item.shopCover}}" mode="aspectFill" class="data-v-57280228"></image><view class="jxShop-box-c-list-item-name data-v-57280228">{{''+item.shopName+''}}</view></view></block><view class="jxShop-box-c-list-item data-v-57280228" style="height:0;"></view><view class="jxShop-box-c-list-item data-v-57280228" style="height:0;"></view></view></view></view></view></block><view class="flex justify-center data-v-57280228" style="position:relative;background-color:#ffffff;padding-top:20rpx;padding-bottom:20rpx;"><view class="flex justify-between align-center bg-white data-v-57280228" style="width:686rpx;"><view data-event-opts="{{[['tap',[['confirm',[1]]]]]}}" class="{{['data-v-57280228',current==1?'select':'']}}" bindtap="__e">综合排序</view><view data-event-opts="{{[['tap',[['confirm',[3]]]]]}}" class="{{['data-v-57280228',current==3?'select':'']}}" bindtap="__e">距离优先</view><view data-event-opts="{{[['tap',[['confirm',[4]]]]]}}" class="{{['data-v-57280228',current==4?'select':'']}}" bindtap="__e">销量优先</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex data-v-57280228" bindtap="__e"><view class="flex align-center data-v-57280228" style="margin:0 auto;"><view class="{{['data-v-57280228',isShow?'select':'']}}">筛选</view><block wx:if="{{!isShow}}"><u-icon vue-id="8dd740cc-6" name="arrow-down" size="28" class="data-v-57280228" bind:__l="__l"></u-icon></block><block wx:if="{{isShow}}"><u-icon vue-id="8dd740cc-7" name="arrow-up" color="#FCD202" size="28" class="data-v-57280228" bind:__l="__l"></u-icon></block></view></view></view><block wx:if="{{isShow}}"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="position:absolute;top:50rpx;width:100%;z-index:10;background:rgba(0,0,0,.5);height:100vh;" bindtap="__e" class="data-v-57280228"><view class="padding-lr bg-white data-v-57280228"><block wx:for="{{options4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getSelect',['$0'],[[['options4','',index]]]]]]]}}" class="flex justify-between align-center padding-tb-sm u-border-bottom data-v-57280228" catchtap="__e"><view class="{{['text-df','data-v-57280228',item.select?'select':'']}}">{{item.shopTypeName}}</view><block wx:if="{{item.select}}"><u-icon vue-id="{{'8dd740cc-8-'+index}}" name="checkmark" color="#FCD202" size="28" class="data-v-57280228" bind:__l="__l"></u-icon></block></view></block></view></view></block></view><block wx:if="{{$root.g2>0}}"><view class="hd flex justify-center data-v-57280228"><view class="hd-box data-v-57280228"><scroll-view class="scroll-view_H data-v-57280228" scroll-x="true"><block wx:for="{{hdlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['searchhd',[index,'$0'],[[['hdlist','',index,'id']]]]]]]}}" class="hd-box-item data-v-57280228" style="{{(currenthd==index?'background-color:#fcd202;':'')}}" bindtap="__e">{{''+item.title+''}}</view></block></scroll-view></view></view></block><view class="padding-lr data-v-57280228"><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goShopDet',['$0','$1','$2'],[[['shopList','',index,'shopId']],[['shopList','',index]],[['shopList','',index,'shopActivityList']]]]]]]}}" class="margin-tb-sm flex justify-between bg-white padding-sm radius data-v-57280228" bindtap="__e"><image class="radius data-v-57280228" style="width:160rpx;height:160rpx;" src="{{item.shopCover[0]}}"></image><view class="margin-left-sm data-v-57280228" style="width:450rpx;"><view class="flex flex-direction justify-between data-v-57280228"><view class="text-lg text-bold text-black data-v-57280228">{{item.shopName}}</view><view class="flex align-center margin-top-xs data-v-57280228" style="width:100%;"><u-icon vue-id="{{'8dd740cc-9-'+index}}" name="star-fill" color="#FD6416" size="28" class="data-v-57280228" bind:__l="__l"></u-icon><text class="text-lg data-v-57280228">{{''+(item.shopScore?item.shopScore:0)}}</text><text class="text-gray flex-sub margin-left-xs data-v-57280228">{{"销量"+(item.shopSales?item.shopSales:0)}}</text><text class="text-gray margin-left-xs data-v-57280228">{{item.errandTime+"分钟"}}</text><text class="text-gray margin-left-xs data-v-57280228">{{item.distance}}</text></view><view class="text-gray margin-top-xs flex justify-between data-v-57280228"><view class="data-v-57280228">{{"起送 ¥"+item.minimumDelivery+" 配送 ¥"+(item.errandMoney?item.errandMoney:0)}}</view><view style="color:#FCD202;" class="data-v-57280228">{{item.autoSendOrder==1?'商家配送':'平台配送'}}</view></view><block wx:if="{{item.businessHours&&item.lockHours}}"><view class="text-gray margin-top-xs data-v-57280228">{{'营业时间:'+item.businessHours+"-"+item.lockHours}}</view></block><view class="flex margin-top-xs justify-between align-start data-v-57280228" style="width:100%;"><view class="flex flex-wrap align-center data-v-57280228" style="width:100%;height:100%;overflow:hidden;"><block wx:if="{{item.enableFullReductionFlag==0&&item.exemptMinMoney}}"><view class="lable flex justify-center align-center data-v-57280228">{{'满'+item.exemptMinMoney+"免配送费"}}</view></block><block wx:for="{{item.shopActivityList}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><block wx:if="{{item.shopActivityList&&ite.activityType!='1'}}"><view class="data-v-57280228"><view class="lable flex justify-center align-center data-v-57280228" style="border-radius:4rpx;background-color:#ffffff;color:red;box-sizing:border-box;"><block wx:if="{{ite.activityType=='2'}}"><text class="data-v-57280228">时段</text></block><block wx:if="{{ite.activityType=='3'}}"><text class="data-v-57280228">满额</text></block><block wx:if="{{ite.activityType=='4'}}"><text class="data-v-57280228">全场</text></block><text style="margin-left:3px;" class="data-v-57280228">|</text><text style="margin-left:3px;" class="data-v-57280228">{{ite.activityName}}</text></view></view></block></block><block wx:for="{{item.shopLable}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><block wx:if="{{item.shopLable}}"><view class="lable flex justify-center align-center data-v-57280228">{{''+ite+''}}</view></block></block><block wx:for="{{item.couponList}}" wx:for-item="it" wx:for-index="ide" wx:key="ide"><block wx:if="{{item.couponList}}"><view class="lable flex justify-center align-center data-v-57280228" style="border-radius:4rpx;border:1rpx solid red;background-color:#ffffff;color:red;box-sizing:border-box;"><text class="data-v-57280228">优惠券</text><text style="margin-left:3px;" class="data-v-57280228">|</text><text style="margin-left:3px;" class="data-v-57280228">{{"满"+it.minMoney+"减"+it.money}}</text></view></block></block></view></view></view><view class="flex margin-top-xs data-v-57280228"><block wx:for="{{item.goodsList}}" wx:for-item="ite" wx:for-index="ind" wx:key="ind"><view data-event-opts="{{[['tap',[['goDet',['$0','$1'],[[['shopList','',index],['goodsList','',ind,'goodsId']],[['shopList','',index,'shopId']]]]]]]}}" style="width:33%;" catchtap="__e" class="data-v-57280228"><image class="radius data-v-57280228" style="width:120rpx;height:120rpx;" src="{{ite.goodsCover}}" mode></image><view class="u-line-1 text-df text-bold margin-top-xs data-v-57280228">{{ite.goodsName}}</view><view class="text-bold margin-top-xs data-v-57280228" style="color:#FD6416;"><text class="text-sm data-v-57280228">¥</text>{{''+ite.goodsMoney}}</view></view></block></view></view></view></block></view><block wx:if="{{!$root.g3}}"><view class="page-box data-v-57280228"><block wx:if="{{XCXIsSelect=='是'}}"><view class="centre data-v-57280228"><image src="../../static/images/empty.png" mode class="data-v-57280228"></image><view class="tips data-v-57280228">暂无内容</view></view></block><block wx:else><block wx:if="{{XCXIsSelect=='否'}}"><view class="centre data-v-57280228"><image style="width:345px;height:140px;" src="https://mxys.chuanghai-tech.com/img/20240315/12fa3c96351f4f10abae1ba251d4c284.jpg" mode class="data-v-57280228"></image></view></block></block></view></block><block wx:if="{{hintShow}}"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="hintPopul data-v-57280228" catchtap="__e"><view class="content_ data-v-57280228"><image style="width:200rpx;height:180rpx;" src="../../static/images/index/shop.png" mode class="data-v-57280228"></image><view class="text-xl text-bold data-v-57280228">店铺打烊啦</view><view class="hintText margin-top-sm text-gray data-v-57280228">现在店铺已经打烊了,营业时间</view><view class="margin-top-xs text-gray margin-bottom data-v-57280228">{{shop.businessHours+"-"+shop.lockHours}}</view><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="skuBtn data-v-57280228" bindtap="__e">知道了</view></view></view></block><u-popup bind:input="__e" vue-id="8dd740cc-10" mode="center" close-icon="close-circle" close-icon-pos="top-right" close-icon-color="#8f9298" close-icon-size="50" value="{{Authorization}}" data-event-opts="{{[['^input',[['__set_model',['','Authorization','$event',[]]]]]]}}" class="data-v-57280228" bind:__l="__l" vue-slots="{{['default']}}"><view class="contentview data-v-57280228"><view class="title data-v-57280228">隐私保护指引</view><view data-event-opts="{{[['tap',[['openPrivacyContract',['$event']]]]]}}" class="des data-v-57280228" bindtap="__e">在使用当前小程序服务之前,请仔细阅读<text style="color:#FF7F00;" class="data-v-57280228">{{privacyContractName}}</text>{{"。如你同意"+privacyContractName+',请点击“同意”开始使用。'}}</view><view class="btns data-v-57280228"><button data-event-opts="{{[['tap',[['exitMiniProgram',['$event']]]]]}}" class="item reject data-v-57280228" bindtap="__e">拒绝</button><button class="item agree data-v-57280228" id="agree-btn" open-type="agreePrivacyAuthorization" data-event-opts="{{[['agreeprivacyauthorization',[['handleAgreePrivacyAuthorization',['$event']]]]]}}" bindagreeprivacyauthorization="__e">同意</button></view></view></u-popup><block wx:if="{{waimaiHB=='是'&&HBShow}}"><view class="hongbao data-v-57280228"><view style="width:62%;margin:0 auto;position:relative;" class="data-v-57280228"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" style="position:absolute;right:-10rpx;top:-10rpx;z-index:999;font-size:60rpx;font-weight:bold;" bindtap="__e" class="data-v-57280228">X</view><image class="hb_img data-v-57280228" src="https://moxuanyunshang.oss-cn-beijing.aliyuncs.com/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240520171928.jpg"></image></view></view></block></view>
|