Commit 73d58776 by yancanhua

fix: 前端UI样式修改

1 parent 7dbb7e73
......@@ -6,12 +6,12 @@
<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-CkB7Aj6z.js"></script>
<script type="module" crossorigin src="https://aus.test.glsx.com.cn/assets/index-mzhnSR-o.js"></script>
<link rel="stylesheet" crossorigin href="https://aus.test.glsx.com.cn/assets/index-WADY07lV.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"> -->
</head>
<body>
<body>
<div id="app"></div>
<input type="hidden" id="token" th:value="${token}" value="">
<!-- built files will be auto injected -->
......
......@@ -104,7 +104,6 @@ export default class OperationLog extends Vue {
.logBox-content {
width: 100%;
height: 20px;
line-height: 20px;
float: left;
color: #777c85;
......
......@@ -10,7 +10,7 @@
<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 || '-' }}
: reportData.overallScore < 60 ? 'value_color4' : ''">{{ reportData.overallScore || '0' }}
</view>
<view class="averageUnit">分</view>
<!-- 优秀 90-100分 -->
......@@ -25,25 +25,25 @@
class="averageBox averageBox_bg3">
中
</view>
<view v-if="reportData.overallScore < 60" class="averageBox">差</view>
<view v-if="!reportData.overallScore">-</view>
<view v-if="reportData.overallScore < 60" class="averageBox averageBox_bg3">较差</view>
<!-- <view v-if="!reportData.overallScore">-</view> -->
</view>
<view class="rating">
<text>外观</text>
<text class="ratingValue"
:class="Number(reportData.exteriorScore || 0) >= 80 ? 'value_color1' : Number(reportData.exteriorScore || 0) >= 60 && Number(reportData.exteriorScore || 0) < 80 ? 'value_color2' : ''">
{{ reportData.exteriorScore || '-' }}
:class="Number(reportData.exteriorScore || 0) >= 80 ? 'value_color1' : Number(reportData.exteriorScore || 0) >= 60 && Number(reportData.exteriorScore || 0) < 80 ? 'value_color2' : 'value_color4'">
{{ reportData.exteriorScore || '0' }}
</text>
<text>骨架</text>
<text class="ratingValue"
:class="reportData.skeletonLevel == 'A' ? 'value_color1' : reportData.skeletonLevel == 'B' ? 'value_color2' : reportData.skeletonLevel == 'C' ? 'value_color3' : reportData.skeletonLevel == 'D' ? 'value_color4' : ''">
{{ reportData.skeletonLevel || '-' }}
:class="reportData.skeletonLevel == 'A' ? 'value_color1' : reportData.skeletonLevel == 'B' ? 'value_color2' : reportData.skeletonLevel == 'C' ? 'value_color3' : reportData.skeletonLevel == 'D' ? 'value_color4' : 'value_color4'">
{{ reportData.skeletonLevel || 'D' }}
</text>
<text>内饰</text>
<text class="ratingValue"
:class="reportData.interiorLevel == 'A' ? 'value_color1' : reportData.interiorLevel == 'B' ? 'value_color2' : reportData.interiorLevel == 'C' ? 'value_color3' : ''">
{{ reportData.interiorLevel || '-' }}
:class="reportData.interiorLevel == 'A' ? 'value_color1' : reportData.interiorLevel == 'B' ? 'value_color2' : reportData.interiorLevel == 'C' ? 'value_color3' : 'value_color4'">
{{ reportData.interiorLevel || 'D' }}
</text>
</view>
<view class="accident">
......@@ -198,24 +198,21 @@ export default class InspectionReport extends Vue {
}
.averageBox_bg1 {
background: #27cd5a1a;
color: #27cd5a;
}
.averageBox_bg2 {
background: #27cd5a1a;
color: #F5AE18;
}
.color_F5AE18 {
color: #F5AE18;
}
.averageBox_bg3 {
background: #27cd5a1a;
color: #EE3140;
}
.color_F5AE18 {
color: #F5AE18;
}
.rating {
width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!