city_card/pages/community/changeCommunity.wxml

30 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2023-07-15 14:25:28 +08:00
<view class="area">
<picker bindchange="bindAreaPickerChange" range="{{areaList}}" value="{{areaIndex}}">
<image mode="widthFix" src="{{sourceUrl}}position.png"></image>
<view class="picker"> {{areaList[areaIndex]}} <image mode="widthFix" src="{{sourceUrl}}arrow-down1.png"></image>
</view>
</picker>
</view>
<view class="community">
<view class="select">选择社区</view>
<view bindtap="enterCurrentArea" class="current-area">
<view class="area-text">
<image src="{{sourceUrl}}community.png"></image>
<view>{{areaList[areaIndex]}}</view>
</view>
<view class="area-join">进入</view>
</view>
<view bindtap="selectCommunity" class="community-box" data-item="{{item}}" wx:for="{{communityList}}" wx:key="index">
<view class="community-name"> {{item.communityName}} </view>
<view class="community-status">进入</view>
</view>
<view bindtap="loadMore" class="load-more" wx:if="{{haveMore}}">加载更多</view>
</view>
<view class="my-community">
<view class="select">我的社区</view>
<view bindtap="selectMyCommunity" class="community-box" data-item="{{item}}" wx:for="{{myCommunityList}}" wx:key="index">
<view class="community-name"> {{item.communityName}} </view>
<view class="community-status">进入</view>
</view>
</view>