From 5cad02698396e6316b796814428eff660b23cec9 Mon Sep 17 00:00:00 2001 From: zyronon Date: Wed, 13 Dec 2023 11:11:26 +0800 Subject: [PATCH 01/24] No statistics at the time of development --- index.html | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 07f40608..05fe746c 100644 --- a/index.html +++ b/index.html @@ -29,19 +29,25 @@ From 4464dde128443c5047ac60780e58ecbe38d33b21 Mon Sep 17 00:00:00 2001 From: zyronon Date: Tue, 2 Jan 2024 02:06:43 +0800 Subject: [PATCH 02/24] fix bug --- src/components/Setting.vue | 3 +- src/components/toolbar/index.vue | 2 +- src/stores/base.ts | 574 +++++++++++++++---------------- 3 files changed, 289 insertions(+), 290 deletions(-) diff --git a/src/components/Setting.vue b/src/components/Setting.vue index 7703f0f6..7d1ab4b4 100644 --- a/src/components/Setting.vue +++ b/src/components/Setting.vue @@ -347,8 +347,7 @@ function importData(e) {
毫秒 diff --git a/src/components/toolbar/index.vue b/src/components/toolbar/index.vue index 3604b60b..5c50349f 100644 --- a/src/components/toolbar/index.vue +++ b/src/components/toolbar/index.vue @@ -67,7 +67,7 @@ watch(() => store.load, n => {
- {{ store.currentDict.name }} {{ practiceStore.repeatNumber ? ' 复习错词' : '' }} + {{ store.currentDict.name }}
diff --git a/src/stores/base.ts b/src/stores/base.ts index 71684caa..d0a41c7c 100644 --- a/src/stores/base.ts +++ b/src/stores/base.ts @@ -9,100 +9,100 @@ import {SAVE_DICT_KEY, SAVE_SETTING_KEY} from "@/utils/const.ts"; import {checkAndUpgradeSaveDict} from "@/utils"; export interface BaseState { - myDictList: Dict[], - collectDictIds: string[], - current: { - index: number, - practiceType: DictType,//练习类型,目前仅词典为collect时判断是练单词还是文章使用 - }, - simpleWords: string[], - load: boolean + myDictList: Dict[], + collectDictIds: string[], + current: { + index: number, + practiceType: DictType,//练习类型,目前仅词典为collect时判断是练单词还是文章使用 + }, + simpleWords: string[], + load: boolean } export const DefaultBaseState = (): BaseState => ({ - myDictList: [ - { - ...cloneDeep(DefaultDict), - id: 'collect', - name: '收藏', - type: DictType.collect, - category: '自带字典', - tags: ['自带'], - isCustom: true, - }, - { - ...cloneDeep(DefaultDict), - id: 'skip', - name: '简单词', - type: DictType.simple, - category: '自带字典', - isCustom: true, - }, - { - ...cloneDeep(DefaultDict), - id: 'wrong', - name: '错词本', - type: DictType.wrong, - category: '自带字典', - isCustom: true, - }, - { - ...cloneDeep(DefaultDict), - id: 'cet4', - name: 'CET-4', - description: '大学英语四级词库', - category: '中国考试', - tags: ['大学英语'], - url: 'CET4_T.json', - length: 2607, - translateLanguage: 'common', - language: 'en', - type: DictType.word - }, - // { - // ...cloneDeep(DefaultDict), - // id: 'article_nce2', - // name: "新概念英语2-课文", - // description: '新概念英语2-课文', - // category: '英语学习', - // tags: ['新概念英语'], - // url: 'NCE_2.json', - // translateLanguage: 'common', - // language: 'en', - // type: DictType.article, - // resourceId: 'article_nce2', - // length: 96 - // }, - // { - // ...cloneDeep(DefaultDict), - // id: 'nce-new-2', - // name: '新概念英语(新版)-2', - // description: '新概念英语新版第二册', - // category: '青少年英语', - // tags: ['新概念英语'], - // url: 'nce-new-2.json', - // translateLanguage: 'common', - // language: 'en', - // type: DictType.word, - // resourceId: 'nce-new-2', - // length: 862 - // }, - ], - collectDictIds: [], - current: { - index: 3, - // dictType: DictType.article, - // index: 0, - practiceType: DictType.word, + myDictList: [ + { + ...cloneDeep(DefaultDict), + id: 'collect', + name: '收藏', + type: DictType.collect, + category: '自带字典', + tags: ['自带'], + isCustom: true, }, - simpleWords: [ - 'a', 'an', - 'i', 'my', 'you', 'your', 'me', 'it', - 'what', 'who', 'where', 'how', 'when', 'which', - 'be', 'am', 'is', 'do', 'are', 'did', 'were', 'was', 'can', 'could', 'will', 'would', - 'the', 'that', 'this', 'to', 'of', 'for', 'and', 'at', 'not', 'no', 'yes', - ], - load: false + { + ...cloneDeep(DefaultDict), + id: 'skip', + name: '简单词', + type: DictType.simple, + category: '自带字典', + isCustom: true, + }, + { + ...cloneDeep(DefaultDict), + id: 'wrong', + name: '错词本', + type: DictType.wrong, + category: '自带字典', + isCustom: true, + }, + { + ...cloneDeep(DefaultDict), + id: 'cet4', + name: 'CET-4', + description: '大学英语四级词库', + category: '中国考试', + tags: ['大学英语'], + url: 'CET4_T.json', + length: 2607, + translateLanguage: 'common', + language: 'en', + type: DictType.word + }, + // { + // ...cloneDeep(DefaultDict), + // id: 'article_nce2', + // name: "新概念英语2-课文", + // description: '新概念英语2-课文', + // category: '英语学习', + // tags: ['新概念英语'], + // url: 'NCE_2.json', + // translateLanguage: 'common', + // language: 'en', + // type: DictType.article, + // resourceId: 'article_nce2', + // length: 96 + // }, + // { + // ...cloneDeep(DefaultDict), + // id: 'nce-new-2', + // name: '新概念英语(新版)-2', + // description: '新概念英语新版第二册', + // category: '青少年英语', + // tags: ['新概念英语'], + // url: 'nce-new-2.json', + // translateLanguage: 'common', + // language: 'en', + // type: DictType.word, + // resourceId: 'nce-new-2', + // length: 862 + // }, + ], + collectDictIds: [], + current: { + index: 3, + // dictType: DictType.article, + // index: 0, + practiceType: DictType.word, + }, + simpleWords: [ + 'a', 'an', + 'i', 'my', 'you', 'your', 'me', 'it', + 'what', 'who', 'where', 'how', 'when', 'which', + 'be', 'am', 'is', 'do', 'are', 'did', 'were', 'was', 'can', 'could', 'will', 'would', + 'the', 'that', 'this', 'to', 'of', 'for', 'and', 'at', 'not', 'no', 'yes', + ], + load: false }) // words: [ @@ -151,206 +151,206 @@ export const DefaultBaseState = (): BaseState => ({ // ], export const useBaseStore = defineStore('base', { - state: (): BaseState => { - return DefaultBaseState() + state: (): BaseState => { + return DefaultBaseState() + }, + getters: { + collect(): Dict { + return this.myDictList[0] }, - getters: { - collect(): Dict { - return this.myDictList[0] - }, - simple(): Dict { - return this.myDictList[1] - }, - wrong(): Dict { - return this.myDictList[2] - }, - skipWordNames() { - return this.simple.originWords.map(v => v.name.toLowerCase()) - }, - skipWordNamesWithSimpleWords() { - return this.simple.originWords.map(v => v.name.toLowerCase()).concat(this.simpleWords) - }, - isArticle(state: BaseState): boolean { - //如果是收藏时,特殊判断 - if (this.currentDict.type === DictType.collect) { - return state.current.practiceType === DictType.article - } - return [ - DictType.article, - ].includes(this.currentDict.type) - }, - currentDict(): Dict { - return this.myDictList[this.current.index] - }, - chapter(state: BaseState): Word[] { - return this.currentDict.chapterWords[this.currentDict.chapterIndex] ?? [] - }, - chapterName(state: BaseState) { - let title = '' - switch (this.currentDict.type) { - case DictType.collect: - if (state.current.practiceType === DictType.article) { - return `第${this.currentDict.chapterIndex + 1}章` - } - case DictType.wrong: - case DictType.simple: - return this.currentDict.name - case DictType.word: - return `第${this.currentDict.chapterIndex + 1}章` - } - return title + simple(): Dict { + return this.myDictList[1] + }, + wrong(): Dict { + return this.myDictList[2] + }, + skipWordNames() { + return this.simple.originWords.map(v => v.name.toLowerCase()) + }, + skipWordNamesWithSimpleWords() { + return this.simple.originWords.map(v => v.name.toLowerCase()).concat(this.simpleWords) + }, + isArticle(state: BaseState): boolean { + //如果是收藏时,特殊判断 + if (this.currentDict.type === DictType.collect) { + return state.current.practiceType === DictType.article + } + return [ + DictType.article, + ].includes(this.currentDict.type) + }, + currentDict(): Dict { + return this.myDictList[this.current.index] + }, + chapter(state: BaseState): Word[] { + return this.currentDict.chapterWords[this.currentDict.chapterIndex] ?? [] + }, + chapterName(state: BaseState) { + let title = '' + switch (this.currentDict.type) { + case DictType.collect: + if (state.current.practiceType === DictType.article) { + return `第${this.currentDict.chapterIndex + 1}章` + } + case DictType.wrong: + case DictType.simple: + return this.currentDict.name + case DictType.word: + return `第${this.currentDict.chapterIndex + 1}章` + } + return title + } + }, + actions: { + setState(obj: any) { + //这样不会丢失watch的值的引用 + merge(this, obj) + }, + async init(outData?: any) { + return new Promise(async resolve => { + try { + if (outData) { + this.setState(outData) + } else { + let configStr: string = await localforage.getItem(SAVE_DICT_KEY.key) + let data = checkAndUpgradeSaveDict(configStr) + this.setState(data) + } + localforage.setItem(SAVE_DICT_KEY.key, JSON.stringify({val: this.$state, version: SAVE_DICT_KEY.version})) + } catch (e) { + console.error('读取本地dict数据失败', e) } - }, - actions: { - setState(obj: any) { - //这样不会丢失watch的值的引用 - merge(this, obj) - }, - async init(outData?: any) { - return new Promise(async resolve => { - try { - if (outData) { - this.setState(outData) - } else { - let configStr: string = await localforage.getItem(SAVE_DICT_KEY.key) - let data = checkAndUpgradeSaveDict(configStr) - this.setState(data) - } - localforage.setItem(SAVE_DICT_KEY.key, JSON.stringify({val: this.$state, version: SAVE_DICT_KEY.version})) - } catch (e) { - console.error('读取本地dict数据失败', e) - } - const runtimeStore = useRuntimeStore() + const runtimeStore = useRuntimeStore() - if (location.href.includes('?mode=article')) { - console.log('文章') - let dict = { - ...cloneDeep(DefaultDict), - id: 'article_nce2', - name: "新概念英语2-课文", - description: '新概念英语2-课文', - category: '英语学习', - tags: ['新概念英语'], - url: 'NCE_2.json', - translateLanguage: 'common', - language: 'en', - type: DictType.article, - resourceId: 'article_nce2', - length: 96 - } - let rIndex = this.myDictList.findIndex((v: Dict) => v.id === dict.id) - if (rIndex > -1) { - this.myDictList[rIndex] = dict - this.current.index = rIndex - } else { - this.myDictList.push(cloneDeep(dict)) - this.current.index = this.myDictList.length - 1 - } - } - - if (this.current.index < 3) { - store.currentDict.words = cloneDeep(n) - store.currentDict.chapterWords = [store.currentDict.words] - } else { - //自定义的词典,文章只删除了sections,单词并未做删除,所以这里不需要处理 - if (this.currentDict.isCustom) { - - } else { - //处理非自定义的情况。 - let dictResourceUrl = `./dicts/${this.currentDict.language}/${this.currentDict.type}/${this.currentDict.translateLanguage}/${this.currentDict.url}`; - if ([DictType.word].includes(this.currentDict.type)) { - if (!this.currentDict.originWords.length) { - let r = await fetch(dictResourceUrl) - let v = await r.json() - v.map(s => { - s.id = nanoid(6) - }) - if (this.currentDict.translateLanguage === 'common') { - let r2 = await fetch('./translate/en2zh_CN-min.json') - // fetch('http://sc.ttentau.top/en2zh_CN-min.json').then(r2 => { - let list: Word[] = await r2.json() - if (list && list.length) { - runtimeStore.translateWordList = list - } - } - this.currentDict.originWords = cloneDeep(v) - this.currentDict.words = cloneDeep(v) - this.currentDict.chapterWords = chunk(this.currentDict.words, this.currentDict.chapterWordNumber) - } - } - - if ([DictType.article].includes(this.currentDict.type)) { - if (!this.currentDict.articles.length) { - let r = await fetch(dictResourceUrl) - let s: any[] = await r.json() - this.currentDict.articles = cloneDeep(s.map(v => { - v.id = nanoid(6) - return v - })) - } - } - } - } - - //TODO 先这样,默认加载 - if (!runtimeStore.translateWordList.length) { - setTimeout(async () => { - let r2 = await fetch('./translate/en2zh_CN-min.json') - // fetch('http://sc.ttentau.top/en2zh_CN-min.json').then(r2 => { - let list: Word[] = await r2.json() - if (list && list.length) { - runtimeStore.translateWordList = list - } - }) - } - emitter.emit(EventKey.changeDict) - resolve(true) - }) - }, - saveStatistics(statistics: DisplayStatistics) { - if (statistics.spend > 1000 * 10) { - delete statistics.wrongWords - this.currentDict.statistics.push(statistics) - } - }, - async changeDict(dict: Dict, practiceType?: DictType, chapterIndex?: number, wordIndex?: number) { - //TODO 保存统计 - // this.saveStatistics() - console.log('changeDict', cloneDeep(dict), chapterIndex, wordIndex) - if (chapterIndex === undefined) chapterIndex = dict.chapterIndex - if (wordIndex === undefined) wordIndex = dict.wordIndex - if (practiceType === undefined) this.current.practiceType = practiceType - if ([DictType.collect, - DictType.simple, - DictType.wrong].includes(dict.type)) { - dict.chapterIndex = 0 - dict.wordIndex = wordIndex - dict.chapterWordNumber = dict.words.length - dict.chapterWords = [dict.words] - } else { - if (dict.type === DictType.article) { - if (chapterIndex > dict.articles.length) { - dict.chapterIndex = 0 - dict.wordIndex = 0 - } - } else { - if (chapterIndex > dict.chapterWords.length) { - dict.chapterIndex = 0 - dict.wordIndex = 0 - } - } - } - // await checkDictHasTranslate(dict) - let rIndex = this.myDictList.findIndex((v: Dict) => v.id === dict.id) - if (rIndex > -1) { - this.myDictList[rIndex] = dict - this.current.index = rIndex - } else { - this.myDictList.push(cloneDeep(dict)) - this.current.index = this.myDictList.length - 1 - } - - emitter.emit(EventKey.changeDict) + if (location.href.includes('?mode=article')) { + console.log('文章') + let dict = { + ...cloneDeep(DefaultDict), + id: 'article_nce2', + name: "新概念英语2-课文", + description: '新概念英语2-课文', + category: '英语学习', + tags: ['新概念英语'], + url: 'NCE_2.json', + translateLanguage: 'common', + language: 'en', + type: DictType.article, + resourceId: 'article_nce2', + length: 96 + } + let rIndex = this.myDictList.findIndex((v: Dict) => v.id === dict.id) + if (rIndex > -1) { + this.myDictList[rIndex] = dict + this.current.index = rIndex + } else { + this.myDictList.push(cloneDeep(dict)) + this.current.index = this.myDictList.length - 1 + } } + + if (this.current.index < 3) { + // this.currentDict.words = cloneDeep(n) + // this.currentDict.chapterWords = [this.currentDict.words] + } else { + //自定义的词典,文章只删除了sections,单词并未做删除,所以这里不需要处理 + if (this.currentDict.isCustom) { + + } else { + //处理非自定义的情况。 + let dictResourceUrl = `./dicts/${this.currentDict.language}/${this.currentDict.type}/${this.currentDict.translateLanguage}/${this.currentDict.url}`; + if ([DictType.word].includes(this.currentDict.type)) { + if (!this.currentDict.originWords.length) { + let r = await fetch(dictResourceUrl) + let v = await r.json() + v.map(s => { + s.id = nanoid(6) + }) + if (this.currentDict.translateLanguage === 'common') { + let r2 = await fetch('./translate/en2zh_CN-min.json') + // fetch('http://sc.ttentau.top/en2zh_CN-min.json').then(r2 => { + let list: Word[] = await r2.json() + if (list && list.length) { + runtimeStore.translateWordList = list + } + } + this.currentDict.originWords = cloneDeep(v) + this.currentDict.words = cloneDeep(v) + this.currentDict.chapterWords = chunk(this.currentDict.words, this.currentDict.chapterWordNumber) + } + } + + if ([DictType.article].includes(this.currentDict.type)) { + if (!this.currentDict.articles.length) { + let r = await fetch(dictResourceUrl) + let s: any[] = await r.json() + this.currentDict.articles = cloneDeep(s.map(v => { + v.id = nanoid(6) + return v + })) + } + } + } + } + + //TODO 先这样,默认加载 + if (!runtimeStore.translateWordList.length) { + setTimeout(async () => { + let r2 = await fetch('./translate/en2zh_CN-min.json') + // fetch('http://sc.ttentau.top/en2zh_CN-min.json').then(r2 => { + let list: Word[] = await r2.json() + if (list && list.length) { + runtimeStore.translateWordList = list + } + }) + } + emitter.emit(EventKey.changeDict) + resolve(true) + }) }, + saveStatistics(statistics: DisplayStatistics) { + if (statistics.spend > 1000 * 10) { + delete statistics.wrongWords + this.currentDict.statistics.push(statistics) + } + }, + async changeDict(dict: Dict, practiceType?: DictType, chapterIndex?: number, wordIndex?: number) { + //TODO 保存统计 + // this.saveStatistics() + console.log('changeDict', cloneDeep(dict), chapterIndex, wordIndex) + if (chapterIndex === undefined) chapterIndex = dict.chapterIndex + if (wordIndex === undefined) wordIndex = dict.wordIndex + if (practiceType === undefined) this.current.practiceType = practiceType + if ([DictType.collect, + DictType.simple, + DictType.wrong].includes(dict.type)) { + dict.chapterIndex = 0 + dict.wordIndex = wordIndex + dict.chapterWordNumber = dict.words.length + dict.chapterWords = [dict.words] + } else { + if (dict.type === DictType.article) { + if (chapterIndex > dict.articles.length) { + dict.chapterIndex = 0 + dict.wordIndex = 0 + } + } else { + if (chapterIndex > dict.chapterWords.length) { + dict.chapterIndex = 0 + dict.wordIndex = 0 + } + } + } + // await checkDictHasTranslate(dict) + let rIndex = this.myDictList.findIndex((v: Dict) => v.id === dict.id) + if (rIndex > -1) { + this.myDictList[rIndex] = dict + this.current.index = rIndex + } else { + this.myDictList.push(cloneDeep(dict)) + this.current.index = this.myDictList.length - 1 + } + + emitter.emit(EventKey.changeDict) + } + }, }) \ No newline at end of file From 95a63465c5b3b1caf5bd8da892d5e041d1d165d9 Mon Sep 17 00:00:00 2001 From: zyronon Date: Wed, 3 Jan 2024 10:12:41 +0800 Subject: [PATCH 03/24] Small optimization --- src/components/Backgorund.vue | 2 +- src/components/Setting.vue | 55 +++-- src/pages/practice/practice-word/Typing.vue | 72 ++++--- .../practice/practice-word/TypingWord.vue | 28 ++- src/stores/setting.ts | 194 +++++++++--------- 5 files changed, 201 insertions(+), 150 deletions(-) diff --git a/src/components/Backgorund.vue b/src/components/Backgorund.vue index e682caef..832ede03 100644 --- a/src/components/Backgorund.vue +++ b/src/components/Backgorund.vue @@ -84,7 +84,7 @@ onMounted(() => { } } - drawMoon() + // drawMoon() }) diff --git a/src/components/Setting.vue b/src/components/Setting.vue index 7d1ab4b4..82b69b4c 100644 --- a/src/components/Setting.vue +++ b/src/components/Setting.vue @@ -1,20 +1,20 @@ + + + + From e8a89b8fb3c08185ff3592497be4dcbfdd04a77b Mon Sep 17 00:00:00 2001 From: zyronon Date: Fri, 11 Jul 2025 20:28:45 +0800 Subject: [PATCH 19/24] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E5=9F=9F=E5=90=8D?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CollectNotice.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CollectNotice.vue b/src/components/CollectNotice.vue index 2b944d4a..5a7e99c2 100644 --- a/src/components/CollectNotice.vue +++ b/src/components/CollectNotice.vue @@ -49,7 +49,7 @@ const isMac = /macintosh|mac os x/i.test(navigator.userAgent);
-
typing-word.ttentau.top
+
2study.top
@@ -179,4 +179,4 @@ const isMac = /macintosh|mac os x/i.test(navigator.userAgent); } } - \ No newline at end of file + From 6c32ecdaff677e662bfa7b9c4379fe5c0b051b9b Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sat, 12 Jul 2025 18:32:42 +0800 Subject: [PATCH 20/24] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a2962b4a..5251e5d2 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,10 @@ Featured|HelloGitHub

+
+TypeWords | Trendshift +
+ ## 📸 在线访问 Github Pages: From c35e8d3f45e85b59e24445678bcf6e6baf619749 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sat, 12 Jul 2025 18:33:46 +0800 Subject: [PATCH 21/24] Update README.md --- README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/README.md b/README.md index 5251e5d2..c0346851 100644 --- a/README.md +++ b/README.md @@ -65,14 +65,6 @@ API 等词库。 尽可能满足大部分用户对背单词的需求,也非常 - 王陆雅思王听力语料库 - 日语常见词、N1 ~ N5 -## 📗 API 词库 - -- JavaScript API、Node.js API、Java API、Linux Command、C#: List API - -词库均来源于(除文章以外):[qwerty-learner](https://github.com/RealKai42/qwerty-learner/) - -如果您需要背诵其他词库,欢迎在 Issue 中提出 - ## 🎙 功能与建议 目前项目处于开发初期,新功能正在持续添加中,如果你对软件有任何功能与建议,欢迎在 Issues 中提出 From 2827bcaa176efd82e6c3ece47ea3096d1e1324ea Mon Sep 17 00:00:00 2001 From: Zyronon Date: Sat, 12 Jul 2025 18:34:16 +0800 Subject: [PATCH 22/24] Update README.md --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index c0346851..b801dcb3 100644 --- a/README.md +++ b/README.md @@ -51,11 +51,6 @@ API 等词库。 尽可能满足大部分用户对背单词的需求,也非常 4. 执行`npm start`来启动项目,项目默认地址为[`http://localhost:3000`](http://localhost:3000) 5. 在浏览器中打开[`http://localhost:3000`](http://localhost:3000) 来访问项目。 -### 使用Docker -创建镜像 docker build -t typing-word:001 . - -启动容器 docker run --name typing-word -p 3000:3000 -d typing-word:001 - ## 📕 词库列表 - CET-4、CET-6、GMAT、GRE、IELTS、SAT、TOEFL、BEC From 54e411310d01711816c580fe94a99d451fccd07b Mon Sep 17 00:00:00 2001 From: zyronon Date: Fri, 18 Jul 2025 02:26:58 +0800 Subject: [PATCH 23/24] =?UTF-8?q?feat:=E5=88=A0=E9=99=A4git=20issue?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../功能请求---feature-request.md | 20 ----------- .../ISSUE_TEMPLATE/单词错误---word-error.md | 33 ------------------- .../ISSUE_TEMPLATE/问题报告---bug-report-.md | 24 -------------- 3 files changed, 77 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/功能请求---feature-request.md delete mode 100644 .github/ISSUE_TEMPLATE/单词错误---word-error.md delete mode 100644 .github/ISSUE_TEMPLATE/问题报告---bug-report-.md diff --git a/.github/ISSUE_TEMPLATE/功能请求---feature-request.md b/.github/ISSUE_TEMPLATE/功能请求---feature-request.md deleted file mode 100644 index 04dea38a..00000000 --- a/.github/ISSUE_TEMPLATE/功能请求---feature-request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: 功能请求 | Feature request -about: 创建一个功能请求 | Create a feature request -title: 功能请求 | Feature request -labels: '' -assignees: '' - ---- - -1、描述 -请尽可能详细描述您需要的特性。 - -2、这个功能解决了什么问题? -请尽可能详尽地说明这个需求的用例和场景 - -1. Description -Please provide as detailed a description as possible of the features you need. - -2. What problem does this feature solve? -Please provide as detailed a description of the use cases and scenarios for this requirement as possible diff --git a/.github/ISSUE_TEMPLATE/单词错误---word-error.md b/.github/ISSUE_TEMPLATE/单词错误---word-error.md deleted file mode 100644 index 6c11cc07..00000000 --- a/.github/ISSUE_TEMPLATE/单词错误---word-error.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: 单词错误 | Word error -about: 创建一个单词释义错误、音标错误的报告 | Create a report of incorrect word definitions and phonetic - errors -title: 单词错误 | Word error -labels: '' -assignees: '' - ---- - -1、词典名字 -在这里填写词典名字 - -2、单词 -在这里填写单词 - -3、错误内容 -在这里填写错误内容 - -4、截图 -可以直接按Ctrl + V 复制在这里(复制成功后会显示一串地址) - -1. Dictionary name -Fill in the dictionary name here - -2. Words -Fill in the words here - -3. Error content -Fill in the incorrect content here - -4. Screenshot -You can directly press Ctrl+V to copy here (a string of addresses will be displayed after successful copying) diff --git a/.github/ISSUE_TEMPLATE/问题报告---bug-report-.md b/.github/ISSUE_TEMPLATE/问题报告---bug-report-.md deleted file mode 100644 index 4b9293b7..00000000 --- a/.github/ISSUE_TEMPLATE/问题报告---bug-report-.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: '问题报告 | Bug report ' -about: '创建一个问题报告 | Create a bug report ' -title: '问题报告 | Bug report ' -labels: '' -assignees: '' - ---- - -### 注意:请确认问题可以在浏览器的 无痕模式 下复现,而不是自己安装的其他插件或脚本导致的 - -1、描述 -在这里填写问题描述 - -2、截图 -可以直接按Ctrl + V 复制在这里(复制成功后会显示一串地址) - -### Note: Please confirm that the problem can be reproduced in the browser's traceless mode, rather than being caused by other plugins or scripts installed by yourself - -1. Description -Fill in the problem description here - -2. Screenshot -You can directly press Ctrl+V to copy here (a string of addresses will be displayed after successful copying) From 3ba825a6e43af1c01f9d0fb6ad646fbd88c06186 Mon Sep 17 00:00:00 2001 From: zyronon Date: Sat, 19 Jul 2025 23:44:41 +0800 Subject: [PATCH 24/24] =?UTF-8?q?feat:=E5=88=A0=E9=99=A4git=20issue?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/toolbar/FeedbackModal.vue | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/components/toolbar/FeedbackModal.vue b/src/components/toolbar/FeedbackModal.vue index f954c0dc..d78c010f 100644 --- a/src/components/toolbar/FeedbackModal.vue +++ b/src/components/toolbar/FeedbackModal.vue @@ -20,20 +20,11 @@ const emit = defineEmits([

or

Github上给我提一个 - Issue
@@ -72,4 +63,4 @@ const emit = defineEmits([ } } - \ No newline at end of file +