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