From c3631b3226f7355e376e68d46ffc04891b4618ba Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 16 八月 2024 10:32:26 +0800 Subject: [PATCH] feat:数据中心展示 --- src/views/system/monitor/recovery/index.vue | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-) diff --git a/src/views/system/monitor/recovery/index.vue b/src/views/system/monitor/recovery/index.vue index 29912d5..a641361 100644 --- a/src/views/system/monitor/recovery/index.vue +++ b/src/views/system/monitor/recovery/index.vue @@ -2,12 +2,12 @@ <div class="app-container"> <el-card class="box-card" > <el-row type="flex" align="middle" justify="space-between"> - <el-col :xl="8" :lg="8" :md="10" :sm="8" :xs="6"> - <div class="icon-container" style="background-color: #5599F7"> + <el-col :span="4"> + <div class="icon-container" style="background-color: #1890FF"> <i class="el-icon-refresh-left"></i> </div> </el-col> - <el-col :xl="14" :lg="14" :md="12" :sm="14" :xs="16"> + <el-col :span="20"> <div class="dashboard"> <div class="dashboard-item"> <h3 style="color: #5C9BF8">{{ count.totalPosts }}</h3> @@ -20,10 +20,6 @@ <div class="dashboard-item"> <h3 style="color: #fe640d">{{ count.postsPercentage }}</h3> <p>寮傚父鏁�</p > - </div> - <div class="dashboard-item"> - <h3>{{ count.totalViews }}</h3> - <p>鐢熸垚寮傚父宸ュ崟鏁�</p > </div> <div class="dashboard-item"> <h3>{{ count.viewsPercentage }}%</h3> @@ -72,8 +68,8 @@ </el-form-item> <el-form-item> - <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鎼滅储</el-button> - <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲嶇疆</el-button> + <el-button type="primary" icon="el-icon-search" size="small" @click="handleQuery">鎼滅储</el-button> + <el-button icon="el-icon-refresh" size="small" @click="resetQuery">閲嶇疆</el-button> </el-form-item> </el-form> @@ -365,7 +361,7 @@ <style lang="scss" scoped> .box-card { - background-color: #F5F9FE; + background-color: #ffffff; width: 100%; margin-bottom: 20px; height: 120px @@ -374,8 +370,8 @@ display: flex; justify-content: center; align-items: center; - border-radius: 20px; - width: 20%; + border-radius: 10px; + width: 130px; height: 80px; margin-left: 5%; } @@ -386,9 +382,10 @@ .dashboard { display: flex; - gap: 10%; + gap: 5%; align-items: center; - margin-left: -50%; + justify-content: space-between; + margin-right: 20px; } .dashboard-item { -- Gitblit v1.8.0