From efe44ac59f54ca325988a2acdfc893763a23c2f0 Mon Sep 17 00:00:00 2001 From: Xu Zhimeng Date: Fri, 19 May 2023 09:18:48 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/menu/CustomTopMenu.vue | 1 + src/components/page/GlobalLayout.vue | 2 +- src/style.less | 6 ++++++ src/views/system/DataBase.vue | 2 +- src/views/system/Scheduling.vue | 9 ++++----- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/components/menu/CustomTopMenu.vue b/src/components/menu/CustomTopMenu.vue index 0a2b062..f9f9edc 100644 --- a/src/components/menu/CustomTopMenu.vue +++ b/src/components/menu/CustomTopMenu.vue @@ -101,6 +101,7 @@ export default { display: inline-flex; align-items: center; line-height: normal; + user-select: none; &-selected, &-active { background-color: rgba(9, 255, 212, 0.3) !important; diff --git a/src/components/page/GlobalLayout.vue b/src/components/page/GlobalLayout.vue index d04c2bb..6c91e35 100644 --- a/src/components/page/GlobalLayout.vue +++ b/src/components/page/GlobalLayout.vue @@ -666,7 +666,7 @@ border-top: 1px solid rgba(12, 235, 201, .3); border-bottom: 1px solid rgba(12, 235, 201, .3); margin-bottom: 16px; - padding: 5px 10px; + padding: 5px 10px 8px; background-color: rgba(12, 235, 201, .05); overflow: auto; .ant-menu { diff --git a/src/style.less b/src/style.less index b565a04..88a27aa 100644 --- a/src/style.less +++ b/src/style.less @@ -174,6 +174,12 @@ body { &-year-select-content { color: #fff; } + &-month { + &:hover { + color: #fff !important; + background-color: @primary-color; + } + } } } diff --git a/src/views/system/DataBase.vue b/src/views/system/DataBase.vue index 45b6d26..2cbe80b 100644 --- a/src/views/system/DataBase.vue +++ b/src/views/system/DataBase.vue @@ -293,7 +293,7 @@ export default { ] }, style: { - width: '600px' + width: '610px' } } ] diff --git a/src/views/system/Scheduling.vue b/src/views/system/Scheduling.vue index 38b1194..0ee099f 100644 --- a/src/views/system/Scheduling.vue +++ b/src/views/system/Scheduling.vue @@ -76,11 +76,11 @@ Edit - + Import - + Export @@ -419,11 +419,10 @@ export default { toUserId, stationIds: [this.dragItem.stationId] }) - if(success) { + if (success) { this.$message.success('Change Success') this.getList() - } - else { + } else { this.$message.error('Change Fail') } } catch (error) {