From 1b2f1472a0dfb464d49a9ef252721caf1b5f1c76 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 14 五月 2024 14:24:44 +0800 Subject: [PATCH] 优化首页 --- src/components/view/index-index.vue | 25 ++++++++++++++++++++----- 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/components/view/index-index.vue b/src/components/view/index-index.vue index b688f28..4ccf7c5 100644 --- a/src/components/view/index-index.vue +++ b/src/components/view/index-index.vue @@ -241,15 +241,30 @@ text-align: left; margin-bottom: 10px; } - >>>.is-selected .el-calendar-day{ - background: #3A7BFA !important; - color: #fff !important; + >>>.el-calendar-day span{ + display: inline-block; + width: 30px; + height: 30px; + line-height: 30px; + text-align: center; border-radius: 4px; } - >>>.el-calendar-day:hover{ + >>>.is-selected{ + background: transparent !important; + } + >>>.is-selected .el-calendar-day{ + background: transparent !important; + } + >>>.is-selected .el-calendar-day span{ background: #3A7BFA !important; color: #fff !important; - border-radius: 4px; + } + >>>.el-calendar-day:hover{ + background: transparent; + } + >>>.el-calendar-day span:hover{ + background: #3A7BFA !important; + color: #fff !important; } </style> -- Gitblit v1.9.3