Commit 10752892 by yancanhua

fix: 自测问题细节调整

1 parent c75479df
......@@ -6,7 +6,7 @@
<link rel="icon" href="/favicon/favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>专电优拍</title>
<script type="module" crossorigin src="https://aus.test.glsx.com.cn/assets/index-BuotOPMq.js"></script>
<script type="module" crossorigin src="https://aus.test.glsx.com.cn/assets/index-B5NhE1Tg.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.test.glsx.com.cn/assets/index-CAAxcolk.css">
<!-- <script type="module" crossorigin src="https://aus.glsx.com.cn/assets/index-pxQEYXWe.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.glsx.com.cn/assets/index-CAAxcolk.css"> -->
......
......@@ -6,9 +6,9 @@ PUBLISH_PATH = '/'
BASE_URL = '/
# 开发环境
# VITE_API_BASE_URL = 'http://aus.test.glsx.com.cn/admin/rest'
VITE_API_BASE_URL = 'http://192.168.1.125:6903/admin/rest'
VITE_API_BASE_URL = 'http://aus.test.glsx.com.cn/admin/rest'
# VITE_API_BASE_URL = 'http://192.168.1.125:6903/admin/rest'
VITE_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yIiwicmVhbE5hbWUiOiLotoXnuqfnrqHnkIblkZgiLCJwYXNzd29yZCI6IiQyYSQxMCRlQ21jWmxPaFltVUxrNklibjR3RVgudjNpa0dzcnBpYjh0SlBlcGJ6NVl1SXFWbUpCVER4eSIsImlzcyI6ImF1c0FwcCIsImV4cCI6MTg0NTI4NTU3NiwiaWF0IjoxNzczMjg1NTc2LCJqdGkiOiIzMCIsImF1dGhvcml0aWVzIjpbIlJPTEVfU1VQRVIiXX0.q0Ou_W9goNWUgasZTULp4IDWlZhVHWbQ0jn49qdZeSw'
#VITE_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yIiwicmVhbE5hbWUiOiJhZG1pbmlzdHJhdG9yIiwicGFzc3dvcmQiOiIkMmEkMTAkQ0ZudVRoVHgyRHBMZC9UdkVVdVZGZXhqM1plUnlLQVNwMkllUW41VHFUbU5yN1N4UFI0VG0iLCJpc3MiOiJhdXNBcHAiLCJleHAiOjE4NDExNTk5OTgsImlhdCI6MTc2OTE1OTk5OCwianRpIjoiOTYiLCJhdXRob3JpdGllcyI6WyJST0xFX1NVUEVSIl19.SCTolgZ7my8M3uK6YkV3svZas8qcdIzU_GP1XS7bhUk'
VITE_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yIiwicmVhbE5hbWUiOiJhZG1pbmlzdHJhdG9yIiwicGFzc3dvcmQiOiIkMmEkMTAkQ0ZudVRoVHgyRHBMZC9UdkVVdVZGZXhqM1plUnlLQVNwMkllUW41VHFUbU5yN1N4UFI0VG0iLCJpc3MiOiJhdXNBcHAiLCJleHAiOjE4NDExNTk5OTgsImlhdCI6MTc2OTE1OTk5OCwianRpIjoiOTYiLCJhdXRob3JpdGllcyI6WyJST0xFX1NVUEVSIl19.SCTolgZ7my8M3uK6YkV3svZas8qcdIzU_GP1XS7bhUk'
......@@ -45,8 +45,8 @@
车辆详细信息
<div class="title-line"></div>
</template>
<a-descriptions-item label="车型名称">
{{ pageData?.vehicle?.baseInfo?.carTypeName || '-' }}
<a-descriptions-item label="车型名称">
{{ pageData.vehicle?.baseInfo?.carSeriesName }} {{ pageData?.vehicle?.baseInfo?.carTypeName || '-' }}
</a-descriptions-item>
<a-descriptions-item label="车源号">
{{ pageData?.vehicle?.baseInfo?.sourceNo || '-' }}
......
......@@ -174,7 +174,7 @@
</view> -->
<!-- 检测报告 -->
<view class="section-card" style="background: linear-gradient(90deg, #c8dcf7 10%, #ffffff 100%);" >
<view class="section-card" style="background: linear-gradient(180deg, #e0effe 0%, #f8f9fb 100%);" >
<InspectionReport :auctionVehicle="auctionVehicle" />
</view>
......
......@@ -7,7 +7,12 @@
</view>
<view class="averageHand">
<view class="average">{{ reportData.overallScore || '-' }}</view>
<view class="average"
:class="reportData.overallScore >= 90 ? 'value_color1'
: reportData.overallScore >= 80 && reportData.overallScore <= 89 ? 'value_color2'
: reportData.overallScore >= 60 && reportData.overallScore <= 79 ? 'value_color3'
: reportData.overallScore < 60 ? 'value_color4' : ''"
>{{ reportData.overallScore || '-' }}</view>
<view class="averageUnit">分</view>
<!-- 优秀 90-100分 -->
<view v-if="reportData.overallScore >= 90" class="averageBox averageBox_bg1">
......@@ -33,7 +38,7 @@
</text>
<text>骨架</text>
<text class="ratingValue"
:class="reportData.skeletonLevel == 'A' ? 'value_color1' : reportData.skeletonLevel == 'B' ? 'value_color2' : reportData.skeletonLevel == 'C' ? 'value_color3' : ''">
:class="reportData.skeletonLevel == 'A' ? 'value_color1' : reportData.skeletonLevel == 'B' ? 'value_color2' : reportData.skeletonLevel == 'C' ? 'value_color3' : reportData.skeletonLevel == 'D' ? 'value_color4' : ''">
{{ reportData.skeletonLevel || '-' }}
</text>
<text>内饰</text>
......@@ -82,7 +87,7 @@ export default class InspectionReport extends Vue {
getReportVehicleData(): void {
if (this.auctionVehicle.vehicle.vehicleId) {
AuctionController.reportVehicleData(this.axios, this.auctionVehicle.vehicle.vehicleId).then(res => {
this.reportData = res.data || {};
this.reportData = res.data.data || {};
});
}
}
......@@ -113,7 +118,7 @@ export default class InspectionReport extends Vue {
border-radius: 8px;
background: #ffffff;
position: relative;
background: linear-gradient(90deg, #c8dcf7 10%, #ffffff 100%);
background: linear-gradient(180deg, #e0effe 0%, #f8f9fb 100%);
}
.height152 {
......@@ -222,15 +227,19 @@ export default class InspectionReport extends Vue {
}
.value_color1 {
color: #27cd5a;
color: rgb(125, 201, 64);
}
.value_color2 {
color: #faba32;
color: rgb(125, 201, 64);
}
.value_color3 {
color: #ee3140;
color: rgb(247, 217, 68);
}
.value_color4 {
color: rgb(239, 58, 58);
}
.accident {
......@@ -258,5 +267,7 @@ export default class InspectionReport extends Vue {
font-size: 14px;
text-align: center;
cursor: pointer;
color: #666666;
background: #f8f9fb;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!