From 5434ec975a118b454ecf492434c00a3b68f65d0a Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sun, 23 Nov 2025 22:18:18 +0800 Subject: [PATCH] wip --- components.d.ts | 2 +- public/dicts/en/article/NCE_1.json | 8 +- src/components/ChannelIcons.vue | 4 +- src/pages/article/components/EditArticle.vue | 114 +++++++++++++----- .../article/components/TypingArticle.vue | 18 ++- src/pages/word/Statistics.vue | 3 +- src/types/func.ts | 1 + src/types/global.d.ts | 13 +- src/types/types.ts | 1 + 9 files changed, 121 insertions(+), 43 deletions(-) diff --git a/components.d.ts b/components.d.ts index 76ede58f..525e664d 100644 --- a/components.d.ts +++ b/components.d.ts @@ -44,6 +44,7 @@ declare module 'vue' { IconFluentArrowClockwise20Regular: typeof import('~icons/fluent/arrow-clockwise20-regular')['default'] IconFluentArrowDownload20Regular: typeof import('~icons/fluent/arrow-download20-regular')['default'] IconFluentArrowLeft16Regular: typeof import('~icons/fluent/arrow-left16-regular')['default'] + IconFluentArrowMove20Regular: typeof import('~icons/fluent/arrow-move20-regular')['default'] IconFluentArrowRepeatAll20Regular: typeof import('~icons/fluent/arrow-repeat-all20-regular')['default'] IconFluentArrowRight16Regular: typeof import('~icons/fluent/arrow-right16-regular')['default'] IconFluentArrowShuffle16Regular: typeof import('~icons/fluent/arrow-shuffle16-regular')['default'] @@ -54,7 +55,6 @@ declare module 'vue' { IconFluentBookLetter20Regular: typeof import('~icons/fluent/book-letter20-regular')['default'] IconFluentBookNumber20Filled: typeof import('~icons/fluent/book-number20-filled')['default'] IconFluentCalendarDate20Regular: typeof import('~icons/fluent/calendar-date20-regular')['default'] - IconFluentCheckmark20Regular: typeof import('~icons/fluent/checkmark20-regular')['default'] IconFluentCheckmarkCircle16Filled: typeof import('~icons/fluent/checkmark-circle16-filled')['default'] IconFluentCheckmarkCircle16Regular: typeof import('~icons/fluent/checkmark-circle16-regular')['default'] IconFluentCheckmarkCircle20Filled: typeof import('~icons/fluent/checkmark-circle20-filled')['default'] diff --git a/public/dicts/en/article/NCE_1.json b/public/dicts/en/article/NCE_1.json index 6da53422..5f86cf2b 100644 --- a/public/dicts/en/article/NCE_1.json +++ b/public/dicts/en/article/NCE_1.json @@ -31,15 +31,15 @@ "id": "3uh9Iy", "title": "Nice to meet you", "titleTranslate": "很高兴见到你。", - "text": "MR. BLAKE:Good morning. \n\nSTUDENTS:Good morning, Mr. Blake. \n\nMR. BLAKE:This is Miss Sophie Dupont. \n\nSophie is a new student. \n\nShe is French. \n\nMR. BLAKE:Sophie, this is Hans. \n\nHe is German. \n\nHANS:Nice to meet you. \n\nMR. BLAKE:And this is Naoko. \n\nShe's Japanese. \n\nNAOKO:Nice to meet you. \n\nMR. BLAKE:And this is Chang-woo. \n\nHe's Korean. \n\nCHANG-WOO:Nice to meet you. \n\nMR. BLAKE:And this is Luming. \n\nHe is Chinese. \n\nLUMNG:Nice to meet you. \n\nMR. BLAKE:And this is Xiaohui. \n\nShe's Chinese, too. \n\nXIAOHUI:Nice to meet you.", + "text": "MR. BLAKE:Good morning.\n\nSTUDENTS:Good morning, Mr. Blake.\n\nMR. BLAKE:This is Miss Sophie Dupont.\n\nSophie is a new student.\n\nShe is French.\n\nMR. BLAKE:Sophie, this is Hans.\n\nHe is German.\n\nHANS:Nice to meet you.\n\nMR. BLAKE:And this is Naoko.\n\nShe's Japanese.\n\nNAOKO:Nice to meet you.\n\nMR. BLAKE:And this is Chang-woo.\n\nHe's Korean.\n\nCHANG-WOO:Nice to meet you.\n\nMR. BLAKE:And this is Luming.\n\nHe is Chinese.\n\nLUMNG:Nice to meet you.\n\nMR. BLAKE:And this is Xiaohui.\n\nShe's Chinese, too.\n\nXIAOHUI:Nice to meet you.", "textTranslate": "布莱克先生:早上好。 \n\n学 生:早上好,布莱克先生。 \n\n布莱克先生:这位是索菲娅.杜邦小姐。 \n\n索菲娅是个新学生。 \n\n她是法国人。 \n\n布莱克先生:索菲娅,这位是汉斯。 \n\n他是德国人。 \n\n汉 斯:很高兴见到你。 \n\n布莱克先生:这位是直子。 \n\n她是日本人。 \n\n直 子:很高兴见到你。 \n\n布莱克先生:这位是昌宇。 \n\n他是韩国人。 \n\n昌 宇:很高兴见到你。 \n\n布莱克先生:这位是鲁明。 \n\n他是中国人。 \n\n鲁 明:很高兴见到你。 \n\n布莱克先生:这位是晓惠。 \n\n她也是中国人。 \n\n晓 惠:很高兴见到你。", "newWords": [], - "textAllWords": [], - "sections": [], "audioSrc": "", "audioFileId": "", "lrcPosition": [], - "questions": [] + "questions": [], + "nameList": ["MR. BLAKE", "STUDENTS", "Sophie Dupont", "Sophie", "Hans", "Naoko", "Chang-woo", "Luming", "Xiaohui"], + "textAllWords": [] }, { "id": "13nyyY", diff --git a/src/components/ChannelIcons.vue b/src/components/ChannelIcons.vue index 6b837ba5..beb44804 100644 --- a/src/components/ChannelIcons.vue +++ b/src/components/ChannelIcons.vue @@ -157,9 +157,7 @@ const sentence = $computed(() => { - +
diff --git a/src/pages/article/components/EditArticle.vue b/src/pages/article/components/EditArticle.vue index 8ceb1d21..b8a52d00 100644 --- a/src/pages/article/components/EditArticle.vue +++ b/src/pages/article/components/EditArticle.vue @@ -1,27 +1,28 @@