From 02c2309255523a359030270932791360618d313d Mon Sep 17 00:00:00 2001 From: Megghy Date: Wed, 11 Oct 2023 23:23:07 +0800 Subject: [PATCH] 1011 --- package.json | 1 + src/App.vue | 4 +- src/api/account.ts | 10 +- src/api/api-models.ts | 16 ++ src/api/query.ts | 14 ++ src/components/RegisterAndLogin.vue | 114 +++++----- src/components/SongList.vue | 232 ++++++++++++--------- src/data/constants.ts | 1 + src/router/index.ts | 5 + src/views/ManageLayout.vue | 8 +- src/views/ViewerLayout.vue | 10 +- src/views/manage/LotteryView.vue | 49 +++++ src/views/manage/QuestionBoxManageView.vue | 204 +++++++++++++++--- src/views/view/QuestionBoxView.vue | 40 +++- src/views/view/SongListView.vue | 14 +- yarn.lock | 5 + 16 files changed, 522 insertions(+), 205 deletions(-) create mode 100644 src/views/manage/LotteryView.vue diff --git a/package.json b/package.json index be4d9e7..14fa1c3 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@vueuse/router": "^10.1.2", "core-js": "^3.8.3", "grapheme-splitter": "^1.0.4", + "linqts": "^1.15.0", "universal-cookie": "^4.0.4", "vite": "^4.3.9", "vue": "^3.2.13", diff --git a/src/App.vue b/src/App.vue index 760f6a0..846a712 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@