From 293f981976d9022d9988cfae66d7feae36967a12 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 14 五月 2024 14:10:30 +0800 Subject: [PATCH] 优化首页 --- src/components/view/b2-standard.vue | 5 ++++- src/components/view/index-index.vue | 23 ++++++++++++++++------- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/components/view/b2-standard.vue b/src/components/view/b2-standard.vue index 76219ef..9725c6b 100644 --- a/src/components/view/b2-standard.vue +++ b/src/components/view/b2-standard.vue @@ -65,6 +65,9 @@ width: 80% !important; overflow: hidden; } + >>>.el-table__body-wrapper{ + height: calc(100% - 46px) !important; + } </style> <style> .standard .el-tree-node__content { @@ -142,7 +145,7 @@ <!-- </el-col> --> </el-row> <el-row class="standard_table" v-loading="tableLoad"> - <el-table class="el-table" :data="standardList" style="width: 100%;" height="220" tooltip-effect="dark" + <el-table class="el-table" :data="standardList" style="width: 100%;height: 220px !important;" height="220" tooltip-effect="dark" highlight-current-row @row-click="rowClick" ref="standard"> <el-table-column prop="code" label="鏍囧噯缂栧彿" show-overflow-tooltip width="200"> <template slot-scope="scope"> diff --git a/src/components/view/index-index.vue b/src/components/view/index-index.vue index f1b2499..8dc66d5 100644 --- a/src/components/view/index-index.vue +++ b/src/components/view/index-index.vue @@ -241,7 +241,16 @@ text-align: left; margin-bottom: 10px; } - + >>>.is-selected .el-calendar-day{ + background: #0166E2 !important; + color: #fff !important; + border-radius: 4px; + } + >>>.el-calendar-day:hover{ + background: #0166E2 !important; + color: #fff !important; + border-radius: 4px; + } </style> <template> @@ -280,7 +289,7 @@ <img src="../../../static/img/index-0.svg" alt=""> </div> <div class="mun"> - <p style="font-size: 20px;">254</p> + <p style="font-size: 20px;">0</p> <p style="font-size: 14px;margin-bottom: 10px;">鎴戠殑寰呭姙</p> </div> </div> @@ -289,7 +298,7 @@ <img src="../../../static/img/index-1.svg" alt=""> </div> <div class="mun"> - <p style="font-size: 20px;">254</p> + <p style="font-size: 20px;">0</p> <p style="font-size: 14px;margin-bottom: 10px;">宸插姙浜嬪疁</p> </div> </div> @@ -298,7 +307,7 @@ <img src="../../../static/img/index-2.svg" alt=""> </div> <div class="mun"> - <p style="font-size: 20px;">254</p> + <p style="font-size: 20px;">0</p> <p style="font-size: 14px;margin-bottom: 10px;">鍓╀綑寰呭姙</p> </div> </div> @@ -307,7 +316,7 @@ <img src="../../../static/img/index-3.svg" alt=""> </div> <div class="mun"> - <p style="font-size: 20px;">254</p> + <p style="font-size: 20px;">0</p> <p style="font-size: 14px;margin-bottom: 10px;">杩戞湡浜嬪疁</p> </div> </div> @@ -332,8 +341,8 @@ <span> {{ data.day.split('-').slice(2)+'' }} </span> - <el-badge v-if="data.isSelected" is-dot class="item"> - </el-badge> + <!-- <el-badge v-if="data.isSelected" is-dot class="item"> + </el-badge> --> </template> </el-calendar> </div> -- Gitblit v1.9.3