diff --git a/src/pages/dict/DictManage.vue b/src/pages/dict/DictManage.vue index f51397c5..4bfa0c0d 100644 --- a/src/pages/dict/DictManage.vue +++ b/src/pages/dict/DictManage.vue @@ -588,6 +588,9 @@ function importData() { no() } +const isPinDict = $computed(() => { + return [DictType.collect, DictType.wrong, DictType.simple].includes(runtimeStore.editDict.type) +}) @@ -635,26 +638,27 @@ function importData() {
+
- -
- {{ runtimeStore.editDict.name }} +
+
+ {{ runtimeStore.editDict.name }} +
+ +
+ 导入 + +
+ 导出
- - 恢复默认 - -
- 导入 - -
- 导出 +
{{runtimeStore.editDict.description}}
+
总词汇: {{ runtimeStore.editDict.originWords.length }}词
@@ -1108,11 +1112,11 @@ $header-height: 60rem; width: 100%; display: flex; box-sizing: border-box; - height: $header-height; align-items: center; - justify-content: space-between; color: var(--color-font-1); padding: 0 var(--space); + gap: 20rem; + margin-bottom: 20rem; svg { cursor: pointer @@ -1121,8 +1125,16 @@ $header-height: 60rem; .left { display: flex; gap: 10rem; - font-size: 20rem; - align-items: center; + flex-direction: column; + color: var(--color-font-2); + + .top { + color: var(--color-font-1); + display: flex; + gap: 10rem; + font-size: 20rem; + align-items: center; + } .import { display: inline-flex;