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.
 
 
 
 

1 lines
2.2 KiB

<view><text data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="uni-input" bindtap="__e">{{value}}</text><uni-popup class="vue-ref" vue-id="3ebf26e4-1" type="bottom" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="cityselect"><view class="cityselect-header"><view class="cityselect-title"><text>请选择地址</text></view><view class="cityselect-nav"><block wx:if="{{provinceActive}}"><view data-event-opts="{{[['tap',[['changeNav',[0]]]]]}}" class="item" bindtap="__e"><text>{{provinceActive.n}}</text></view></block><block wx:if="{{cityActive}}"><view data-event-opts="{{[['tap',[['changeNav',[1]]]]]}}" class="item" bindtap="__e"><text>{{cityActive.n}}</text></view></block><block wx:if="{{districtActive}}"><view data-event-opts="{{[['tap',[['changeNav',[2]]]]]}}" class="item" bindtap="__e"><text>{{districtActive.n}}</text></view></block><block wx:else><view class="item active"><text>请选择</text></view></block></view></view><view class="cityselect-content"><swiper class="swiper" disable-touch="true" touchable="false" current="{{current}}"><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{province}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectProvince',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{city}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectCity',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item><swiper-item><scroll-view class="cityScroll" scroll-y="{{true}}"><view><block wx:for="{{district}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectDistrict',[index]]]]]}}" class="cityselect-item" bindtap="__e"><view class="cityselect-item-box"><text>{{item.n}}</text></view></view></block></view></scroll-view></swiper-item></swiper></view></view></uni-popup></view>