You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.5 KiB
42 lines
1.5 KiB
2 years ago
|
<view class="m-select"
|
||
|
hidden="{{ hidden }}">
|
||
|
<view class="wrap a-fade-in-up">
|
||
|
<view class="title">
|
||
|
<view class="row">
|
||
|
<view class="title-ico f-fl a-fade-in" bind:tap="cancel">
|
||
|
<image class="title-ico-close"
|
||
|
mode="aspectFit"
|
||
|
src="/assets/images/common/close.png" />
|
||
|
</view>
|
||
|
<view class="title-btn a-fade-in f-fr" wx:if="{{currentFloor >= minFloor }}" bind:tap="confirm">确定</view>
|
||
|
<view class="title-hint f-fr" wx:else>选择地区</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="nav">
|
||
|
<view class="nav-item {{currentFloor==index ? 'z-on' : ''}}"
|
||
|
bind:tap="handleTapFloor"
|
||
|
data-id="{{ index}}"
|
||
|
wx:key="*this"
|
||
|
wx:for-index="index"
|
||
|
wx:for="{{ selectedItemList }}">{{item.name}}</view>
|
||
|
</view>
|
||
|
|
||
|
<view class="wrap2 a-fade-in-right">
|
||
|
<!-- <view class="menu-title">请选择</view> -->
|
||
|
<view class="menu"
|
||
|
bind:tap="handleTapItem"
|
||
|
data-id="{{ index}}"
|
||
|
wx:key="*this"
|
||
|
wx:for-index="index"
|
||
|
wx:for="{{ areaCollection[currentFloor] }}">
|
||
|
<view class="name f-fl">{{ item.name }}</view>
|
||
|
|
||
|
<image class="ico-go f-fr"
|
||
|
mode="aspectFit"
|
||
|
src="/assets/images/common/arrow-right.png" />
|
||
|
</view>
|
||
|
|
||
|
<view wx:if="{{ areaCollection[currentFloor].length==0 }}" class="m-hint">加载中……</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|