diff --git a/src/components/alert/KUNGalgameMessage.vue b/src/components/alert/KUNGalgameMessage.vue
index c97fff6d..841e85db 100644
--- a/src/components/alert/KUNGalgameMessage.vue
+++ b/src/components/alert/KUNGalgameMessage.vue
@@ -78,6 +78,7 @@ const messageClass = (type: string): string => {
box-shadow: var(--shadow);
span {
display: flex;
+ flex-direction: column;
align-items: center;
justify-content: center;
}
diff --git a/src/components/quill-editor/EditorFooter.vue b/src/components/quill-editor/EditorFooter.vue
index ac023226..d68f8a65 100644
--- a/src/components/quill-editor/EditorFooter.vue
+++ b/src/components/quill-editor/EditorFooter.vue
@@ -1,8 +1,7 @@
+
+
+
+
+
+
+
+
+ - {{ $tm('edit.help1') }}
+ - {{ $tm('edit.help2') }}
+ - {{ $tm('edit.help3') }}
+ - {{ $tm('edit.help4') }}
+ -
+ {{ $tm('edit.help5') }}
+
+ {{ $tm('edit.contact') }}
+
+
+
+
+
+
+
+
diff --git a/src/components/quill-editor/QuillEditor.vue b/src/components/quill-editor/QuillEditor.vue
index 8eabec42..8e97c48c 100644
--- a/src/components/quill-editor/QuillEditor.vue
+++ b/src/components/quill-editor/QuillEditor.vue
@@ -18,6 +18,8 @@ const Title = defineAsyncComponent(
// 导入 Footer
import EditorFooter from './EditorFooter.vue'
+// Footer 的插槽
+import Help from './Help.vue'
// 导入编辑话题的 store
import { useKUNGalgameEditStore } from '@/store/modules/edit'
@@ -79,11 +81,6 @@ const editorMode = computed(() =>
routeName.value === 'Edit' ? mode.value : replyDraft.value.mode
)
-// 编辑器的文字计数,根据路由的名字确定
-const textCountNumber = computed(() =>
- routeName.value === 'Edit' ? textCount.value : replyDraft.value.textCount
-)
-
// 编辑器的工具栏是否显示
const isShowEditorToolbar = computed(() =>
props.isShowToolbar ? 'block' : 'none'
@@ -152,7 +149,11 @@ const handleTextChange = async () => {
/>
-
+
+
+
+
+
diff --git a/src/store/modules/topic.ts b/src/store/modules/topic.ts
index 57a93d2f..ff6bcef2 100644
--- a/src/store/modules/topic.ts
+++ b/src/store/modules/topic.ts
@@ -29,7 +29,8 @@ interface ReplyDraft {
*/
editorHeight: number
textCount: number
- mode: '' | 'essential' | 'minimal' | 'full'
+ // 这里仅支持三种模式
+ mode: '' | 'essential' | 'minimal'
theme: 'snow' | 'bubble'
// 是否显示热门关键词
isShowHotKeywords: boolean
@@ -105,7 +106,7 @@ export const useKUNGalgameTopicStore = defineStore({
replyDraft: {
editorHeight: 200,
textCount: 0,
- mode: '',
+ mode: 'minimal',
theme: 'snow',
isShowHotKeywords: true,
diff --git a/src/views/topic/KUNGalgameTopicPage.vue b/src/views/topic/KUNGalgameTopicPage.vue
index 1eefd149..6e9bd5f5 100644
--- a/src/views/topic/KUNGalgameTopicPage.vue
+++ b/src/views/topic/KUNGalgameTopicPage.vue
@@ -286,4 +286,10 @@ onBeforeMount(() => {
padding: 0;
}
}
+
+@media (max-width: 700px) {
+ .content-container {
+ width: 100%;
+ }
+}