From eb64c3ede631f9f1ec49260db5190027fa08fb31 Mon Sep 17 00:00:00 2001 From: jiang <1354748262@qq.com> Date: 星期二, 23 一月 2024 10:57:13 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- jcdm-ui/src/views/dashboard/PanelGroup.vue | 35 +++++++++++++++++++++++++---------- 1 files changed, 25 insertions(+), 10 deletions(-) diff --git a/jcdm-ui/src/views/dashboard/PanelGroup.vue b/jcdm-ui/src/views/dashboard/PanelGroup.vue index 7301305..29156b6 100644 --- a/jcdm-ui/src/views/dashboard/PanelGroup.vue +++ b/jcdm-ui/src/views/dashboard/PanelGroup.vue @@ -1,6 +1,10 @@ <template> <el-row :gutter="40" class="panel-group"> - <div class="top2">鍗曟棩绱浜ч噺</div> + <el-card class="bottom-card"> + <div slot="header" class="clearfix"> + <span class="top2">鍗曟棩绱浜ч噺</span> + </div> + <el-col :xs="12" :sm="12" :lg="4" class="card-panel-col"> <div class="card-panel" @click="handleSetLineChartData('newVisitis')"> <div class="card-panel-icon-wrapper icon-people"> @@ -10,7 +14,7 @@ <div class="card-panel-text"> 鍚堢涓婄嚎 </div> - <count-to :start-val="0" :end-val="102400" :duration="2600" class="card-panel-num" /> + <count-to :start-val="0" :end-val="10200" :duration="2600" class="card-panel-num" /> </div> </div> </el-col> @@ -82,7 +86,7 @@ </div> </el-col> - + </el-card> </el-row> </template> @@ -103,15 +107,25 @@ </script> <style lang="scss" scoped> +.bottom-card{ + padding: 15px 20px 20px 20px; + height: auto; + width: 1272px; + margin-left: 20px; + justify-content: center; + column-width: max-content; +} + .top2{ - font-size: 26px; + font-size: 18px; font-weight: bold; - margin-bottom: 16px; + margin-bottom: 0px; } .panel-group { - margin-top: 18px; + width: 1272px; + margin-left: 20px; .card-panel-col { margin-bottom: 32px; } @@ -183,16 +197,17 @@ font-weight: bold; margin: 26px; margin-left: 0px; + padding: 20px 20px; .card-panel-text { - line-height: 18px; + line-height: 14px; color: rgba(0, 0, 0, 0.45); - font-size: 16px; - margin-bottom: 12px; + font-size: 12px; + margin-bottom: 9px; } .card-panel-num { - font-size: 20px; + font-size: 18px; } } } -- Gitblit v1.9.3