2025-02-27 19:46:22 +08:00

1 line
6.4 KiB
Plaintext

<view class="main data-v-57bb4cfa"><view class="top _div data-v-57bb4cfa" style="{{'height:'+(menu.bottom+'px')+';'+('padding-top:'+(menu.top+'px')+';')}}"><view class="topContent _div data-v-57bb4cfa"><image class="backIcon data-v-57bb4cfa" src="/static/images/home/backArrow.svg" data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" bindtap="__e"></image><view data-event-opts="{{[['tap',[['goSelectServer',['$event']]]]]}}" class="first _div data-v-57bb4cfa" bindtap="__e"><image class="addressIcon data-v-57bb4cfa" src="/static/images/home/blackFixed.png"></image><view class="text _div data-v-57bb4cfa">{{nowServiceObj.SERVERPART_NAME||""}}</view><image class="moreIcon data-v-57bb4cfa" src="/static/images/home/rightArrow.png"></image></view><view data-event-opts="{{[['tap',[['handleSearchAll',['$event']]]]]}}" class="{{['_div','data-v-57bb4cfa',inSearchAll?'inSearchAll':'searchAll']}}" bindtap="__e">查看全部</view></view></view><view class="headerBox _div data-v-57bb4cfa"><view class="searchBox _div data-v-57bb4cfa" style="{{'width:'+(showSearchBtn?'calc(100% - 80rpx) ':'100%')+';'}}"><image class="searchIcon data-v-57bb4cfa" src="/static/images/home/searchIcon.png"></image><input class="inputBox data-v-57bb4cfa" style="font-size:28rpx;" placeholder="请输入物品信息" data-event-opts="{{[['focus',[['clickSearch',['$event']]]],['blur',[['noClickSearch',['$event']]]],['input',[['__set_model',['','searchText','$event',[]]]]]]}}" value="{{searchText}}" bindfocus="__e" bindblur="__e" bindinput="__e"/></view><block wx:if="{{showSearchBtn}}"><view data-event-opts="{{[['tap',[['handleGetListData',['$event']]]]]}}" class="searchBtn _div data-v-57bb4cfa" bindtap="__e">搜索</view></block></view><view class="pageList _div data-v-57bb4cfa" style="{{'height:'+('calc(100vh - 200rpx - '+menu.bottom+'px - 30px)')+';'}}"><block wx:if="{{$root.g0}}"><view style="width:100%;height:100%;" class="_div data-v-57bb4cfa"><view class="pageTitle _div data-v-57bb4cfa">{{"物品 ("+$root.g1+")"}}</view><scroll-view class="listBox data-v-57bb4cfa" scroll-y="{{true}}" refresher-enabled="{{true}}" refresher-triggered="{{triggered}}" data-event-opts="{{[['scrolltolower',[['handleScrollBottom',['$event']]]],['refresherrefresh',[['handleRefresh',['$event']]]]]}}" bindscrolltolower="__e" bindrefresherrefresh="__e"><block wx:for="{{dataList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="shopItem _div data-v-57bb4cfa"><view class="title _div data-v-57bb4cfa"><label class="normal _span data-v-57bb4cfa">{{item.beforeOtherName}}</label><label class="light _span data-v-57bb4cfa">{{item.lightName}}</label><label class="normal _span data-v-57bb4cfa">{{item.afterOtherName}}</label></view><view class="timeBox _div data-v-57bb4cfa"><image class="timeIcon data-v-57bb4cfa" src="/static/images/home/timeIcon.png"></image><label class="timeText _span data-v-57bb4cfa">{{item.SUGGESTION_CREATEDATE}}</label></view><view class="phoneBox _div data-v-57bb4cfa"><image class="phoneIcon data-v-57bb4cfa" src="/static/images/home/communityInteraction.svg"></image><label class="phoneText _span data-v-57bb4cfa">{{item.SERVERPART_NAME}}</label></view><view data-event-opts="{{[['tap',[['handleCallPhone',['$0'],[[['dataList','',index]]]]]]]}}" class="callPhoneBox _div data-v-57bb4cfa" bindtap="__e"><image class="callPhoneIcon data-v-57bb4cfa" src="/static/images/home/phone.png"></image></view></view></block><block wx:if="{{$root.g2}}"><view class="_div data-v-57bb4cfa"><view class="inBottom data-v-57bb4cfa"><text class="bottomText data-v-57bb4cfa">{{pageObj.isOver?"我是有底线的":"下拉加载更多"}}</text></view></view></block></scroll-view></view></block><block wx:if="{{!$root.g3}}"><view style="width:100%;padding-top:160px;" class="_div data-v-57bb4cfa"><no-data vue-id="c0a25968-1" text="暂无物品信息" isShow="{{true}}" type="{{1}}" class="data-v-57bb4cfa" bind:__l="__l"></no-data></view></block></view><view data-event-opts="{{[['tap',[['handleGoAdd',['$event']]]]]}}" class="addNewPost data-v-57bb4cfa" bindtap="__e"><view class="newPostBox data-v-57bb4cfa"><image class="addIcon data-v-57bb4cfa" src="/static/images/home/addPost.svg"></image><text class="addText data-v-57bb4cfa">新增失物</text></view></view><uni-popup vue-id="c0a25968-2" show="{{isShow}}" safe-area="{{false}}" data-ref="popup" data-event-opts="{{[['^close',[['handleClosePopup']]]]}}" bind:close="__e" class="data-v-57bb4cfa vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="popupBox _div data-v-57bb4cfa"><view class="popupTitle _div data-v-57bb4cfa"><image class="closeIcon data-v-57bb4cfa" src="/static/images/home/closeIcon.svg" data-event-opts="{{[['tap',[['handleClosePopup',['$event']]]]]}}" bindtap="__e"></image><label class="titleText _span data-v-57bb4cfa">更多筛选</label><view class="closeIcon _div data-v-57bb4cfa"></view></view><view class="popupList _div data-v-57bb4cfa"><view class="popupLeftBox _div data-v-57bb4cfa"><block wx:for="{{leftTypeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleSelectType',[index,'$0'],[[['leftTypeList','',index,'value']]]]]]]}}" class="{{['_div','data-v-57bb4cfa',leftSelectIndex===index?'itemType selectType':'itemType']}}" bindtap="__e">{{''+item.label+''}}</view></block></view><scroll-view class="popupRightBox data-v-57bb4cfa" scroll-y="{{true}}" scroll-into-view="{{scrollTop}}" show-scrollbar="false" scroll-with-animation="{{true}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="rightItem _div data-v-57bb4cfa" id="{{'shop'+item.$orig.value}}"><block wx:if="{{index!==0}}"><view class="itemTitle _div data-v-57bb4cfa">{{item.$orig.label}}</view><block wx:if="{{item.g4}}"><view class="rightTypeList _div data-v-57bb4cfa"><block wx:for="{{item.$orig.children}}" wx:for-item="subItem" wx:for-index="subIndex" wx:key="subIndex"><view data-event-opts="{{[['tap',[['handleChangeRightSelect',[index,'$0'],[[['leftTypeList','',index],['children','',subIndex,'value']]]]]]]}}" class="{{['_div','data-v-57bb4cfa',subItem.value===rightSelectValue?'rightType selectRightType':'rightType']}}" bindtap="__e">{{''+subItem.label+''}}</view></block></view></block></block></view></block></scroll-view></view><view data-event-opts="{{[['tap',[['handleClickConfirm',['$event']]]]]}}" class="btnBox _div data-v-57bb4cfa" bindtap="__e"><view class="btn _div data-v-57bb4cfa">确定</view></view></view></uni-popup></view>