selectCity.wxml 2.0 KB

1
  1. <view class="data-v-3945fa6e"><u-popup vue-id="2b357a60-1" show="{{show}}" mode="bottom" round="{{10}}" closeable="{{true}}" data-event-opts="{{[['^close',[['$emit',['close']]]]]}}" bind:close="__e" class="data-v-3945fa6e" bind:__l="__l" vue-slots="{{['default']}}"><view style="height:100rpx;line-height:100rpx;text-align:center;font-size:36rpx;color:#222;" class="data-v-3945fa6e">选择省市区</view><view class="data-v-3945fa6e"><view class="title data-v-3945fa6e">热门城市</view><view class="city-list data-v-3945fa6e"><block wx:for="{{hotCityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['searchCity',['$0'],[[['hotCityList','',index]]]]]]]}}" class="{{['city','data-v-3945fa6e',(hotCityName==item)?'select-city':'']}}" bindtap="__e">{{''+item+''}}</view></block></view><picker-view class="picker-view data-v-3945fa6e" indicator-style="{{indicatorStyle}}" value="{{value}}" mask-top-style="{{maskTopStyle}}" mask-bottom-style="{{maskBottomStyle}}" data-event-opts="{{[['change',[['bindChange',['$event']]]]]}}" bindchange="__e"><picker-view-column class="picker-view-column data-v-3945fa6e"><block wx:for="{{cityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-3945fa6e"><text class="text data-v-3945fa6e">{{item.name}}</text></view></block></picker-view-column><picker-view-column class="picker-view-column data-v-3945fa6e"><block wx:for="{{marketList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-3945fa6e"><text class="text data-v-3945fa6e">{{item.name}}</text></view></block></picker-view-column><picker-view-column class="picker-view-column data-v-3945fa6e"><block wx:for="{{distinguishList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-3945fa6e"><text class="text data-v-3945fa6e">{{item.name}}</text></view></block></picker-view-column></picker-view><button data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="confirm data-v-3945fa6e" bindtap="__e">确定</button></view></u-popup></view>