Skip to content

Commit

Permalink
Update readme about vocabulary training mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hefengxian committed Apr 22, 2024
1 parent 2e0c56a commit 92a26ba
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

雅思备考资料,包含词汇、语法、听说读写最出名的一些内容

- [WIP] 练习模式,可以听着音频默写单词,自动遮盖、统计等
- [x] 词汇练习模式

## 规划栏目

Expand All @@ -37,12 +37,20 @@
- 逻辑词群记忆法
- 原书音频

词列表
<picture>
<source media="(prefers-color-scheme: dark)" srcset="public/screenshot/screenshot-vocabulary-dark.png">
<source media="(prefers-color-scheme: light)" srcset="public/screenshot/screenshot-vocabulary-light.png">
<img alt="Vocabulary" src="public/screenshot/screenshot-vocabulary-light.png">
</picture>

练习模式
<picture>
<source media="(prefers-color-scheme: dark)" srcset="public/screenshot/screenshot-vocabulary-training-mode-dark.png">
<source media="(prefers-color-scheme: light)" srcset="public/screenshot/screenshot-vocabulary-training-mode-light.png">
<img alt="Vocabulary" src="public/screenshot/screenshot-vocabulary-training-mode-light.png">
</picture>

### 语法

新东方雅思语法
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 3 additions & 9 deletions src/pages/vocabulary/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ function copyAllError() {
<input
:id="item.id" autocomplete="off" :class="getInputStyleClass(item)"
type="text"
@focusout="onInputFoucsOut($event, item)" @focusin="onInputFoucsIn($event, `vocabulary/audio/${category}/${item.word}.mp3`)" @keydown="onInputKeydown"
@focusout="onInputFoucsOut($event, item)"
@focusin="onInputFoucsIn($event, `vocabulary/audio/${category}/${item.word[0]}.mp3`)"
@keydown="onInputKeydown"
>
</template>
</td>
Expand Down Expand Up @@ -372,14 +374,6 @@ function copyAllError() {
<!-- Card Footer -->
<div class="flex items-center justify-between pt-3 sm:pt-6">
<div>
<!-- <button
class="inline-flex items-center rounded-lg p-2 text-center text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white"
type="button" data-dropdown-toggle="transactions-dropdown">
Last 7 days <svg class="ml-2 h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7" />
</svg>
</button> -->
<p v-if="isTrainingModel">
{{ trainingStats }}
</p>
Expand Down

0 comments on commit 92a26ba

Please sign in to comment.