27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
<view class="container">
|
|
<view class="search">
|
|
<view class="area">
|
|
<picker bindchange="bindPickerChange" value="{{index}}" range="{{areaList}}">
|
|
<view class="picker">
|
|
{{areaList[index]}}
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
<view class="search-box">
|
|
<input type="text" model:value="{{keywords}}"/>
|
|
<view class="search-icon-box">
|
|
<image src="{{sourceUrl}}search.png"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="list">
|
|
<view class="community-box" wx:for="{{communityList}}" wx:key="index" data-item="{{item}}" bindtap="selectCommunity">
|
|
<view class="community-name">
|
|
<image src="{{sourceUrl}}community-icon.png"></image>
|
|
<view class="community-name-text">{{item.communityName}}</view>
|
|
</view>
|
|
<view class="community-join join-btn" bindtap="enterCommunity" data-location="{{item.locationCode}}" data-communityName="{{item.communityName}}" data-communityId="{{item.communityId}}">进入社区</view>
|
|
</view>
|
|
</view>
|
|
<view class="load-more" bindtap="loadMore" wx:if="{{haveMore}}">加载更多</view>
|
|
</view> |