From caba724b7025dd8801ed590bed3d8d56579d6a8c Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 18 四月 2024 17:14:45 +0800 Subject: [PATCH] 完成实验室资质页面编写 --- src/components/view/b4-daily-business-statistics.vue | 42 +++++++++++++++++++++++------------------- 1 files changed, 23 insertions(+), 19 deletions(-) diff --git a/src/components/view/b4-daily-business-statistics.vue b/src/components/view/b4-daily-business-statistics.vue index 743edf6..01a9951 100644 --- a/src/components/view/b4-daily-business-statistics.vue +++ b/src/components/view/b4-daily-business-statistics.vue @@ -1,9 +1,9 @@ <template> <div class="daily-main" v-loading="loading"> <div class="daily-content" style="height:100%"> - <p style="font-size: 16px;padding:19.5px 0px">姣忔棩涓氬姟缁熻</p> + <!-- <p style="font-size: 16px;padding:19.5px 0px">姣忔棩涓氬姟缁熻</p> --> <el-row :gutter="20"> - <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> + <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> <div class="daily-card daily-head"> <div class="daily-head-left"> <h4>浠婃棩浠诲姟鎺ユ敹</h4> @@ -17,7 +17,7 @@ <img src="../../../static/img/daliy-0.svg" alt="" srcset=""> </div> </el-col> - <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> + <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> <div class="daily-card daily-head"> <div class="daily-head-left"> <h4>浠婃棩浠诲姟瀹屾垚</h4> @@ -31,7 +31,7 @@ <img src="../../../static/img/daliy-1.svg" alt="" srcset=""> </div> </el-col> - <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> + <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> <div class="daily-card daily-head"> <div class="daily-head-left"> <h4>浠婃棩浠诲姟鍓╀綑</h4> @@ -45,7 +45,7 @@ <img src="../../../static/img/daliy-2.svg" alt="" srcset=""> </div> </el-col> - <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> + <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> <div class="daily-card daily-head"> <div class="daily-head-left"> <h4>浠婃棩妫�娴嬭垂鐢�</h4> @@ -59,7 +59,7 @@ <img src="../../../static/img/daliy-3.svg" alt="" srcset=""> </div> </el-col> - <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> + <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> <div class="daily-card daily-head"> <div class="daily-head-left"> <h4>浠婃棩妫�娴嬪伐鏃�</h4> @@ -73,7 +73,7 @@ <img src="../../../static/img/daliy-4.svg" alt="" srcset=""> </div> </el-col> - <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 30px;"> + <el-col :xs="12" :sm="8" :md="6" :lg="4" :xl="4" style="margin-bottom: 16px;"> <div class="daily-card daily-head"> <div class="daily-head-left"> <h4>浠婃棩妫�娴嬩汉鍛�</h4> @@ -88,17 +88,17 @@ </div> </el-col> </el-row> - <el-row :gutter="20"> - <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" style="margin-bottom: 30px;"> - <div class="daily-card chart-box"> + <el-row :gutter="20" style="height: calc(100% - 170px);"> + <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" style="margin-bottom: 16px;height: 100%;"> + <div class="daily-card chart-box" style="height: 100%;"> <h4>杩�10鏃ヤ换鍔℃帴鏀堕噺</h4> - <echart-module :id="'daily-left'" :config="chartConfig0" :datas="chartData0"></echart-module> + <echart-module :id="'daily-left'" :config="chartConfig0" :datas="chartData0" style="height: calc(100% - 32px);"></echart-module> </div> </el-col> - <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" style="margin-bottom: 30px;"> - <div class="daily-card chart-box"> + <el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12" style="margin-bottom: 16px;height: 100%;"> + <div class="daily-card chart-box" style="height: 100%;"> <h4>杩�10鏃ュ疄闄呭畬鎴愪换鍔′笌鎺ユ敹浠诲姟瀵规瘮</h4> - <echart-module :id="'daily-right'" :config="chartConfig1" :datas="chartData1"></echart-module> + <echart-module :id="'daily-right'" :config="chartConfig1" :datas="chartData1" style="height: calc(100% - 32px);"></echart-module> </div> </el-col> </el-row> @@ -114,7 +114,7 @@ data(){ return{ chartConfig0:{ - height: '435px', + height: '', isLoading:false, type:'line' }, @@ -128,7 +128,7 @@ ] }, chartConfig1:{ - height: '435px', + height: '', isLoading:false, type:'bar' }, @@ -190,6 +190,10 @@ overflow-y: auto; overflow-x: hidden; } +.daily-content{ + padding: 20px 0; + box-sizing: border-box; +} .daily-card{ width: 100%; background: #FFFFFF; @@ -209,7 +213,7 @@ color: #202224; font-size: 16px; font-weight: 400; - margin-bottom: 20px; + margin-bottom: 16px; opacity: 0.8; } @@ -218,7 +222,7 @@ font-weight: bold; font-size: 28px; display: inline-block; - margin-bottom: 30px; + margin-bottom: 16px; } .daily-head-left .daily-head-left-info{ @@ -236,7 +240,7 @@ } .chart-box{ - padding: 30px 24px; + padding: 16px 24px; box-sizing: border-box; } -- Gitblit v1.9.3