From 355378de9afee6f46532863c0eef3c7bd94cb05e Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Wed, 22 Feb 2023 22:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=88=90=E5=B0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App2.vue | 6 ++ src/plugin/ui/achievement.ts | 60 +++++++++++++++++- src/ui/achievement.vue | 28 ++------- src/ui/completeAchievement.vue | 107 +++++++++++++++++++++++++++++++++ src/ui/start.vue | 2 +- 5 files changed, 178 insertions(+), 25 deletions(-) create mode 100644 src/ui/completeAchievement.vue diff --git a/src/App2.vue b/src/App2.vue index 388c503..70e4c37 100644 --- a/src/App2.vue +++ b/src/App2.vue @@ -8,6 +8,10 @@ > + @@ -21,12 +25,14 @@ import { import { chapterContent, chapterShowed } from './plugin/ui/chapter'; import { showMarkedEnemy } from './plugin/mark'; import { showStudied, useFixed } from './plugin/settings'; +import { showComplete, completeAchi } from './plugin/ui/achievement'; import MarkedEnemy from './ui/markedEnemy.vue'; import StatusBar from './ui/statusBar.vue'; import Chapter from './ui/chapter.vue'; import Studied from './ui/studied.vue'; import Fixed from './ui/fixed.vue'; import Start from './ui/start.vue'; +import CompleteAchievement from './ui/completeAchievement.vue'; diff --git a/src/ui/start.vue b/src/ui/start.vue index 089e6de..789716a 100644 --- a/src/ui/start.vue +++ b/src/ui/start.vue @@ -89,8 +89,8 @@ const text2 = ['轮回', '分支', '观测', '回忆'].reverse(); const ids = ['start-game', 'load-game', 'replay', 'achievement'].reverse(); const hardIds = ['easy', 'hard-hard', 'back'].reverse(); -const text = ref(text1); const hard = ['简单', '困难', '返回'].reverse(); +const text = ref(text1); const toshow = reactive([]); const selected = ref('start-game');