中建四局大屏页面细节修复

This commit is contained in:
骆乐 2022-09-06 13:56:51 +08:00
parent 790e777892
commit d6b32f7211
4 changed files with 19 additions and 11 deletions

View File

@ -40,7 +40,6 @@ export default {
} }
}, },
deep: true, deep: true,
immediate: true
}, },
title: { title: {
handler(newVal, oldVal) { handler(newVal, oldVal) {
@ -49,7 +48,6 @@ export default {
} }
}, },
deep: true, deep: true,
immediate: true
} }
}, },
methods: { methods: {

View File

@ -37,8 +37,8 @@
<template> <template>
<el-table :data="tableData" :show-header="false" style="width: 100%"> <el-table :data="tableData" :show-header="false" style="width: 100%">
<el-table-column prop="date" label="建材类型" width="150"></el-table-column> <el-table-column prop="date" label="建材类型" width="150"></el-table-column>
<el-table-column prop="name" label="检测报告数" width="120"></el-table-column> <el-table-column prop="name" label="检测报告数" width="110"></el-table-column>
<el-table-column prop="address" label="合格数"></el-table-column> <el-table-column prop="address" label="合格数" width="100"></el-table-column>
<el-table-column prop="rale" style="color:red" label="合格率"> <el-table-column prop="rale" style="color:red" label="合格率">
<template slot-scope="scope"> <template slot-scope="scope">
<span class="raleRow" <span class="raleRow"
@ -142,7 +142,10 @@ export default {
color: white; color: white;
margin-top: 2%; margin-top: 2%;
margin-left: 1%; margin-left: 1%;
width: 100%;
height: 100%;
.topBox { .topBox {
height: 16%;
.point { .point {
width: 8px; width: 8px;
height: 8px; height: 8px;
@ -158,7 +161,7 @@ export default {
.top { .top {
display: flex; display: flex;
margin-top: 4%; margin-top: 4%;
height: 30%; height:100%;
.left { .left {
width: 70%; width: 70%;
.rowInfo, .rowInfo,
@ -182,25 +185,32 @@ export default {
} }
} }
.right { .right {
width: 25%; width: 29%;
background-image: url(../assets/images/common/bgc_bluechart.png); background-image: url(../assets/images/common/bgc_bluechart.png);
background-size: 100%; background-size: 100%;
.row { .row {
font-size: 12px; font-size: 12px;
color: #c4c7cc; color: #c4c7cc;
margin-left: 32%; margin-left: 35%;
margin-top: 38%; margin-top: 39%;
} }
} }
} }
} }
.titleRow{ .titleRow{
margin-top: 5%; margin-top: 3%;
color: #5ec2c8; color: #5ec2c8;
display: flex; display: flex;
span{ span{
flex: 1; flex: 1;
margin-left: 5%; margin-left: 5%;
// text-align: center;
&:nth-child(2) {
margin-left: 8%;
}
&:nth-child(3) {
margin-left: 9%;
}
} }
} }
.contentBtn { .contentBtn {

View File

@ -37,7 +37,7 @@
:title="{ text: '质量整改', subTitle: '987条件' }" :title="{ text: '质量整改', subTitle: '987条件' }"
:color="['#6EE4F0', '#E7622A']" :color="['#6EE4F0', '#E7622A']"
:data="[{ value: 2314 }, { value: 987 }]" :data="[{ value: 2314 }, { value: 987 }]"
:radius="['55%', '80%']" :radius="['60%', '85%']"
/> />
</div> </div>
<div class="legend"> <div class="legend">

View File

@ -37,7 +37,7 @@
:title="{ text: '质量整改', subTitle: '987条件', fontSize: 16 }" :title="{ text: '质量整改', subTitle: '987条件', fontSize: 16 }"
:color="['#6EE4F0', '#E7622A']" :color="['#6EE4F0', '#E7622A']"
:data="[{ value: 2314 }, { value: 987 }]" :data="[{ value: 2314 }, { value: 987 }]"
:radius="['55%', '80%']" :radius="['60%', '85%']"
/> />
</div> </div>
<div class="legend"> <div class="legend">