|
|
@ -49,31 +49,34 @@ |
|
|
<view class="text-black text-sg text-bold">选择城市</view> |
|
|
<view class="text-black text-sg text-bold">选择城市</view> |
|
|
<view class="text-gray text-df" hover-class="button--hover" style="width: 120rpx;line-height: 90rpx;" bindtap="onClose">取消</view> |
|
|
<view class="text-gray text-df" hover-class="button--hover" style="width: 120rpx;line-height: 90rpx;" bindtap="onClose">取消</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="flex flex-justify" style="padding: 24rpx 32rpx 0rpx 32rpx;" wx:if="{{historyList.length}}"> |
|
|
|
|
|
<view class="text-black text-df text-bold">历史选择</view> |
|
|
|
|
|
<text class="cuIcon-delete" style="font-size: 17px" bindtap="clearHistory"></text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="bg-white" style="padding: 24rpx;" wx:if="{{historyList.length}}"> |
|
|
|
|
|
<wux-grids col="4" bordered="{{ false }}"> |
|
|
|
|
|
<wux-grid wx:for="{{historyList}}" wx:key="index" hover-class="none"> |
|
|
|
|
|
<view style="width: 160rpx;margin-bottom: 16rpx;"> |
|
|
|
|
|
<wux-button outline="{{cityId != item.cityId}}" block type="{{cityId == item.cityId ? 'positive' : 'stable'}}" size="city" data-id="{{item.cityId}}" bind:click="clickCity">{{item.cityName}}</wux-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
</wux-grid> |
|
|
|
|
|
</wux-grids> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="flex flex-justify" style="padding: 24rpx 32rpx 0rpx 32rpx;"> |
|
|
|
|
|
<view class="text-black text-df text-bold">全部城市</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="bg-white" style="padding: 24rpx;"> |
|
|
|
|
|
<wux-grids col="4" bordered="{{ false }}"> |
|
|
|
|
|
<wux-grid wx:for="{{cityList}}" wx:key="index" hover-class="none"> |
|
|
|
|
|
<view style="width: 160rpx;margin-bottom: 16rpx;"> |
|
|
|
|
|
<wux-button outline="{{cityId != item.cityId}}" block type="{{cityId == item.cityId ? 'positive' : 'stable'}}" size="city" data-id="{{item.cityId}}" data-index="{{index}}" bind:click="clickCity">{{item.cityName}}</wux-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
</wux-grid> |
|
|
|
|
|
</wux-grids> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
<scroll-view scroll-y style="height:630rpx;"> |
|
|
|
|
|
<view class="flex flex-justify" style="padding: 0rpx 32rpx;height: 72rpx;" wx:if="{{historyList.length}}"> |
|
|
|
|
|
<view class="text-black text-df text-bold">历史选择</view> |
|
|
|
|
|
<text class="cuIcon-delete" style="font-size: 17px" bindtap="clearHistory"></text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="bg-white" style="padding: 0rpx 24rpx;" wx:if="{{historyList.length}}"> |
|
|
|
|
|
<wux-grids col="4" bordered="{{ false }}"> |
|
|
|
|
|
<wux-grid wx:for="{{historyList}}" wx:key="index" hover-class="none"> |
|
|
|
|
|
<view style="width: 160rpx;margin-bottom: 16rpx;"> |
|
|
|
|
|
<wux-button outline="{{cityId != item.cityId}}" block type="{{cityId == item.cityId ? 'positive' : 'stable'}}" size="city" data-id="{{item.cityId}}" bind:click="clickCity">{{item.cityName}}</wux-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
</wux-grid> |
|
|
|
|
|
</wux-grids> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="flex flex-justify" style="padding: 0rpx 32rpx;height: 72rpx;"> |
|
|
|
|
|
<view class="text-black text-df text-bold">全部城市</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="bg-white" style="padding: 0rpx 24rpx;"> |
|
|
|
|
|
<wux-grids col="4" bordered="{{ false }}"> |
|
|
|
|
|
<wux-grid wx:for="{{cityList}}" wx:key="index" hover-class="none"> |
|
|
|
|
|
<view style="width: 160rpx;margin-bottom: 16rpx;"> |
|
|
|
|
|
<wux-button outline="{{cityId != item.cityId}}" block type="{{cityId == item.cityId ? 'positive' : 'stable'}}" size="city" data-id="{{item.cityId}}" data-index="{{index}}" bind:click="clickCity">{{item.cityName}}</wux-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
</wux-grid> |
|
|
|
|
|
</wux-grids> |
|
|
|
|
|
</view> |
|
|
|
|
|
</scroll-view> |
|
|
|
|
|
<view style="height: 24rpx;"></view> |
|
|
</wux-popup> |
|
|
</wux-popup> |
|
|
|
|
|
|
|
|
<wxs module="tabImage"> |
|
|
<wxs module="tabImage"> |
|
|
|