Commit 10752892 by yancanhua

fix: 自测问题细节调整

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