|
@@ -9,14 +9,17 @@
|
|
<view>
|
|
<view>
|
|
<view class="historylinecar">{{optdata.value}}</view>
|
|
<view class="historylinecar">{{optdata.value}}</view>
|
|
<view class="historyLineVin" v-if="optdata.isVin==1">
|
|
<view class="historyLineVin" v-if="optdata.isVin==1">
|
|
- <view class="vinms">VIN</view>
|
|
|
|
|
|
+ <!-- <view class="vinms">VIN</view> -->
|
|
<view class="vinNum">{{optdata.vin}}</view>
|
|
<view class="vinNum">{{optdata.vin}}</view>
|
|
|
|
+ <view class="copyBox" @click="copyFn(optdata.vin)">复制</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="carFn" @click="gopz" style="margin-left: 20rpx;">车辆详情</view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
<view class="cont">
|
|
<view class="cont">
|
|
- <view class="topBox">
|
|
|
|
|
|
+ <!-- <view class="topBox">
|
|
<view class="topLine" @click="goby">
|
|
<view class="topLine" @click="goby">
|
|
<image src="../../static/img/icon_baoyang.png" mode="" class="toplineImg"></image>
|
|
<image src="../../static/img/icon_baoyang.png" mode="" class="toplineImg"></image>
|
|
<view class="topName">保养周期</view>
|
|
<view class="topName">保养周期</view>
|
|
@@ -26,6 +29,23 @@
|
|
<image src="../../static/img/icon_cheliang.png" mode="" class="toplineImg"></image>
|
|
<image src="../../static/img/icon_cheliang.png" mode="" class="toplineImg"></image>
|
|
<view class="topName">车辆配置</view>
|
|
<view class="topName">车辆配置</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ </view> -->
|
|
|
|
+ <view class="qiehuanBox">
|
|
|
|
+ <view class="qiehuanLeft">机油</view>
|
|
|
|
+ <view class="qiehuanRight" @click="goback">切换分类</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="jiyouBox" v-if="loading">
|
|
|
|
+ <view class="jiyouTop">
|
|
|
|
+ <view class="jiyoutopTitle">原厂售后推荐</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="salesLine">
|
|
|
|
+ <view class="salesLeft">建议加注量</view>
|
|
|
|
+ <view class="salesRight">{{oilusage}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="salesLine">
|
|
|
|
+ <view class="salesLeft">规格型号</view>
|
|
|
|
+ <view class="salesRight">{{spec}}</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="jiyouBox" v-if="loading">
|
|
<view class="jiyouBox" v-if="loading">
|
|
<!-- <view class="modelRemarkBox">
|
|
<!-- <view class="modelRemarkBox">
|
|
@@ -33,7 +53,7 @@
|
|
<view class="modelRemarkLine" @click="modelRemarkTab(2)" :class="{activeMr:modelRemarkNum==2}">10万公里以上</view>
|
|
<view class="modelRemarkLine" @click="modelRemarkTab(2)" :class="{activeMr:modelRemarkNum==2}">10万公里以上</view>
|
|
</view> -->
|
|
</view> -->
|
|
<view class="jiyouTop">
|
|
<view class="jiyouTop">
|
|
- <view class="jiyoutopTitle">机油推荐</view>
|
|
|
|
|
|
+ <view class="jiyoutopTitle">机油</view>
|
|
<!-- <view class="jyzl">机油加注量:<span style="color: #FF4F00;">{{oilusage}}</span> </view> -->
|
|
<!-- <view class="jyzl">机油加注量:<span style="color: #FF4F00;">{{oilusage}}</span> </view> -->
|
|
</view>
|
|
</view>
|
|
<view class="jylineBox">
|
|
<view class="jylineBox">
|
|
@@ -56,19 +76,7 @@
|
|
<nodata v-if="MaintainPartList.length==0"></nodata>
|
|
<nodata v-if="MaintainPartList.length==0"></nodata>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="jiyouBox" v-if="loading">
|
|
|
|
- <view class="jiyouTop">
|
|
|
|
- <view class="jiyoutopTitle">原厂售后推荐</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="salesLine">
|
|
|
|
- <view class="salesLeft">建议加注量</view>
|
|
|
|
- <view class="salesRight">{{oilusage}}</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="salesLine">
|
|
|
|
- <view class="salesLeft">规格型号</view>
|
|
|
|
- <view class="salesRight">{{spec}}</view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -189,6 +197,25 @@
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url:'/pages/index/carConfiguration?nLevelID='+this.optdata.nLevelID
|
|
url:'/pages/index/carConfiguration?nLevelID='+this.optdata.nLevelID
|
|
})
|
|
})
|
|
|
|
+ },
|
|
|
|
+ goback(){
|
|
|
|
+ uni.navigateBack()
|
|
|
|
+ },
|
|
|
|
+ copyFn(e){
|
|
|
|
+ uni.setClipboardData({
|
|
|
|
+ data: e,
|
|
|
|
+ success: function () {
|
|
|
|
+ uni.showToast({
|
|
|
|
+ title: '复制成功',
|
|
|
|
+ icon: 'success',
|
|
|
|
+ duration: 2000
|
|
|
|
+ });
|
|
|
|
+ },
|
|
|
|
+ fail: function () {
|
|
|
|
+ console.log('复制失败');
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -214,7 +241,8 @@
|
|
}
|
|
}
|
|
.box {
|
|
.box {
|
|
padding: 0 24rpx;
|
|
padding: 0 24rpx;
|
|
- background: #ffffff;
|
|
|
|
|
|
+ color: #ffffff;
|
|
|
|
+ background: linear-gradient( 132deg, #FF641E 0%, #FF4F00 100%), linear-gradient( 132deg, #FB771F 0%, #FF4828 100%);
|
|
}
|
|
}
|
|
|
|
|
|
.historylinecarImg{
|
|
.historylinecarImg{
|
|
@@ -229,14 +257,15 @@
|
|
.historylinecar {
|
|
.historylinecar {
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
font-size: 26rpx;
|
|
font-size: 26rpx;
|
|
- color: #1A1A1A;
|
|
|
|
|
|
+ color: #FFFFFF;
|
|
line-height: 46rpx;
|
|
line-height: 46rpx;
|
|
- width: 636rpx;
|
|
|
|
|
|
+ width: 490rpx;
|
|
}
|
|
}
|
|
|
|
|
|
.historyLine {
|
|
.historyLine {
|
|
display: flex;
|
|
display: flex;
|
|
padding: 30rpx 0;
|
|
padding: 30rpx 0;
|
|
|
|
+ padding-bottom: 20rpx;
|
|
/* border-top: 1rpx solid #EEEEEE; */
|
|
/* border-top: 1rpx solid #EEEEEE; */
|
|
}
|
|
}
|
|
|
|
|
|
@@ -272,6 +301,7 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
|
|
.jiyouBox{
|
|
.jiyouBox{
|
|
margin-top: 30rpx;border-radius: 16rpx;
|
|
margin-top: 30rpx;border-radius: 16rpx;
|
|
background: #ffffff;padding: 30rpx;
|
|
background: #ffffff;padding: 30rpx;
|
|
|
|
+ padding-bottom: 10rpx;
|
|
}
|
|
}
|
|
.jiyoutopTitle{
|
|
.jiyoutopTitle{
|
|
font-weight: 500;font-size: 28rpx;
|
|
font-weight: 500;font-size: 28rpx;
|
|
@@ -309,14 +339,14 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
|
|
display: flex;justify-content: space-between;flex-wrap: wrap;
|
|
display: flex;justify-content: space-between;flex-wrap: wrap;
|
|
}
|
|
}
|
|
.historyLineVin{
|
|
.historyLineVin{
|
|
- display: flex;background: #ffffff;
|
|
|
|
|
|
+ display: flex;color: #ffffff;
|
|
}
|
|
}
|
|
.historyLineCar{
|
|
.historyLineCar{
|
|
display: flex;justify-content: space-between;
|
|
display: flex;justify-content: space-between;
|
|
}
|
|
}
|
|
.vinNum{
|
|
.vinNum{
|
|
- font-weight: 400;font-size: 22rpx;padding-left: 10rpx;
|
|
|
|
- color: #999999;line-height: 30rpx;
|
|
|
|
|
|
+ font-weight: 400;font-size: 22rpx;
|
|
|
|
+ line-height: 30rpx;
|
|
}
|
|
}
|
|
.vinms{
|
|
.vinms{
|
|
width: 38rpx;
|
|
width: 38rpx;
|
|
@@ -351,4 +381,42 @@ color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
|
|
background: #FFFFFF linear-gradient(132deg, #FF8635 0%, #FF4828 100%);
|
|
background: #FFFFFF linear-gradient(132deg, #FF8635 0%, #FF4828 100%);
|
|
color: #FFF;
|
|
color: #FFF;
|
|
}
|
|
}
|
|
|
|
+ .qiehuanBox{
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
+ color: #1A1A1A;
|
|
|
|
+ /* padding-top: 20rpx; */
|
|
|
|
+ }
|
|
|
|
+ .qiehuanRight{
|
|
|
|
+ color: #1576FF;
|
|
|
|
+ }
|
|
|
|
+ .carFn{
|
|
|
|
+ background: #FFFFFF;
|
|
|
|
+ color: #FF4F00;
|
|
|
|
+ font-size: 24rpx;
|
|
|
|
+ height: 50rpx;
|
|
|
|
+ line-height: 49rpx;
|
|
|
|
+ width: 120rpx;
|
|
|
|
+ text-align: center;
|
|
|
|
+ border-radius: 10rpx;
|
|
|
|
+ margin-top: 10rpx;
|
|
|
|
+ margin-left: 20rpx;
|
|
|
|
+ }
|
|
|
|
+ .topBtnBox{
|
|
|
|
+ display: flex;
|
|
|
|
+ padding-bottom: 20rpx;
|
|
|
|
+ padding-left: 68rpx;
|
|
|
|
+ }
|
|
|
|
+ .copyBox{
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ font-size: 22rpx;
|
|
|
|
+ border: 1px solid #FFFFFF;
|
|
|
|
+ padding: 0 10rpx;
|
|
|
|
+ border-radius: 6rpx;
|
|
|
|
+ margin-left: 20rpx;
|
|
|
|
+ height: 26rpx;
|
|
|
|
+ line-height: 26rpx;
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|