添加意见反馈
This commit is contained in:
1 parent
2bd27ed70d
commit
6b2ab65436
16 files changed
+853
-37
No files matched your search
@@ -10,6 +10,7 @@ import { useI18n } from 'vue-i18n';
|
||||
import { config } from '../config';
|
||||
import ThemeToggleButton from '../components/ThemeToggleButton.vue';
|
||||
import DeleteConfirmDialog from '../components/DeleteConfirmDialog.vue';
|
||||
import GeneralFeedbackDialog from '../components/GeneralFeedbackDialog.vue';
|
||||
import { useGlobalMessageDialog } from '../composables/useGlobalMessageDialog';
|
||||
|
||||
import {
|
||||
@@ -141,6 +142,7 @@ const pendingAgentId = ref<number | null>(null);
|
||||
const isWecomLoggingIn = ref(false);
|
||||
const showDeleteQuickQuestionDialog = ref(false);
|
||||
const pendingDeleteQuickQuestionId = ref<number | null>(null);
|
||||
const showGeneralFeedbackDialog = ref(false);
|
||||
const wecomEntryHint = ref('');
|
||||
const wecomLoginDialog = ref<WecomLoginDialogContent | null>(null);
|
||||
const wecomBindPrompt = ref<WecomBindPromptState | null>(null);
|
||||
@@ -927,6 +929,12 @@ onBeforeUnmount(() => {
|
||||
<div class="flex items-center gap-2 md:gap-4 shrink-0">
|
||||
<!-- Keep header actions minimal on mobile; language switch is in the profile dropdown. -->
|
||||
<div class="flex items-center gap-2">
|
||||
<button
|
||||
@click="showGeneralFeedbackDialog = true"
|
||||
class="inline-flex items-center gap-1 rounded-xl border border-[#8cbce8] bg-[#eef6ff] px-2 py-1.5 text-[11px] font-semibold text-[#2f73b2] transition-colors hover:bg-[#e3f1ff] md:px-3 md:py-2 md:text-xs"
|
||||
>
|
||||
{{ '\u610f\u89c1\u53cd\u9988' }}
|
||||
</button>
|
||||
<ThemeToggleButton />
|
||||
</div>
|
||||
<!-- User Profile Dropdown -->
|
||||
@@ -1445,10 +1453,15 @@ onBeforeUnmount(() => {
|
||||
@confirm="confirmRemoveQuickQuestion"
|
||||
@cancel="cancelRemoveQuickQuestion"
|
||||
/>
|
||||
<GeneralFeedbackDialog
|
||||
v-model="showGeneralFeedbackDialog"
|
||||
:auth-headers="getAuthHeaders()"
|
||||
source-page="workspace"
|
||||
@submitted="showMessageDialog('success', '\u53cd\u9988\u63d0\u4ea4\u6210\u529f')"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
/* Scoped styles removed in favor of global utilities in style.css */
|
||||
</style>
|
||||
|
||||
Reference in new issue
Block a user