From dfbd00ec1b74271771f997aa3f45f977f8a463da Mon Sep 17 00:00:00 2001 From: zyronon Date: Wed, 20 Aug 2025 00:26:02 +0800 Subject: [PATCH 01/31] fix:save --- pnpm-lock.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0a5597b6..fdf85a8c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,9 +44,6 @@ importers: pinia: specifier: ^3.0.3 version: 3.0.3(typescript@5.9.2)(vue@3.5.18(typescript@5.9.2)) - sitemap: - specifier: ^8.0.0 - version: 8.0.0 string-comparison: specifier: ^1.3.0 version: 1.3.0 @@ -195,6 +192,9 @@ importers: sass: specifier: ^1.89.2 version: 1.90.0 + sitemap: + specifier: ^8.0.0 + version: 8.0.0 tslib: specifier: ^2.8.1 version: 2.8.1 From cadc279d2f519f2a35b076ab622e37a82ca38d51 Mon Sep 17 00:00:00 2001 From: zyronon Date: Wed, 20 Aug 2025 00:39:44 +0800 Subject: [PATCH 02/31] fix:update README.md --- .github/workflows/readme.yml | 20 +++++++++++ Note.md | 5 +++ README.md | 23 ++++++++----- TODO.md | 5 --- docs/README.en.md | 67 ++++++++++++++++++++++++++++++++++++ package.json | 3 +- 6 files changed, 108 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/readme.yml delete mode 100644 TODO.md create mode 100644 docs/README.en.md diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml new file mode 100644 index 00000000..6e26df43 --- /dev/null +++ b/.github/workflows/readme.yml @@ -0,0 +1,20 @@ +name: Translate README + +on: + # 这个选项可以使你手动在 Action tab 页面触发工作流 + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + node-version: 12.x + # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages + - name: Adding README - English + uses: dephraiim/translate-readme@main + with: + LANG: en diff --git a/Note.md b/Note.md index aa1756fb..170f2d41 100644 --- a/Note.md +++ b/Note.md @@ -55,3 +55,8 @@ http://enpuz.com/ 语法分析工具 footer 的输入数统计有问题,当在列表点一个,然后输入错误之后,不会统计到输入数里面(单词和文章的都有问题) +nce1-16.A polite request.解析出来有问题 + +I found this note on my car: 'Sir, we welcome you to our city. This is a 'No Parking' area. You will enjoy your stay here if you pay attention to our street signs. This note is only a reminder.' If you receive a request like this, you cannot fail to obey it! + +'No Parking' 会被截断 diff --git a/README.md b/README.md index 57411227..d4b2a908 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,13 @@

- 一个可以在网页上背单词、背文章的网站 + English | 简体中文

+

+ 练习英语,一次敲击,一点进步;一个可以在网页上背单词、背文章的网站, +

+

License @@ -28,33 +32,36 @@ ## 功能列表 ### 背单词 + 根据记忆曲线自动计算学习单词,并通过默写加深记忆;提供了音标、发音(美音、英音)、例句、短语、近义词、同根词、词源、错误统计等功能 ### 背文章 + 内置经典教材书籍,练习和背诵文章,逐句输入,自动发音。可以自行添加、导入文章,提供一键翻译、译文对照功能 ### 收藏、错词本、已掌握 + 学习单词时输入错误会自动添加到错词本,方便后续复习。也可以添加到已掌握,以后再遇到这个词会自动跳过,同时也可以将其添加到收藏中,以便巩固复习 ### 词库 -内置了常用的 CET-4 、CET-6 、GMAT 、GRE 、IELTS 、SAT 、TOEFL 、考研英语、专业四级英语、专业八级英语等词库。 尽可能满足大部分用户对背单词的需求,也非常欢迎社区贡献更多的词库。 +内置了常用的 CET-4 、CET-6 、GMAT 、GRE 、IELTS 、SAT 、TOEFL 、考研英语、专业四级英语、专业八级英语等词库。 +尽可能满足大部分用户对背单词的需求,也非常欢迎社区贡献更多的词库。 -## 运行项目 +## 运行 本项目是基于`Vue`开发的,需要 node 环境来运行。 -### 手动安装 - 1. 安装 NodeJS,参考[官方文档](https://nodejs.org/en/download) -2. 本项目只能使用 `git clone` 命令下载项目到本地,直接下载 Github 提供 Download ZIP 功能是无法运行的 +2. 项目文件很大,推荐使用 `git clone --depth 1 https://github.com/zyronon/TypeWords.git` 命令只克隆最近一次提交。直接下载 + Github 提供的 Download ZIP 功能是无法运行的 3. 打开命令行,在项目根目录下,运行`npm install`来下载依赖。 4. 执行`npm start`来启动项目,项目默认地址为[`http://localhost:3000`](http://localhost:3000) 5. 在浏览器中打开[`http://localhost:3000`](http://localhost:3000) 来访问项目。 ## 功能与建议 -目前项目处于开发初期,新功能正在持续添加中,如果你对软件有任何功能与建议,欢迎在 Issues 中提出 -如果你也喜欢本软件的设计思想,欢迎提交 pr,非常感谢你对我们的支持! +目前项目处于开发初期,新功能正在持续添加中,如果你对软件有任何功能与建议,欢迎在 `Issues` 中提出 +如果你也喜欢本软件的设计思想,欢迎提交 `pr`,非常感谢你对我们的支持! diff --git a/TODO.md b/TODO.md deleted file mode 100644 index 99eef008..00000000 --- a/TODO.md +++ /dev/null @@ -1,5 +0,0 @@ - nce1-16.A polite request.解析出来有问题 - -I found this note on my car: 'Sir, we welcome you to our city. This is a 'No Parking' area. You will enjoy your stay here if you pay attention to our street signs. This note is only a reminder.' If you receive a request like this, you cannot fail to obey it! - -'No Parking' 会被截断 \ No newline at end of file diff --git a/docs/README.en.md b/docs/README.en.md new file mode 100644 index 00000000..d4b2a908 --- /dev/null +++ b/docs/README.en.md @@ -0,0 +1,67 @@ +

+ Type Words +

+ +

+ English | 简体中文 +

+ +

+ 练习英语,一次敲击,一点进步;一个可以在网页上背单词、背文章的网站, +

+ +

+ License + + + Featured|HelloGitHub +

+ +
+TypeWords | Trendshift +
+ +![image](/docs/word.png) +![image](/docs/article.png) + +## 在线访问 + +中国: +其他: or + +## 功能列表 + +### 背单词 + +根据记忆曲线自动计算学习单词,并通过默写加深记忆;提供了音标、发音(美音、英音)、例句、短语、近义词、同根词、词源、错误统计等功能 + +### 背文章 + +内置经典教材书籍,练习和背诵文章,逐句输入,自动发音。可以自行添加、导入文章,提供一键翻译、译文对照功能 + +### 收藏、错词本、已掌握 + +学习单词时输入错误会自动添加到错词本,方便后续复习。也可以添加到已掌握,以后再遇到这个词会自动跳过,同时也可以将其添加到收藏中,以便巩固复习 + +### 词库 + +内置了常用的 CET-4 、CET-6 、GMAT 、GRE 、IELTS 、SAT 、TOEFL 、考研英语、专业四级英语、专业八级英语等词库。 +尽可能满足大部分用户对背单词的需求,也非常欢迎社区贡献更多的词库。 + +## 运行 + +本项目是基于`Vue`开发的,需要 node 环境来运行。 + +1. 安装 NodeJS,参考[官方文档](https://nodejs.org/en/download) +2. 项目文件很大,推荐使用 `git clone --depth 1 https://github.com/zyronon/TypeWords.git` 命令只克隆最近一次提交。直接下载 + Github 提供的 Download ZIP 功能是无法运行的 +3. 打开命令行,在项目根目录下,运行`npm install`来下载依赖。 +4. 执行`npm start`来启动项目,项目默认地址为[`http://localhost:3000`](http://localhost:3000) +5. 在浏览器中打开[`http://localhost:3000`](http://localhost:3000) 来访问项目。 + +## 功能与建议 + +目前项目处于开发初期,新功能正在持续添加中,如果你对软件有任何功能与建议,欢迎在 `Issues` 中提出 +如果你也喜欢本软件的设计思想,欢迎提交 `pr`,非常感谢你对我们的支持! + + diff --git a/package.json b/package.json index cea7ff53..6178d327 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,7 @@ "commit": "git-cz", "prepare": "husky install", "i18n:write": "gulp i18nwrite", - "deploy-oss": "node scripts/deploy-oss.js", - "deploy-2": "node scripts/generate-sitemap.js" + "deploy-oss": "node scripts/deploy-oss.js" }, "dependencies": { "@imengyu/vue3-context-menu": "^1.5.1", From eeffbd84d12a39bf9027a2b18133336b8af300a4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Aug 2025 16:42:14 +0000 Subject: [PATCH 03/31] docs: Added README."en".md translation via https://github.com/dephraiim/translate-readme --- README.en.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 README.en.md diff --git a/README.en.md b/README.en.md new file mode 100644 index 00000000..907b7683 --- /dev/null +++ b/README.en.md @@ -0,0 +1,64 @@ +

+ Type Words +

+ +

+ English | 简体中文 +

+ +

+ 练习英语,一次敲击,一点进步;一个可以在网页上背单词、背文章的网站, +

+ +

+ License + + + Featured|HelloGitHub +

+ +
+TypeWords | Trendshift +
+ +![image](/docs/word.png)![image](/docs/article.png) + +## Online visit + +China: +other:or + +## Feature list + +### Memorize words + +Automatically calculate the learning words based on the memory curve, and deepen memory through dictation; it provides functions such as phonetic symbols, pronunciation (American, English), examples, phrases, synonyms, same root words, etymology, error statistics, etc. + +### Memorize the article + +Built-in classic textbooks, practice and recite articles, enter sentence by sentence, and automatically pronounce it. You can add and import articles by yourself, providing one-click translation and translation comparison functions + +### Favorite, wrong word book, mastered + +Incorrect input when learning words will be automatically added to the wrong word book for easier subsequent review. It can also be added to mastered, and will automatically skip this word when you encounter it later. It can also be added to your favorites to consolidate the review. + +### Thesaurus + +It has built-in commonly used CET-4, CET-6, GMAT, GRE, IELTS, SAT, TOEFL, postgraduate entrance examination English, professional level 4 English, professional level 8 English and other thesis. +It meets the needs of most users for memorizing words as much as possible, and it is also very welcome to contribute more vocabulary to the community. + +## run + +This project is based on`Vue`Developed, the node environment needs to be run. + +1. Install NodeJS, refer to[Official Documentation](https://nodejs.org/en/download) +2. The project file is large, recommended`git clone --depth 1 https://github.com/zyronon/TypeWords.git`The command clons only the last commit. Download directly + The Download ZIP function provided by Github cannot run +3. Open the command line, run it in the project root directory`npm install`Come download the dependency. +4. implement`npm start`To start the project, the default address of the project is[`http://localhost:3000`](http://localhost:3000) +5. Open in a browser[`http://localhost:3000`](http://localhost:3000)Come to visit the project. + +## Features and suggestions + +The project is currently in the early stage of development and new functions are being added. If you have any functions and suggestions for the software, please feel free to`Issues`Proposed in +If you also like the design ideas of this software, please submit it`pr`Thank you very much for your support! From a55ec4b5565dbde7f5089310b88bb6ef902de4dd Mon Sep 17 00:00:00 2001 From: zyronon Date: Wed, 20 Aug 2025 00:48:50 +0800 Subject: [PATCH 04/31] fix:update README.md --- README.en.md | 64 ---------------------------------------- README.md | 2 +- docs/README.en.md | 74 +++++++++++++++++++++++++++-------------------- 3 files changed, 43 insertions(+), 97 deletions(-) delete mode 100644 README.en.md diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 907b7683..00000000 --- a/README.en.md +++ /dev/null @@ -1,64 +0,0 @@ -

- Type Words -

- -

- English | 简体中文 -

- -

- 练习英语,一次敲击,一点进步;一个可以在网页上背单词、背文章的网站, -

- -

- License - - - Featured|HelloGitHub -

- -
-TypeWords | Trendshift -
- -![image](/docs/word.png)![image](/docs/article.png) - -## Online visit - -China: -other:or - -## Feature list - -### Memorize words - -Automatically calculate the learning words based on the memory curve, and deepen memory through dictation; it provides functions such as phonetic symbols, pronunciation (American, English), examples, phrases, synonyms, same root words, etymology, error statistics, etc. - -### Memorize the article - -Built-in classic textbooks, practice and recite articles, enter sentence by sentence, and automatically pronounce it. You can add and import articles by yourself, providing one-click translation and translation comparison functions - -### Favorite, wrong word book, mastered - -Incorrect input when learning words will be automatically added to the wrong word book for easier subsequent review. It can also be added to mastered, and will automatically skip this word when you encounter it later. It can also be added to your favorites to consolidate the review. - -### Thesaurus - -It has built-in commonly used CET-4, CET-6, GMAT, GRE, IELTS, SAT, TOEFL, postgraduate entrance examination English, professional level 4 English, professional level 8 English and other thesis. -It meets the needs of most users for memorizing words as much as possible, and it is also very welcome to contribute more vocabulary to the community. - -## run - -This project is based on`Vue`Developed, the node environment needs to be run. - -1. Install NodeJS, refer to[Official Documentation](https://nodejs.org/en/download) -2. The project file is large, recommended`git clone --depth 1 https://github.com/zyronon/TypeWords.git`The command clons only the last commit. Download directly - The Download ZIP function provided by Github cannot run -3. Open the command line, run it in the project root directory`npm install`Come download the dependency. -4. implement`npm start`To start the project, the default address of the project is[`http://localhost:3000`](http://localhost:3000) -5. Open in a browser[`http://localhost:3000`](http://localhost:3000)Come to visit the project. - -## Features and suggestions - -The project is currently in the early stage of development and new functions are being added. If you have any functions and suggestions for the software, please feel free to`Issues`Proposed in -If you also like the design ideas of this software, please submit it`pr`Thank you very much for your support! diff --git a/README.md b/README.md index d4b2a908..b3398d77 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

- English | 简体中文 + English | 简体中文

diff --git a/docs/README.en.md b/docs/README.en.md index d4b2a908..4193469c 100644 --- a/docs/README.en.md +++ b/docs/README.en.md @@ -3,12 +3,15 @@

- English | 简体中文 + English | 简体中文

-

- 练习英语,一次敲击,一点进步;一个可以在网页上背单词、背文章的网站, -

+
+Practice English, one strike, one step forward +
+
+ A website where one can memorize words and articles on web pages +

License @@ -21,47 +24,54 @@ TypeWords | Trendshift -![image](/docs/word.png) -![image](/docs/article.png) +![image](/docs/word.png)![image](/docs/article.png) -## 在线访问 +## Online visit -中国: -其他: or +China: +other: or -## 功能列表 +## Feature list -### 背单词 +### Memorize words -根据记忆曲线自动计算学习单词,并通过默写加深记忆;提供了音标、发音(美音、英音)、例句、短语、近义词、同根词、词源、错误统计等功能 +Automatically calculate the learning words based on the memory curve, and deepen memory through dictation; it provides +functions such as phonetic symbols, pronunciation (American, English), examples, phrases, synonyms, same root words, +etymology, error statistics, etc. -### 背文章 +### Memorize the article -内置经典教材书籍,练习和背诵文章,逐句输入,自动发音。可以自行添加、导入文章,提供一键翻译、译文对照功能 +Built-in classic textbooks, practice and recite articles, enter sentence by sentence, and automatically pronounce it. +You can add and import articles by yourself, providing one-click translation and translation comparison functions -### 收藏、错词本、已掌握 +### Favorite, wrong word book, mastered -学习单词时输入错误会自动添加到错词本,方便后续复习。也可以添加到已掌握,以后再遇到这个词会自动跳过,同时也可以将其添加到收藏中,以便巩固复习 +Incorrect input when learning words will be automatically added to the wrong word book for easier subsequent review. It +can also be added to mastered, and will automatically skip this word when you encounter it later. It can also be added +to your favorites to consolidate the review. -### 词库 +### Thesaurus -内置了常用的 CET-4 、CET-6 、GMAT 、GRE 、IELTS 、SAT 、TOEFL 、考研英语、专业四级英语、专业八级英语等词库。 -尽可能满足大部分用户对背单词的需求,也非常欢迎社区贡献更多的词库。 +It has built-in commonly used CET-4, CET-6, GMAT, GRE, IELTS, SAT, TOEFL, postgraduate entrance examination English, +professional level 4 English, professional level 8 English and other thesis. +It meets the needs of most users for memorizing words as much as possible, and it is also very welcome to contribute +more vocabulary to the community. -## 运行 +## run -本项目是基于`Vue`开发的,需要 node 环境来运行。 +This project is based on`Vue`Developed, the node environment needs to be run. -1. 安装 NodeJS,参考[官方文档](https://nodejs.org/en/download) -2. 项目文件很大,推荐使用 `git clone --depth 1 https://github.com/zyronon/TypeWords.git` 命令只克隆最近一次提交。直接下载 - Github 提供的 Download ZIP 功能是无法运行的 -3. 打开命令行,在项目根目录下,运行`npm install`来下载依赖。 -4. 执行`npm start`来启动项目,项目默认地址为[`http://localhost:3000`](http://localhost:3000) -5. 在浏览器中打开[`http://localhost:3000`](http://localhost:3000) 来访问项目。 +1. Install NodeJS, refer to [Official Documentation](https://nodejs.org/en/download) +2. The project file is large, recommended`git clone --depth 1 https://github.com/zyronon/TypeWords.git` The command + clons only the last commit. Download directly + The Download ZIP function provided by Github cannot run +3. Open the command line, run it in the project root directory`npm install`Come download the dependency. +4. implement`npm start`To start the project, the default address of the project is[ + `http://localhost:3000`](http://localhost:3000) +5. Open in a browser[`http://localhost:3000`](http://localhost:3000)Come to visit the project. -## 功能与建议 +## Features and suggestions -目前项目处于开发初期,新功能正在持续添加中,如果你对软件有任何功能与建议,欢迎在 `Issues` 中提出 -如果你也喜欢本软件的设计思想,欢迎提交 `pr`,非常感谢你对我们的支持! - - +The project is currently in the early stage of development and new functions are being added. If you have any functions +and suggestions for the software, please feel free to`Issues`Proposed in +If you also like the design ideas of this software, please submit it`pr`Thank you very much for your support! From cd183a0d2c59a9bb24a39d2bfb6f0f6c2c614059 Mon Sep 17 00:00:00 2001 From: zyronon Date: Wed, 20 Aug 2025 01:03:05 +0800 Subject: [PATCH 05/31] fix:update index.html --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 23804cd9..a6e8ba4b 100644 --- a/index.html +++ b/index.html @@ -27,6 +27,9 @@ content="Type Words:在线英语练习平台,支持单词跟打、文章练习,提升打字速度与英语水平。"> + + + diff --git a/src/pages/pc/components/CollectNotice.vue b/src/pages/pc/components/CollectNotice.vue index 250d5354..5b5d500a 100644 --- a/src/pages/pc/components/CollectNotice.vue +++ b/src/pages/pc/components/CollectNotice.vue @@ -53,11 +53,11 @@ watch(() => settingStore.load, (n) => {

2study.top
- +
👈 - + 点亮它!
diff --git a/src/pages/pc/components/base/Pagination.vue b/src/pages/pc/components/base/Pagination.vue index e794ac7e..b3c09d63 100644 --- a/src/pages/pc/components/base/Pagination.vue +++ b/src/pages/pc/components/base/Pagination.vue @@ -189,7 +189,7 @@ function quickNextPage() { :disabled="internalCurrentPage <= 1" @click="prev" > - + @@ -250,7 +250,7 @@ function quickNextPage() { :disabled="internalCurrentPage >= pageCount" @click="next" > - + diff --git a/src/pages/pc/components/base/select/Select.vue b/src/pages/pc/components/base/select/Select.vue index 3a87f009..5eb1c9ff 100644 --- a/src/pages/pc/components/base/select/Select.vue +++ b/src/pages/pc/components/base/select/Select.vue @@ -160,7 +160,8 @@ onBeforeUnmount(() => { {{ displayValue }}
- @@ -235,10 +236,14 @@ onBeforeUnmount(() => { display: flex; align-items: center; color: #999; - transition: transform 0.3s; + + .arrow { + transform: rotate(-90deg); + transition: transform 0.3s; + } .is-reverse { - transform: rotate(180deg); + transform: rotate(90deg); } } } diff --git a/src/pages/pc/components/base/toast/Toast.vue b/src/pages/pc/components/base/toast/Toast.vue index 8a55ee61..dc739670 100644 --- a/src/pages/pc/components/base/toast/Toast.vue +++ b/src/pages/pc/components/base/toast/Toast.vue @@ -3,12 +3,12 @@
- - - - + + + + {{ message }} - +
diff --git a/src/pages/pc/components/dialog/Dialog.vue b/src/pages/pc/components/dialog/Dialog.vue index c5b7b2a3..0f9592cb 100644 --- a/src/pages/pc/components/dialog/Dialog.vue +++ b/src/pages/pc/components/dialog/Dialog.vue @@ -5,6 +5,7 @@ import {useEventListener} from "@/hooks/event.ts"; import BaseButton from "@/components/BaseButton.vue"; import {useRuntimeStore} from "@/stores/runtime.ts"; +import BaseIcon from "@/components/BaseIcon.vue"; export interface ModalProps { modelValue?: boolean, @@ -156,10 +157,10 @@ async function cancel() { ]" > - + diff --git a/src/pages/pc/setting/Setting.vue b/src/pages/pc/setting/Setting.vue index b7aaa848..91e908a9 100644 --- a/src/pages/pc/setting/Setting.vue +++ b/src/pages/pc/setting/Setting.vue @@ -174,27 +174,27 @@ function importOldData() {
- + 练习设置
- + 音效设置
- + 快捷键设置
- + 数据管理
- + 反馈
- + 关于
diff --git a/src/pages/pc/word/DictDetail.vue b/src/pages/pc/word/DictDetail.vue index bdb7074c..b07ac5c2 100644 --- a/src/pages/pc/word/DictDetail.vue +++ b/src/pages/pc/word/DictDetail.vue @@ -276,7 +276,7 @@ defineRender(() => { class="option-icon" onClick={() => editWord(val.item)} title="编辑"> - + delWord(val.item.id)} diff --git a/src/pages/pc/word/Statistics.vue b/src/pages/pc/word/Statistics.vue index 3ea64607..13c0419f 100644 --- a/src/pages/pc/word/Statistics.vue +++ b/src/pages/pc/word/Statistics.vue @@ -132,7 +132,7 @@ function options(emitType: string) { style="background: rgb(254,236,236)">
{{ statStore.wrong }}
- + 错词
@@ -140,7 +140,7 @@ function options(emitType: string) { style="background: rgb(231,248,241)">
{{ statStore.total - statStore.wrong }}
- + 正确
diff --git a/src/pages/pc/word/StudyWord.vue b/src/pages/pc/word/StudyWord.vue index 6460a0d2..84703a86 100644 --- a/src/pages/pc/word/StudyWord.vue +++ b/src/pages/pc/word/StudyWord.vue @@ -384,7 +384,7 @@ useEvents([
- + @@ -399,7 +399,7 @@ useEvents([ >
{{ nextWord.word }}
- +
- + -
- - + + - - + + diff --git a/src/pages/pc/word/WordHomePage.vue b/src/pages/pc/word/WordHomePage.vue index f8d2ad00..b4ae34a0 100644 --- a/src/pages/pc/word/WordHomePage.vue +++ b/src/pages/pc/word/WordHomePage.vue @@ -140,7 +140,7 @@ function check(cb: Function) { @click="router.push('/dict-list')" > - +
@@ -194,10 +194,9 @@ function check(cb: Function) { -
- 开始学习 - + 开始学习 +
diff --git a/src/pages/pc/word/components/Footer.vue b/src/pages/pc/word/components/Footer.vue index 99697498..ce215490 100644 --- a/src/pages/pc/word/components/Footer.vue +++ b/src/pages/pc/word/components/Footer.vue @@ -62,11 +62,10 @@ const progress = $computed(() => { diff --git a/src/pages/pc/article/components/TypingArticle.vue b/src/pages/pc/article/components/TypingArticle.vue index 31284c0e..0649b438 100644 --- a/src/pages/pc/article/components/TypingArticle.vue +++ b/src/pages/pc/article/components/TypingArticle.vue @@ -482,15 +482,15 @@ let showQuestions = $ref(false) .typing-article { height: 100%; - width: 100%; overflow: auto; color: var(--color-article); + width: var(--article-width); font-size: 1.6rem; header { word-wrap: break-word; position: relative; - padding-top: 1rem; + padding-top: 3rem; .title { text-align: center; @@ -549,7 +549,7 @@ let showQuestions = $ref(false) } &.tall { - line-height: 2.6; + line-height: 2.4; } .section { @@ -589,7 +589,7 @@ let showQuestions = $ref(false) height: 100%; width: 100%; font-size: 1.2rem; - line-height: 3.5; + line-height: 3.2; letter-spacing: .2rem; font-family: var(--zh-article-family); font-weight: bold; diff --git a/src/pages/pc/components/Panel.vue b/src/pages/pc/components/Panel.vue index e628b312..3503e1b6 100644 --- a/src/pages/pc/components/Panel.vue +++ b/src/pages/pc/components/Panel.vue @@ -13,9 +13,11 @@ provide('tabIndex', computed(() => tabIndex))