From fe4f6155fd8439bbfe4754a6bb49b9d8c7292cd5 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sat, 20 Dec 2025 01:15:14 +0800 Subject: [PATCH] wip --- src/components/ChannelIcons/ChannelIcons.vue | 6 +- src/components/ChannelIcons/ShareIcon.vue | 6 +- src/components/WordItem.vue | 2 +- src/components/list/WordList.vue | 9 +- src/pages/word/PracticeWords.vue | 353 ++++++++++--------- src/utils/index.ts | 6 +- 6 files changed, 201 insertions(+), 181 deletions(-) diff --git a/src/components/ChannelIcons/ChannelIcons.vue b/src/components/ChannelIcons/ChannelIcons.vue index 658d47bf..80399d52 100644 --- a/src/components/ChannelIcons/ChannelIcons.vue +++ b/src/components/ChannelIcons/ChannelIcons.vue @@ -26,7 +26,6 @@ let showQQDialog = $ref(false) diff --git a/src/components/ChannelIcons/ShareIcon.vue b/src/components/ChannelIcons/ShareIcon.vue index 88c0c33f..9b80cc11 100644 --- a/src/components/ChannelIcons/ShareIcon.vue +++ b/src/components/ChannelIcons/ShareIcon.vue @@ -250,5 +250,7 @@ const sentence = $computed(() => { \ No newline at end of file +.stat-card { + @apply text-center bg-gray-900/30 py-4 rounded-2xl; +} + diff --git a/src/components/WordItem.vue b/src/components/WordItem.vue index cb94739f..417f4a91 100644 --- a/src/components/WordItem.vue +++ b/src/components/WordItem.vue @@ -47,7 +47,7 @@ const {
{{ index }}. {{ item.word }} - {{ item.phonetic0 }} + {{ item.phonetic0 }}
diff --git a/src/components/list/WordList.vue b/src/components/list/WordList.vue index d0dbf467..ceb82f20 100644 --- a/src/components/list/WordList.vue +++ b/src/components/list/WordList.vue @@ -37,9 +37,12 @@ defineExpose({scrollToBottom, scrollToItem}) ref="listRef" @click="(e:any) => emit('click',e)" :list="list" - v-bind="$attrs"> + v-bind="$attrs"> - \ No newline at end of file + diff --git a/src/pages/word/PracticeWords.vue b/src/pages/word/PracticeWords.vue index 3fc97d9f..b0d756b7 100644 --- a/src/pages/word/PracticeWords.vue +++ b/src/pages/word/PracticeWords.vue @@ -1,44 +1,59 @@ @@ -737,12 +753,11 @@ useEvents([ /> - - + +