|
|
@@ -117,7 +117,8 @@
|
|
|
</el-tooltip>
|
|
|
<span class="item_tag" v-if="item.scoreRateDiff"
|
|
|
:style="{ backgroundColor: parseFloat(item.scoreRateDiff) > 0 ? '#3BA272' : '#F56C6C' }">
|
|
|
- {{ item.scoreRateDiff }}%
|
|
|
+ <i>{{ item.scoreRateDiff }}% </i>
|
|
|
+ <i v-if="parseFloat(item.scoreRateDiff) !== 0" style="margin-top: 0px">{{ parseFloat(item.scoreRateDiff) > 0 ? '↑' : '↓' }}</i>
|
|
|
</span>
|
|
|
<span class="item_tag" v-if="item.isPush == 1" style="background-color: #2E64FA;">
|
|
|
有推题
|
|
|
@@ -1668,14 +1669,20 @@ export default {
|
|
|
}
|
|
|
|
|
|
.item_tag {
|
|
|
- margin-left: 5px;
|
|
|
color: #FFFFFF;
|
|
|
font-size: 12px;
|
|
|
- padding: 4px 0px;
|
|
|
- width: 57px;
|
|
|
+ padding: 4px 6px;
|
|
|
+ margin-left: 5px;
|
|
|
text-align: center;
|
|
|
border-radius: 4px;
|
|
|
font-weight: 400;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 4px;
|
|
|
+ i:last-child {
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|