|
@@ -6,7 +6,7 @@
|
|
|
<input type="text" placeholder="请输入车型品牌或车系名称" class="carssInput" @input="carNameInput" v-model="carName" @confirm="getcarsslist">
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view style="height: 120rpx;"></view>
|
|
|
+ <view style="height: 220rpx;"></view>
|
|
|
|
|
|
<view class="tab1 ">
|
|
|
<scroll-view class="scroll-view" :scroll-into-view="toView" scroll-y="true" >
|
|
@@ -51,8 +51,8 @@
|
|
|
<view class="popup-content" >
|
|
|
<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
|
|
|
<view style="height: 44px;"></view>
|
|
|
- <view style="height: 128rpx;"></view>
|
|
|
- <h3 class="carModel-nav-title cell-logo">
|
|
|
+ <view style="height: 122rpx;"></view>
|
|
|
+ <h3 class="carModel-nav-title " style="padding-top: 4rpx;">
|
|
|
<view class="carModel-nav-title—left">
|
|
|
<img :src="selectedCarBrand.logo" class="carModel-nav-title-img">
|
|
|
<span class="carModel-nav-title-msg">{{ selectedCarBrand.brand }}</span>
|
|
@@ -80,7 +80,7 @@
|
|
|
<h3 class="carModel-nav-title">
|
|
|
<view class="carModel-nav-title—left">
|
|
|
<img :src="selectedCarBrand.logo" class="carModel-nav-title-img" @click="$emit('changeStep', 1)">
|
|
|
- <span class="carModel-nav-title-msg">{{ selectedCarBrand.brand }} {{ carSeries }}</span>
|
|
|
+ <span class="carModel-nav-title-msg carModel-nav-title-msg1">{{ selectedCarBrand.brand }} {{ carSeries }}</span>
|
|
|
</view>
|
|
|
<view class="carBack" @click="carBack(1)">上一步</view>
|
|
|
|
|
@@ -101,7 +101,7 @@
|
|
|
<h3 class="carModel-nav-title">
|
|
|
<view class="carModel-nav-title—left">
|
|
|
<img :src="selectedCarBrand.logo" class="carModel-nav-title-img" @click="$emit('changeStep', 1)">
|
|
|
- <span class="carModel-nav-title-msg">{{ selectedCarBrand.brand }} {{ carSeries }}{{displacement}}</span>
|
|
|
+ <span class="carModel-nav-title-msg carModel-nav-title-msg1">{{ selectedCarBrand.brand }} {{ carSeries }}{{displacement}}</span>
|
|
|
</view>
|
|
|
<view class="carBack" @click="carBack(2)">上一步</view>
|
|
|
</h3>
|
|
@@ -159,7 +159,7 @@
|
|
|
<view class="status_bar" :style="{height: iStatusBarHeight + 'px'}"></view>
|
|
|
<h3 class="carModel-nav-title">
|
|
|
<view class="carModel-nav-title—left">
|
|
|
- <span class="carModel-nav-title-msg" style="padding-left: 24rpx;">{{ssname2}}</span>
|
|
|
+ <span class="carModel-nav-title-msg " style="padding-left: 24rpx;">{{ssname2}}</span>
|
|
|
</view>
|
|
|
<view class="carBack" @click="ssdisplacementListShow=false">上一步</view>
|
|
|
</h3>
|
|
@@ -251,26 +251,52 @@
|
|
|
type:item.type,
|
|
|
manufactor:item.manufactor,
|
|
|
}
|
|
|
- }else{
|
|
|
+ this.$http('matchingByOpen/queryCarModelGroupIiPackageSecond', params, 'POST').then(res => {
|
|
|
+ this.secondlist=res.data;
|
|
|
+ this.secondShow=true;
|
|
|
+ uni.hideLoading();
|
|
|
+ })
|
|
|
+ }else if(item.type==2){
|
|
|
var params={
|
|
|
type:item.type,
|
|
|
manufactor:item.manufactor,
|
|
|
brand:item.brand,
|
|
|
carSeries:item.carSeries
|
|
|
}
|
|
|
+ this.$http('matchingByOpen/queryCarModelGroupIiPackageSecond', params, 'POST').then(res => {
|
|
|
+ this.secondlist=res.data;
|
|
|
+ this.secondShow=true;
|
|
|
+ uni.hideLoading();
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ if(item.displacementList.length==1){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'list?type=2&id='+item.displacementList[0].id
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.ssdisplacementList=item.displacementList;
|
|
|
+ this.ssdisplacementListShow=true;
|
|
|
+ this.ssname2=item.title;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
this.ssname1=item.title
|
|
|
|
|
|
- this.$http('matchingByOpen/queryCarModelGroupIiPackageSecond', params, 'POST').then(res => {
|
|
|
- this.secondlist=res.data;
|
|
|
- this.secondShow=true;
|
|
|
- uni.hideLoading();
|
|
|
- })
|
|
|
+
|
|
|
},
|
|
|
seconditem(item){
|
|
|
- this.ssdisplacementList=item.displacementList;
|
|
|
- this.ssdisplacementListShow=true;
|
|
|
- this.ssname2=item.title
|
|
|
+ if(item.displacementList.length==1){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'list?type=2&id='+item.displacementList[0].id
|
|
|
+ })
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.ssdisplacementList=item.displacementList;
|
|
|
+ this.ssdisplacementListShow=true;
|
|
|
+ this.ssname2=item.title
|
|
|
+ }
|
|
|
+
|
|
|
// this.$refs.popup.open("right2")
|
|
|
//this.popupShow=true;
|
|
|
},
|
|
@@ -397,7 +423,8 @@
|
|
|
position: fixed;
|
|
|
z-index: 999;
|
|
|
left: 0;
|
|
|
- top: calc(44px + 96rpx);
|
|
|
+ top:90rpx;
|
|
|
+ /* top: calc(44px + 96rpx); */
|
|
|
}
|
|
|
.carssBox{
|
|
|
width: 702rpx;
|
|
@@ -475,12 +502,13 @@
|
|
|
right: 16rpx;
|
|
|
top: 360rpx;
|
|
|
width: 23rpx;
|
|
|
- font-size:30rpx;
|
|
|
+ font-size:26rpx;
|
|
|
font-weight:500;
|
|
|
line-height:35rpx;
|
|
|
color: rgb(153, 153, 153);
|
|
|
a{
|
|
|
display: block;
|
|
|
+ padding-top: 5rpx;
|
|
|
}
|
|
|
.select{
|
|
|
color: #FF4F00;
|
|
@@ -489,12 +517,15 @@
|
|
|
.scroll-view{
|
|
|
height: calc(100vh - 120rpx);
|
|
|
}
|
|
|
+ .brand-select{
|
|
|
+ padding-bottom: 100rpx;
|
|
|
+ }
|
|
|
.popup-height {
|
|
|
|
|
|
width: 200px;
|
|
|
}
|
|
|
.popup-content{
|
|
|
- width: 590rpx;
|
|
|
+ width: 80vw;
|
|
|
background: #FFFFFF;
|
|
|
height: 100vh;
|
|
|
}
|
|
@@ -524,6 +555,13 @@
|
|
|
color:rgba(255,255,255,1);
|
|
|
display: block;
|
|
|
padding-right: 20rpx;
|
|
|
+ width: 400rpx;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ .carModel-nav-title-msg1{
|
|
|
+ width: 300rpx;
|
|
|
}
|
|
|
}
|
|
|
.cell-item-title{
|
|
@@ -616,7 +654,7 @@
|
|
|
background:#F4F5F7 ;
|
|
|
z-index: 11111;
|
|
|
/* #ifdef H5 */
|
|
|
- top:calc(44px + 220rpx);
|
|
|
+ top:calc(210rpx);
|
|
|
/* #endif */
|
|
|
}
|
|
|
.carGroupListBox{
|
|
@@ -627,8 +665,9 @@
|
|
|
height: 100vh;
|
|
|
background:#F4F5F7 ;
|
|
|
z-index: 11111;
|
|
|
+ top: 210rpx;
|
|
|
/* #ifdef H5 */
|
|
|
- top:calc(44px + 220rpx);
|
|
|
+ /* top:calc(44px + 220rpx); */
|
|
|
/* #endif */
|
|
|
}
|
|
|
.carssListBox{
|
|
@@ -640,7 +679,7 @@
|
|
|
background: rgba(0,0,0,0.5) ;
|
|
|
z-index: 11111;
|
|
|
/* #ifdef H5 */
|
|
|
- top:calc(44px + 210rpx);
|
|
|
+ top:calc( 210rpx);
|
|
|
/* #endif */
|
|
|
}
|
|
|
.carssListBoxCont{
|
|
@@ -652,9 +691,9 @@
|
|
|
left: 0;
|
|
|
width: 100vw;
|
|
|
height: 100vh;
|
|
|
- background: rgba(0,0,0,0.5) ;
|
|
|
+ background: rgba(0,0,0,0) ;
|
|
|
z-index: 11112;
|
|
|
- top:calc(44px + 210rpx);
|
|
|
+ top:calc(210rpx);
|
|
|
|
|
|
}
|
|
|
.brand-select-titleselect{
|