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/index-index.vue | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) 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