From 1dfc8160de00621c6c5b3656cca0b19061e61614 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 14 四月 2025 15:12:14 +0800 Subject: [PATCH] 调整位置 --- vite.config.ts | 2 +- src/components/chat/components/ChatContainer.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/chat/components/ChatContainer.vue b/src/components/chat/components/ChatContainer.vue index 77e6868..7556ea7 100644 --- a/src/components/chat/components/ChatContainer.vue +++ b/src/components/chat/components/ChatContainer.vue @@ -14,7 +14,7 @@ </div> <!-- 鍥炲埌搴曢儴鎸夐挳 --> - <div class="absolute right-28 bottom-56" v-if="!isBottom"> + <div class="absolute right-28 bottom-72" v-if="!isBottom"> <div class="flex items-center justify-center size-[38px] cursor-pointer hover:text-[#0284ff] border rounded-full hover:bg-[#f6f7f9] shadow bg-white" @click="scrollToBottom" @@ -25,10 +25,10 @@ <div v-show="digitalHumanIsShow" v-loading="humanIsLoading" - class="absolute right-0 bottom-0 z-[2]" - :style="{ width: digitalHumanWidth, height: `calc(${digitalHumanWidth} * 16 / 9 - 100px)`, overflow: 'hidden' }" + class="absolute right-0 bottom-6 z-[2]" + :style="{ width: digitalHumanWidth, height: `calc(${digitalHumanWidth} * 16 / 9 - 300px)`, overflow: 'hidden' }" > - <span class="ywifont ywicon-guanbi text-[20px] cursor-pointer absolute top-7 right-7 z-[1]" @click="closeDigitalHuman"></span> + <span class="ywifont ywicon-guanbi text-[20px] cursor-pointer absolute top-2 right-8 z-[1]" @click="closeDigitalHuman"></span> <div class="duix-container h-full w-full" :style="{ width: digitalHumanWidth, height: `calc(${digitalHumanWidth} * 16 / 9)` }"></div> </div> diff --git a/vite.config.ts b/vite.config.ts index eca7e3b..64d976c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -57,7 +57,7 @@ host: '0.0.0.0', port: env.VITE_PORT as unknown as number, open: JSON.parse(env.VITE_OPEN), - hmr: false, + hmr: true, proxy: { '/events': { target: 'http://localhost:3000', -- Gitblit v1.9.3