diff --git a/components.d.ts b/components.d.ts index bede9ed4..b59e7e45 100644 --- a/components.d.ts +++ b/components.d.ts @@ -37,6 +37,7 @@ declare module 'vue' { ElSelect: typeof import('element-plus/es')['ElSelect'] ElSlider: typeof import('element-plus/es')['ElSlider'] ElSwitch: typeof import('element-plus/es')['ElSwitch'] + Empty: typeof import('./src/components/Empty.vue')['default'] FeedbackModal: typeof import('./src/components/Toolbar/FeedbackModal.vue')['default'] Fireworks: typeof import('./src/components/Fireworks.vue')['default'] Footer: typeof import('./src/components/Practice/Footer.vue')['default'] @@ -66,6 +67,5 @@ declare module 'vue' { WordItem: typeof import('./src/components/WordItem.vue')['default'] WordList: typeof import('./src/components/WordList.vue')['default'] WordListModal: typeof import('./src/components/WordListModal.vue')['default'] - WordPanel: typeof import('./src/components/Practice/PracticeWord/WordPanel.vue')['default'] } } diff --git a/src/assets/css/style.scss b/src/assets/css/style.scss index 59479037..57e43bd6 100644 --- a/src/assets/css/style.scss +++ b/src/assets/css/style.scss @@ -135,7 +135,7 @@ footer { justify-content: center; } -.current-practice-dict { +.panel-page-item { display: flex; flex-direction: column; height: 100%; @@ -143,18 +143,29 @@ footer { box-sizing: border-box; header { - padding: 8rem $space; + min-height: 50rem; + padding: 10rem $space; + box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; - font-size: 14rem; + font-size: 16rem; color: black; .left { + flex: 1; display: flex; align-items: center; gap: 10rem; } + + .title{ + max-width: 70%; + } + + .right{ + word-break: keep-all; + } } .scroll { diff --git a/src/assets/img/缺省页_空白页-通用.svg b/src/assets/img/缺省页_空白页-通用.svg new file mode 100644 index 00000000..9148ba8c --- /dev/null +++ b/src/assets/img/缺省页_空白页-通用.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/BaseButton.vue b/src/components/BaseButton.vue index f85b4cbd..e08c9847 100644 --- a/src/components/BaseButton.vue +++ b/src/components/BaseButton.vue @@ -11,22 +11,19 @@ interface IProps { type?: 'primary' | 'link' } -const props = withDefaults(defineProps(), { +withDefaults(defineProps(), { type: 'primary', size: 'normal', }) defineEmits(['click']) -function click() { - -}