From bdb3e1367ea3540fc6a2a7af9daef0622fc98cc1 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期三, 13 十一月 2024 10:55:53 +0800 Subject: [PATCH] 猜你想问: 优化 --- src/components/chat/Chat.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index aa7f229..498cab0 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -118,15 +118,15 @@ <p class="text-red-500"> {{ item.content.errMsg }} </p> - <div class="mt-5 flex" v-if="showFixQuestion(item)"> - <div class="text-gray-600 flex-0 mt-4"> + <div class="mt-3 flex" v-if="showFixQuestion(item)"> + <div class="text-gray-600 flex-0 mb-auto py-3"> {{ '鐚滀綘鎯抽棶锛�' }} </div> - <div class="ml-1 space-x-2 inline-flex flex-wrap"> + <div class="flex-auto space-x-2 space-y-1 inline-flex flex-wrap items-center"> <div v-for="fixItem in item.content.origin?.sample_question" :key="fixItem" - class="bg-gray-200 p-3 mt-1 hover:bg-[#c5e0ff] hover:text-[#1c86ff] cursor-pointer rounded-lg" + class="bg-gray-200 p-3 hover:bg-[#c5e0ff] hover:text-[#1c86ff] cursor-pointer rounded-lg first-of-type:ml-2 first-of-type:mt-1" @click="fixQuestionClick(fixItem, item.content.origin)" > {{ fixItem }} -- Gitblit v1.9.3