Skip to content

Commit 24d63d5

Browse files
committed
chore: update README.md
1 parent d9d1e24 commit 24d63d5

File tree

1 file changed

+32
-16
lines changed

1 file changed

+32
-16
lines changed

README.md

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88

99
### 描述 Description
1010

11-
- 灵活且貌似轻量的 `学习强国` 油猴插件
11+
- 灵活且貌似轻量的 `学习强国` 油猴脚本
1212

13-
- 如果感觉功能不强大,去看看 [Node.js 版](https://github.com/Xu22Web/tech-study-node 'Node.js 版') `https://github.com/Xu22Web/tech-study-node`
13+
- 与此同时,提供更加便捷的版本选择
14+
15+
- [Node.js 版](https://github.com/Xu22Web/tech-study-node 'Node.js 版')
16+
17+
- [Docker 版](https://github.com/Xu22Web/tech-study-docker 'Docker 版')
1418

1519
### 交流群 Telegram Group
1620

@@ -72,13 +76,15 @@
7276

7377
### 更新与维护 Update and Maintenance
7478

75-
1. 修复同屏任务点击关闭后,任务无法继续进行的问题
79+
1. 修复获取分数失败,界面显示异常的问题
7680

77-
2. 优化视听学习的结束时间。若视频时长大于 120s ,则在 120s 左右关闭;否则在视频总时长左右关闭页面
81+
2. 新增类 Composition API,优化代码逻辑,同时压缩脚本文件,减小文件体积
7882

79-
3. 新增文章选读、视听学习在页面无效时,自动跳过问题页面
83+
3. 与此同时,提供更加便捷的版本选择
8084

81-
4. 发布基于 Node.js 以及 puppeteer 的全套解决方案,[Node.js 版](https://github.com/Xu22Web/tech-study-node) 解决了滑动验证问题等问题,实现全自动化
85+
- [Node.js 版](https://github.com/Xu22Web/tech-study-node 'Node.js 版')
86+
87+
- [Docker 版](https://github.com/Xu22Web/tech-study-docker 'Docker 版')
8288

8389
### 公告 announcement
8490

@@ -108,15 +114,17 @@
108114

109115
- 脚本配置
110116

111-
1. 脚本配置 `src/config/script.ts`
117+
1. 版本配置 `src/config/version.ts`
118+
119+
2. 脚本配置 `src/config/script.ts`
112120

113-
2. API 配置 `src/config/api.ts`
121+
3. 编译配置 `src/config/compile.ts`
114122

115-
3. URL 配置 `src/config/url.ts`
123+
4. 接口配置 `src/config/api.ts`
116124

117-
4. 编译配置 `src/config/compile.ts`
125+
5. 链接配置 `src/config/url.ts`
118126

119-
5. 任务配置 `src/config/task.ts`
127+
6. 任务配置 `src/config/task.ts`
120128

121129
- CSS 文件
122130

@@ -150,11 +158,15 @@
150158
151159
152160
```
153-
✔ 完成编译: tech-study.ts -> tech-study.js
154-
✔ 完成编译: ./config/api.ts -> tech-study.js
155-
✔ 完成编译: ./config/url.ts -> tech-study.js
156-
✔ 完成编译: ./utils/index.ts -> tech-study.js
157-
✔ 导出文件: tech-study.js
161+
✔ 完成编译: index.ts -> index.js
162+
✔ 已生成 用户脚本配置 注释!
163+
✔ 完成编译: ./config/api.ts -> api.js
164+
✔ 完成编译: ./config/url.ts -> url.js
165+
✔ 完成编译: ./config/task.ts -> task.js
166+
167+
... ...
168+
169+
✔ 导出整合的脚本文件: tech-study.js
158170
```
159171
160172
- 功能特性(基于`TypeScript Compiler API`)
@@ -178,3 +190,7 @@
178190
1. 文件`file`文本插入到主文件一起导出,相当于合并多个`*.ts`文件导出为一个`*.js`文件
179191
180192
2. 此类型`import`语句不会被编译到结果
193+
194+
- 类似组合式接口(类似 `Composition API`)
195+
196+
模拟 `ref`,`watch`,`watchEffect` 等 API。

0 commit comments

Comments
 (0)