From a598f579e21d4dcc30b5d8fa1737f24f4dd90012 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 27 七月 2023 17:38:16 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/views/wel/Statistic.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/views/wel/Statistic.vue b/Source/UBCS-WEB/src/views/wel/Statistic.vue index f95cb3d..32fb7dd 100644 --- a/Source/UBCS-WEB/src/views/wel/Statistic.vue +++ b/Source/UBCS-WEB/src/views/wel/Statistic.vue @@ -1,7 +1,7 @@ <template> <div> <el-row :gutter="20"> - <el-col :span="3" v-for="item in listMyTask"> + <el-col :xs="8" :sm="8" :md="8" :lg="6" :xl="4" v-for="item in listMyTask"> <div class="box" :style="item.style"> {{item.name}} <div><avue-count-up class="value" :end="item.count"></avue-count-up></div> @@ -130,13 +130,14 @@ </script> <style scoped> +.el-col{margin-bottom: 0} .box{ text-align: center; background: rgb(235, 238, 245); color: #303133; - height: 74px; + height: 70px; margin: 10px 0!important; - padding: 15px 20px; + padding: 15px 10px; position: relative; border-radius: 4px; box-sizing: border-box; @@ -145,6 +146,8 @@ .value{ font-size: 12px; opacity: .69; - line-height: 24px; + line-height: 20px; + margin-top: 5px; + display: block; } </style> -- Gitblit v1.9.3