2025-12-04 09:58:14 +08:00

1 line
7.8 KiB
Plaintext
Raw Permalink 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.

<view><view><block wx:if="{{loading}}"><view class="container" style="{{'margin-top:'+(top+'px')+';'}}"><view class="white_container searchBox" style="{{'height:'+(localHeight+'px')+';'}}"><view data-event-opts="{{[['tap',[['map',['$event']]]]]}}" class="searchBox_add" bindtap="__e"><image src="https://static.hshuishang.com/Index_add.png" mode="widthFix"></image><view>{{''+(currentCity.cityName||'选择城市')+''}}</view></view><block wx:if="{{isShowSearch}}"><view class="search2"><view data-event-opts="{{[['tap',[['goSearchView',['$event']]]]]}}" class="searchBox2" bindtap="__e"><image src="https://static.hshuishang.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></view></view></block></view><view data-ref="mainBox" class="mainBox vue-ref"><view class="white_container"><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><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="aspectFill"></image><text>{{item.title}}</text></u-grid-item></block></u-grid></view></view><view class="serverList1"><block wx:if="{{$root.g0>0}}"><view class="serverList1_left"><image src="{{serverLeft}}" mode="aspectFill" data-event-opts="{{[['tap',[['toAdvertisingView',['$0'],['serverLeftList']]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{$root.g1>0}}"><view class="serverList1_right"><block wx:for="{{serverRightList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['serverItemRight','serverItemRight'+(index+1)]}}"><image src="{{item.pic_src}}" mode data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index,item})}}" bindtap="__e"></image></view></block></view></block></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 class="serverList_left_img" src="{{item.pic_src}}" alt></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><u-sticky vue-id="8dd740cc-3" bind:__l="__l" vue-slots="{{['default']}}"><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-4')+','+('8dd740cc-3')}}" name="arrow-down" bind:__l="__l"></u-icon></block><block wx:else><u-icon class="dropdown-icon active" vue-id="{{('8dd740cc-5')+','+('8dd740cc-3')}}" 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></u-sticky><view class="{{['merchantList',($root.g2<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://static.hshuishang.com/property-img-file/local_start1.png':'https://static.hshuishang.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://static.hshuishang.com/property-img-file/local_review.png" mode="aspectFill"></image> 点评 </view></view><view class="merchantItem_right_add">{{''+item.comAddress+''}}</view></view></view></block></view><block wx:if="{{flag}}"><view class="more">{{"下拉加载后续10条共计"+bottomTotal+"条"}}</view></block><nav-footer vue-id="8dd740cc-6" data-com-type="wx" bind:__l="__l"></nav-footer></view></view></block></view></view>