-
- {{ isSaveData ? '上次学习任务' : '今日任务' }}
- 词表
-
-
-
-
{{ currentStudy.new.length }}
-
新词
-
-
-
-
{{ currentStudy.review.length }}
-
复习上次
-
-
-
{{ currentStudy.write.length }}
+
+
+ 更改进度
-
复习之前
-
-
+
+
-
-
- 每日目标
-
- {{ store.sdict.id ? store.sdict.perDayStudyNumber : 0 }}
+
+
+
+
+
+
+
+ {{ isSaveData ? '上次学习任务' : '今日任务' }}
+
+
词表
+
- 个单词
-
+ 每日目标
+
+ {{ store.sdict.id ? store.sdict.perDayStudyNumber : 0 }}
+
+ 个单词
+ showPracticeSettingDialog = true)">
- 更改
-
-
-
-
- {{ isSaveData ? '继续学习' : '开始学习' }}
-
+ 更改
+
+
-
+
+
+
+
{{ currentStudy.new.length }}
+
新词数
+
+
+
+
{{ currentStudy.review.length }}
+
复习上次
+
+
+
{{ currentStudy.write.length }}
+
复习之前
+
+
+
+
+
+
+ {{ isSaveData ? '继续学习' : '开始学习' }}
+
+
+
+
showShufflePracticeSettingDialog = true)">
+
+ 随机复习
+
+
+
+
@@ -271,15 +328,15 @@ const {
-
{{ isMultiple ? '取消' : '管理词典' }}
+
{{ isManageDict ? '取消' : '管理词典' }}
-
创建个人词典
+
创建个人词典
toggleSelect(item)" :show-checkbox="isMultiple && j >= 3"
+ @check="() => toggleSelect(item)" :show-checkbox="isManageDict && j >= 3"
v-for="(item, j) in store.word.bookList" @click="goDictDetail(item)"/>
@@ -289,7 +346,7 @@ const {
@@ -303,22 +360,37 @@ const {
+ :show-left-option="false"
+ v-model="showPracticeSettingDialog"
+ @ok="savePracticeSetting"/>
-
+
+
diff --git a/src/pages/word/components/Footer.vue b/src/pages/word/components/Footer.vue
index 7522b27a..e6bfb2b4 100644
--- a/src/pages/word/components/Footer.vue
+++ b/src/pages/word/components/Footer.vue
@@ -3,12 +3,12 @@
import { inject, Ref, watch } from "vue"
import { usePracticeStore } from "@/stores/practice.ts";
import { useSettingStore } from "@/stores/setting.ts";
-import { PracticeData, WordPracticeType, ShortcutKey } from "@/types/types.ts";
+import {PracticeData, WordPracticeType, ShortcutKey, TaskWords} from "@/types/types.ts";
import BaseIcon from "@/components/BaseIcon.vue";
import Tooltip from "@/components/base/Tooltip.vue";
import Progress from '@/components/base/Progress.vue'
-const statisticsStore = usePracticeStore()
+const statStore = usePracticeStore()
const settingStore = useSettingStore()
defineProps<{
@@ -34,7 +34,7 @@ function format(val: number, suffix: string = '', check: number = -1) {
const status = $computed(() => {
if (isTypingWrongWord.value) return '复习错词'
let str = ''
- switch (statisticsStore.step) {
+ switch (statStore.step) {
case 0:
str += `学习新词`
break
@@ -62,6 +62,9 @@ const status = $computed(() => {
case 8:
str += '默写之前学习'
break
+ case 10:
+ str += '随机复习'
+ break
}
return str
})
@@ -96,22 +99,22 @@ const progress = $computed(() => {
{{ status }}
-
{{ format(statisticsStore.inputWordNumber, '', 0) }}
+
{{ format(statStore.inputWordNumber, '', 0) }}
总输入数
-
{{ format(statisticsStore.wrong, '', 0) }}
+
{{ format(statStore.wrong, '', 0) }}
总错误数