syshxcx/pages/community/changeCommunity.wxml
dong_bo0602 a1f9e23f6d 0607
2022-06-07 15:43:05 +08:00

37 lines
1.4 KiB
Plaintext

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