diff --git a/src/pages/pc/article/ArticleIndex.vue b/src/pages/pc/article/ArticleIndex.vue index 2a4bc20f..48abeef8 100644 --- a/src/pages/pc/article/ArticleIndex.vue +++ b/src/pages/pc/article/ArticleIndex.vue @@ -9,6 +9,7 @@ import BaseIcon from "@/components/BaseIcon.vue"; import DictList from "@/pages/pc/components/list/DictList.vue"; import {enArticle} from "@/assets/dictionary.ts"; import {DictType} from "@/types.ts"; +import BasePage from "@/pages/pc/components/BasePage.vue"; const base = useBaseStore() const router = useRouter() @@ -19,62 +20,59 @@ function clickEvent(e) { \ No newline at end of file diff --git a/src/pages/pc/components/DictListPanel.vue b/src/pages/pc/components/DictListPanel.vue index ad36d420..49a11d7f 100644 --- a/src/pages/pc/components/DictListPanel.vue +++ b/src/pages/pc/components/DictListPanel.vue @@ -119,7 +119,7 @@ function del(e) { @import "@/assets/css/style"; .dict-list-panel { - width: 100%; + width: 50%; height: 100%; $header-height: 5rem; //padding: var(--space); diff --git a/src/pages/pc/dict/components/ChapterWordList.vue b/src/pages/pc/dict/components/ChapterWordList.vue index bf391f5d..a80bf186 100644 --- a/src/pages/pc/dict/components/ChapterWordList.vue +++ b/src/pages/pc/dict/components/ChapterWordList.vue @@ -124,7 +124,7 @@ useWindowClick(() => show = false) v-if="showAdd" @click="emit('add')" icon="fluent:add-20-filled" - title="新增单词到本章节"/> + title="添加单词"/>
{ ref="dictFormRef" :rules="dictRules" :model="dictForm" - label-width="120rem"> + label-width="8rem"> diff --git a/src/pages/pc/dict/components/WordDictDetail.vue b/src/pages/pc/dict/components/WordDictDetail.vue index ea961182..d77dcc09 100644 --- a/src/pages/pc/dict/components/WordDictDetail.vue +++ b/src/pages/pc/dict/components/WordDictDetail.vue @@ -1,27 +1,24 @@ @@ -561,7 +413,7 @@ defineExpose({getDictDetail, add: addWord, editDict})
@@ -591,7 +443,6 @@ defineExpose({getDictDetail, add: addWord, editDict})
{{ runtimeStore.editDict.description }}
-
总词汇: {{ runtimeStore.editDict.length }}词
-
-
-
- 章节管理 -
- -
-
-
- 智能分配 - {{ runtimeStore.editDict.chapterWords.length }}章 -
-
-
- - - - - -
-
-
- - < - - - > - -
- + v-model:list="wordList"/>
{{ wordFormData.type === FormMode.Add ? '添加' : '修改' }}单词 - {{ - wordFormData.type === FormMode.Add ? (wordFormData.where === 'chapter' ? `> 第${chapterIndex + 1}章` : '> 未分配') : '' - }}
+ label-width="6rem"> @@ -713,55 +497,6 @@ defineExpose({getDictDetail, add: addWord, editDict})
- -
-
-
为您自动创建章节以及分配单词
-
注意:已存在的章节将被删除!
-
-
-
每章单词数
- - -
- -
- 最小:10 - 最大:{{ runtimeStore.editDict.words.length }} -
- -
-
将会创建
-
- {{ Math.ceil(runtimeStore.editDict.words.length / chapterWordNumber) }}章 -
-
-
-
每章
-
- {{ chapterWordNumber }}个单词 -
-
-
-
最后一章
-
- {{ runtimeStore.editDict.words.length % chapterWordNumber }}个单词 -
-
-
-
- \ No newline at end of file diff --git a/src/pages/pc/dict/index.vue b/src/pages/pc/dict/index.vue index 0fb1cbac..60a3e595 100644 --- a/src/pages/pc/dict/index.vue +++ b/src/pages/pc/dict/index.vue @@ -16,7 +16,6 @@ onMounted(() => {