|
@@ -1,42 +1,47 @@
|
|
|
<template>
|
|
|
<view class="container-view-contril">
|
|
|
- <u-popup v-model="showLeaseType" :mask-close-able='false' :closeable="false" mode="bottom" border-radius="32">
|
|
|
+ <u-popup zIndex='9999' v-model="showLeaseType" :mask-close-able='false' :closeable="false" mode="bottom" border-radius="32">
|
|
|
<view class="bottom-popup">
|
|
|
<view class="title">{{ selectType == 'cabinet' ? '车辆类型' : '用车方案' }}</view>
|
|
|
- <view class="item-wrap">
|
|
|
- <view
|
|
|
- :class="['item', leaseType == 100 && 'checked']"
|
|
|
- @click="leaseType = 100"
|
|
|
- >
|
|
|
- 全部
|
|
|
- </view>
|
|
|
- <template v-if="selectType == 'cabinet'">
|
|
|
- <view
|
|
|
- v-for="(item, index) in modelTypeList"
|
|
|
- :class="['item', leaseType == item.id && 'checked']"
|
|
|
- :key="index"
|
|
|
- @click="leaseType = item.id"
|
|
|
- >
|
|
|
- {{ item.name }}
|
|
|
- </view>
|
|
|
- </template>
|
|
|
- <template v-if="selectType == 'store'" >
|
|
|
- <view
|
|
|
- v-for="(item, index) in LEASE_TYPE_ARR"
|
|
|
- :class="['item', leaseType == item.value && 'checked']"
|
|
|
- :key="index"
|
|
|
- @click="leaseType = item.value"
|
|
|
- >
|
|
|
- {{ item.label }}
|
|
|
- </view>
|
|
|
- <view class="item" style="opacity: 0;"></view>
|
|
|
- </template>
|
|
|
- </view>
|
|
|
- <view class="options-wrap">
|
|
|
+ <scroll-view style="max-height: 700rpx;" scroll-y>
|
|
|
+ <view class="item-wrap">
|
|
|
+ <view
|
|
|
+ :class="['item', leaseType == 100 && 'checked']"
|
|
|
+ @click="leaseType = 100"
|
|
|
+ >
|
|
|
+ 全部
|
|
|
+ </view>
|
|
|
+ <template v-if="selectType == 'cabinet'">
|
|
|
+ <view
|
|
|
+ v-for="(item, index) in modelTypeList"
|
|
|
+ :class="['item', leaseType == item.id && 'checked']"
|
|
|
+ :key="index"
|
|
|
+ @click="leaseType = item.id"
|
|
|
+ >
|
|
|
+ {{ item.name }}
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+ <template v-if="selectType == 'store'" >
|
|
|
+ <view
|
|
|
+ v-for="(item, index) in LEASE_TYPE_ARR"
|
|
|
+ :class="['item', leaseType == item.value && 'checked']"
|
|
|
+ :key="index"
|
|
|
+ @click="leaseType = item.value"
|
|
|
+ >
|
|
|
+ {{ item.label }}
|
|
|
+ </view>
|
|
|
+ <view class="item" style="opacity: 0;"></view>
|
|
|
+ </template>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+
|
|
|
+ <view class="options-wrap">
|
|
|
<view class="btn cancle" @click="closeLeaseType">取消</view>
|
|
|
<view class="btn confirm" @click="chooseLeaseType">确定</view>
|
|
|
</view>
|
|
|
+ <view style="height: 170rpx;"></view>
|
|
|
</view>
|
|
|
+
|
|
|
</u-popup>
|
|
|
</view>
|
|
|
</template>
|