2025-08-22 08:44:37 +08:00

1 line
8.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<block wx:if="{{loading}}"><view class="container" style="{{'margin-top:'+(top+'px')+';'}}"><view class="white_container"><view class="searchBox" style="{{'height:'+(localHeight+'px')+';'}}"><view data-event-opts="{{[['tap',[['map',['$event']]]]]}}" class="searchBox_add" bindtap="__e"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/Index_add.png" mode="widthFix"></image><view>{{''+(currentCity.cityName||'选择城市')+''}}</view></view></view><block wx:if="{{showNav}}"><view class="function-nav"><view data-event-opts="{{[['tap',[['goToShop',['$event']]]]]}}" class="function-item" bindtap="__e"><view class="icon-box"><image class="iconImg" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/index_shop.png" mode="widthFix"></image></view><text>店铺管理</text></view><view data-event-opts="{{[['tap',[['goToOrder',['$event']]]]]}}" class="function-item" bindtap="__e"><view class="icon-box"><image class="iconImg" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/index_order.png" mode="widthFix"></image></view><text>供应商订单</text></view><view data-event-opts="{{[['tap',[['goToWuye',['$event']]]]]}}" class="function-item" bindtap="__e"><view class="icon-box"><image class="iconImg" src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/index_wuye.png" mode="widthFix"></image></view><text>物业管理</text></view></view></block><block wx:if="{{isShowSearch}}"><view class="search2"><view class="searchBox2"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_communitySearchIcon.png" mode="aspectFill"></image><view class="hot-word-container"><view class="hot-word-scroll" style="{{'transform:'+('translateY('+scrollPosition+'rpx)')+';'}}"><block wx:for="{{hotWord}}" wx:for-item="word" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleHotWordClick',['$0'],[[['hotWord','',index]]]]]]]}}" class="hot-word-item" bindtap="__e">{{''+word+''}}</view></block></view></view><input class="search_input" placeholder="请输入内容" confirm-type="search" data-event-opts="{{[['input',[['searchInput',['$event']]]],['confirm',[['searchInput',['$event']]]]]}}" value="{{selectKeyWord}}" bindinput="__e" bindconfirm="__e"/></view></view></block><view class="swiper"><swiper autoplay="{{true}}" circular="{{true}}" data-event-opts="{{[['animationfinish',[['swipers',['$event']]]]]}}" bindanimationfinish="__e"><block wx:for="{{bannerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['headerServerClick',['$0'],[[['bannerList','',index]]]]]]]}}" bindtap="__e"><image src="{{item.pic_src}}" mode="aspectFill"></image></swiper-item></block></swiper><view class="cirList"><block wx:for="{{bannerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['cir',currentIdx==index?'active':'']}}"></view></block></view></view><view class="tabList"><u-grid vue-id="8dd740cc-1" col="{{rowNum}}" border="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item bind:click="__e" vue-id="{{('8dd740cc-2-'+index)+','+('8dd740cc-1')}}" data-event-opts="{{[['^click',[['headerServerClick',['$0'],[[['tabList','',index]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><image class="grid_Pic" src="{{item.icon_src}}" mode></image><text>{{item.title}}</text></u-grid-item></block></u-grid></view></view><view class="serverList1"><view class="serverList1_left"><image src="{{serverLeft}}" mode="aspectFit"></image></view><view class="serverList1_right"><block wx:for="{{serverRightList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['headerServerClick',['$0'],[[['serverRightList','',index]]]]]]]}}" class="{{['serverItemRight','serverItemRight'+(index+1)]}}" bindtap="__e"><image src="{{item.pic_src}}" mode></image></view></block></view></view><view class="white_container margin_top20 padding_bottom32"><block wx:if="{{!currentCity.district}}"><view class="Tit">定位错误 未知区域</view></block><block wx:else><view class="Tit"><view class="local">{{currentCity.district}}</view>附近<view class="Tit_desc">一刻钟便利生活圈</view></view></block><view class="serverList"><view class="serverList_left"><swiper><block wx:for="{{homeLeftList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['headerServerClick',['$0'],[[['homeLeftList','',index]]]]]]]}}" bindtap="__e"><image src="{{item.pic_src}}" alt mode="aspectFit"></image></swiper-item></block></swiper></view><view class="serverList_right"><view class="serverList_right1"><block wx:for="{{homeRightList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['headerServerClick2',['$0'],[[['homeRightList1','',index]]]]]]]}}" class="{{['serverItem','serverItem'+(index+1)]}}" bindtap="__e"><view class="serverTit">{{item.title}}</view><block wx:if="{{item.pic_src}}"><image src="{{item.pic_src}}" mode></image></block></view></block></view><view class="serverList_right2"><block wx:for="{{homeRightList2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['headerServerClick2',['$0'],[[['homeRightList2','',index]]]]]]]}}" class="{{['serverItem','serverItem'+(index+4)]}}" bindtap="__e"><view class="serverTit">{{item.title}}</view><image src="{{item.pic_src}}" mode></image></view></block></view></view></view></view><view class="category-tabs"><view class="tabs-container"><scroll-view class="tabs-scroll" scroll-x="{{true}}" enable-flex="{{true}}" scroll-into-view="{{activeCategoryId}}"><block wx:for="{{categoryList1}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="{{['tab-item',(currentCategoryId===item.id)?'activeTab':'']}}" id="{{'category-'+item.id}}" data-event-opts="{{[['tap',[['switchCategory',['$0'],[[['categoryList1','id',item.id,'id']]]]]]]}}" bindtap="__e">{{''+item.cate_name+''}}</view></block></scroll-view><view data-event-opts="{{[['tap',[['toggleDropdown',['$event']]]]]}}" class="{{['dropdown-btn',(showDropdown)?'active':'']}}" bindtap="__e"><block wx:if="{{!showDropdown}}"><u-icon class="dropdown-icon" vue-id="8dd740cc-3" name="arrow-down" bind:__l="__l"></u-icon></block><block wx:else><u-icon class="dropdown-icon active" vue-id="8dd740cc-4" name="arrow-up" bind:__l="__l"></u-icon></block></view></view><block wx:if="{{showDropdown}}"><view class="category-dropdown"><view class="dropdown-title">商品分类</view><view class="category-grid"><block wx:for="{{categoryList}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view data-event-opts="{{[['tap',[['selectCategoryFromDropdown',['$0'],[[['categoryList','id',item.id,'id']]]]]]]}}" class="{{['category-grid-item',(currentCategoryId===item.id)?'activeTab':'']}}" bindtap="__e">{{''+item.cate_name+''}}</view></block></view></view></block><view class="{{['merchantList',($root.g0<3)?'merchantList2':'']}}"><block wx:if="{{showDropdown}}"><view class="overlay"></view></block><block wx:for="{{merchatList}}" wx:for-item="item" wx:for-index="__i2__" wx:key="id"><view data-event-opts="{{[['tap',[['Info',['$0'],[[['merchatList','id',item.id]]]]]]]}}" class="merchantItem" bindtap="__e"><view class="merchantItem_left"><image src="{{item.showImg}}" mode="aspectFill"></image></view><view class="merchantItem_right"><view class="merchantItem_right_tit"><view class="merchantItem_right_tit_left">{{''+item.merchant_name+''}}</view><view class="merchantItem_right_tit_right">{{''+item.distances+''}}</view></view><view class="merchantItem_right_con"><view class="merchantItem_right_con_left"><view class="startList"><block wx:for="{{5}}" wx:for-item="index" wx:for-index="__i3__" wx:key="*this"><image src="{{index<item.rating?'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/local_start1.png':'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/local_start2.png'}}" mode="aspectFill"></image></block></view><block wx:if="{{item.refund_property_fee_ratio}}"><view class="merchangtItem_tag">买单返物业费</view></block><block wx:if="{{item.refund_user_points_ratio}}"><view class="merchangtItem_tag">买单返积分</view></block></view><view data-event-opts="{{[['tap',[['toJump',['$0'],[[['merchatList','id',item.id]]]]]]]}}" class="merchantItem_right_con_right" bindtap="__e"><image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/local_review.png" mode="aspectFill"></image>点评</view></view><view class="merchantItem_right_add">{{''+item.comAddress+''}}</view></view></view></block></view></view><block wx:if="{{flag}}"><view class="more">{{"下拉加载后续10条共计"+bottomTotal+"条"}}</view></block><nav-footer vue-id="8dd740cc-5" data-com-type="wx" bind:__l="__l"></nav-footer></view></block>