|
@@ -224,8 +224,8 @@
|
|
|
<div>
|
|
|
<span>{{ i + 1 }}</span>
|
|
|
<span>{{ citem.name }}</span>
|
|
|
+ <span :class="`score_color color${total_score(citem) < 80 ? '2' : '1'}`">{{total_score(citem)}}分</span>
|
|
|
</div>
|
|
|
- <div>90分</div>
|
|
|
<div @click="toggleContentVisabled(citem)">
|
|
|
<template v-if="citem['show']">
|
|
|
<span
|
|
@@ -258,7 +258,7 @@
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="land-evaluation">
|
|
|
- <p class="title">地块评价:</p>
|
|
|
+ <p class="evaluation-title">地块评价:</p>
|
|
|
<div class="evaluation-item">
|
|
|
<span>产业匹配度:</span>
|
|
|
<span class="score">{{ citem.cyppd ? (citem.cyppd / 5).toFixed(0) : 0 }}分</span>
|
|
@@ -587,6 +587,10 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ total_score (citem) {
|
|
|
+ const total = citem.cyppd + citem.dkcsd + citem.jtblx +citem.ghfhd +citem.dkgzd
|
|
|
+ return total / 5
|
|
|
+ },
|
|
|
onBackHandle() {
|
|
|
this.showResult = this.showQuery = this.loading = false;
|
|
|
this.hzData = [];
|
|
@@ -3040,7 +3044,23 @@ export default {
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
margin-bottom: 8px;
|
|
|
-
|
|
|
+ .score_color {
|
|
|
+ padding: 2px 10px;
|
|
|
+ border-radius: 2px;
|
|
|
+ font-size: 13px;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-left: 5px;
|
|
|
+ &.color1 {
|
|
|
+ border: 1px solid #5ac724;
|
|
|
+ color: #5ac724;
|
|
|
+ background: #f6ffed;
|
|
|
+ }
|
|
|
+ &.color2 {
|
|
|
+ border: 1px solid #fa8f1d;
|
|
|
+ color: #fa8f1d;
|
|
|
+ background: #fff2e8;
|
|
|
+ }
|
|
|
+ }
|
|
|
> div {
|
|
|
&:first-child {
|
|
|
color: #2553d5;
|
|
@@ -3086,9 +3106,8 @@ export default {
|
|
|
|
|
|
.land-evaluation {
|
|
|
margin-top: 15px;
|
|
|
- padding-left: 10px;
|
|
|
|
|
|
- .title {
|
|
|
+ >.evaluation-title {
|
|
|
font-size: 16px;
|
|
|
font-weight: bold;
|
|
|
color: #212121;
|
|
@@ -3110,7 +3129,7 @@ export default {
|
|
|
.score {
|
|
|
font-weight: bold;
|
|
|
margin-left: 5px;
|
|
|
- color: #2553d5;
|
|
|
+ color: #1890ff;
|
|
|
width: 50px;
|
|
|
}
|
|
|
|
|
@@ -3120,11 +3139,23 @@ export default {
|
|
|
background-color: #f0f0f0;
|
|
|
border-radius: 4px;
|
|
|
overflow: hidden;
|
|
|
-
|
|
|
+ position: relative;
|
|
|
.progress {
|
|
|
height: 100%;
|
|
|
- background-color: #2553d5;
|
|
|
+ background-color: rgb(24, 144, 255);
|
|
|
border-radius: 4px;
|
|
|
+ position: relative;
|
|
|
+ z-index: 99999999;
|
|
|
+ }
|
|
|
+ &::after {
|
|
|
+ content: "";
|
|
|
+ display: block;
|
|
|
+ position: absolute;
|
|
|
+ left: 0px;
|
|
|
+ top: 0px;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background: rgba(24, 144, 255, 0.15);
|
|
|
}
|
|
|
}
|
|
|
}
|