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