From 7349cc05588e600cfe36bb27c6df8b4e1b8889d5 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sun, 12 Mar 2023 21:37:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(style):=20=E7=A8=8D=E5=BE=AE=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=BA=86=E4=B8=8B=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/t-sidebar.vue | 49 +++++++++++++----------------------- src/pages/Achievements.vue | 5 +++- 2 files changed, 21 insertions(+), 33 deletions(-) diff --git a/src/components/t-sidebar.vue b/src/components/t-sidebar.vue index b8f42445..94480806 100644 --- a/src/components/t-sidebar.vue +++ b/src/components/t-sidebar.vue @@ -7,57 +7,40 @@ - mdi-arrow-left + mdi-arrow-left - mdi-menu + mdi-menu - + - 首页 - - mdi-bug-outline - 测试功能 - - + - 咨讯 - - mdi-cog-outline - 开发功能 - - + - 成就 - - mdi-rocket-outline - 预期功能 - - + - 设置 - + - 开发 @@ -88,13 +71,14 @@ function collapse() { appStore.sidebar = rail.value; } function magicClick() { - if (!showDev.value) { - devStore.magicCount++; - if (devStore.magicCount >= 10) { - showDev.value = true; - devStore.showDev = true; - } - } + // 打包的时候不显示开发功能 + // if (!showDev.value) { + // devStore.magicCount++; + // if (devStore.magicCount >= 10) { + // showDev.value = true; + // devStore.showDev = true; + // } + // } } @@ -102,5 +86,6 @@ function magicClick() { .sideIcon { width: 24px; height: 24px; + margin-right: 32px; } diff --git a/src/pages/Achievements.vue b/src/pages/Achievements.vue index 63c4a3a2..463a9949 100644 --- a/src/pages/Achievements.vue +++ b/src/pages/Achievements.vue @@ -70,7 +70,10 @@ style="margin-bottom: 10px" > - + + {{ achievement.name }} {{ achievement.completed ? achievement.completed_time : achievement.description