中建四局(安全管理):样式整体调整

This commit is contained in:
骆乐 2022-09-07 14:25:07 +08:00
parent 27947669a7
commit 82bcb543f6
6 changed files with 37 additions and 26 deletions

View File

@ -12,7 +12,7 @@
<div class="list" v-if="tabIndex==0"> <div class="list" v-if="tabIndex==0">
<div class="thead"> <div class="thead">
<div class="row"> <div class="row">
<div class="td" style="width:90px;">序号</div> <div class="td">序号</div>
<div class="td">验收项目</div> <div class="td">验收项目</div>
<div class="td">验收要求</div> <div class="td">验收要求</div>
<div class="td">专业承包单位</div> <div class="td">专业承包单位</div>
@ -24,7 +24,7 @@
<div class="tbody"> <div class="tbody">
<vue-scroll> <vue-scroll>
<div class="row" v-for="i in 8" :key="i"> <div class="row" v-for="i in 8" :key="i">
<div class="td" style="width:90px;">{{i}}</div> <div class="td">{{i}}</div>
<div class="td">深基坑临边防护</div> <div class="td">深基坑临边防护</div>
<div class="td">砌筑200mm以上挡水墙</div> <div class="td">砌筑200mm以上挡水墙</div>
<div class="td">中国建筑第四工程局有限公司</div> <div class="td">中国建筑第四工程局有限公司</div>
@ -140,26 +140,26 @@ export default {
} }
.list { .list {
width: 100%; width: 100%;
height: calc(100% - 32px); height: calc(100% - 80px);
.thead { .thead {
font-size: 14px; font-size: 14px;
color: #6ee4f0; color: #6ee4f0;
} }
.tbody { .tbody {
height: calc(100% - 32px); height: calc(100% - 40px);
font-size: 12px; font-size: 12px;
color: #ccc; color: #ccc;
} }
.row { .thead .row, .tbody .row{
display: flex; display: flex;
text-align: center;
justify-content: left;
height: 40px;
line-height: 40px;
.td { .td {
height: 32px;
line-height: 32px;
text-align: center;
justify-content: center;
&:nth-child(1) { &:nth-child(1) {
width: 150px; width: 80px;
} }
&:nth-child(2) { &:nth-child(2) {
flex: 1; flex: 1;
@ -168,16 +168,16 @@ export default {
flex: 1; flex: 1;
} }
&:nth-child(4) { &:nth-child(4) {
flex: 1; flex: 1.5;
} }
&:nth-child(5) { &:nth-child(5) {
flex: 1; flex:1;
} }
&:nth-child(6) { &:nth-child(6) {
flex: 1; flex:1;
} }
&:nth-child(7) { &:nth-child(7) {
flex: 1; flex:1;
} }
} }
} }

View File

@ -74,7 +74,7 @@ export default {
value1: "", value1: "",
value2: "", value2: "",
xData: ["18-24", "25-34", "34-49", "50-55", "未登记"], xData: ["18-24", "25-34", "34-49", "50-55", "未登记"],
grid: ["15%", "1%", "10%", "7%"], grid: ["10%", "2%", "18%", "10%"],
series: [ series: [
{ {
data: ["2200", "4000", "8000", "3000", "8000"], data: ["2200", "4000", "8000", "3000", "8000"],
@ -98,6 +98,13 @@ export default {
tooltip: { tooltip: {
trigger: "axis" trigger: "axis"
}, },
grid: {
top: '10%',
right: '2%',
bottom: '18%',
left: '2%',
containLabel: true
},
xAxis: { xAxis: {
type: "category", type: "category",
boundaryGap: false, boundaryGap: false,
@ -176,7 +183,7 @@ export default {
} }
} }
.item.margin { .item.margin {
margin-top: 2%; margin-top: 1%;
} }
} }
.bunbox { .bunbox {

View File

@ -35,10 +35,10 @@ export default {
width: 20%; width: 20%;
height: 100%; height: 100%;
.top { .top {
height: 60%; height: 65%;
} }
.bottom { .bottom {
height: 40%; height: 35%;
} }
} }
.center { .center {

View File

@ -42,6 +42,7 @@ export default {
} }
.tbody { .tbody {
height: calc(100% - 30px); height: calc(100% - 30px);
font-size: 12px;
} }
.row { .row {
display: flex; display: flex;

View File

@ -4,7 +4,7 @@
<div class="dllm"> <div class="dllm">
<div class="woria"> <div class="woria">
<JRingChart <JRingChart
:title="{ text: '安全隐患', subTitle: '987条件', fontSize: 16 }" :title="{ text: '安全隐患', subTitle: '987条件', fontSize: 14 }"
:color="['#6EE4F0', '#E7622A']" :color="['#6EE4F0', '#E7622A']"
:data="[{ value: 2314 }, { value: 987 }]" :data="[{ value: 2314 }, { value: 987 }]"
:radius="['60%', '85%']" :radius="['60%', '85%']"
@ -34,7 +34,7 @@
<div class="dllm"> <div class="dllm">
<div class="woria"> <div class="woria">
<JRingChart <JRingChart
:title="{ text: '质量整改', subTitle: '987条件', fontSize: 16 }" :title="{ text: '质量整改', subTitle: '987条件', fontSize: 14 }"
:color="['#6EE4F0', '#E7622A']" :color="['#6EE4F0', '#E7622A']"
:data="[{ value: 2314 }, { value: 987 }]" :data="[{ value: 2314 }, { value: 987 }]"
:radius="['60%', '85%']" :radius="['60%', '85%']"
@ -116,7 +116,7 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.charts { .charts {
height: 50%; height: 47%;
display: flex; display: flex;
color: #fff; color: #fff;
.dllm { .dllm {
@ -172,14 +172,15 @@ export default {
} }
} }
.security-list { .security-list {
height: 50%; margin-top: 2%;
height: 48%;
color: #fff; color: #fff;
.thead { .thead {
color: #6ae3eb; color: #6ae3eb;
} }
.tbody { .tbody {
height: calc(100% - 36px); height: calc(100% - 36px);
font-size: 14px; font-size: 12px;
} }
.row { .row {
width: 98%; width: 98%;
@ -198,13 +199,13 @@ export default {
.td { .td {
text-align: center; text-align: center;
&:nth-child(1) { &:nth-child(1) {
width: 30%; width: 28%;
} }
&:nth-child(2) { &:nth-child(2) {
width: calc(70% - 70px); width: calc(72% - 80px);
} }
&:nth-child(3) { &:nth-child(3) {
width: 70px; width: 80px;
} }
&.orange { &.orange {
color: #e7622a; color: #e7622a;

View File

@ -37,8 +37,10 @@ export default {
width: 100%; width: 100%;
height: 176px; height: 176px;
.device-name { .device-name {
margin-top: 20px;
height: 36px; height: 36px;
line-height: 36px; line-height: 36px;
font-size: 12px;
} }
.info { .info {
height: 22px; height: 22px;