From b89ed80f20f2e07729a68f2c6ed2ca5134332a17 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期五, 28 六月 2024 11:17:59 +0800 Subject: [PATCH] ywicon --- src/views/project/ch/home/Home.vue | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/views/project/ch/home/Home.vue b/src/views/project/ch/home/Home.vue index a791732..e1f4c0d 100644 --- a/src/views/project/ch/home/Home.vue +++ b/src/views/project/ch/home/Home.vue @@ -6,13 +6,10 @@ <div class="pc-chatRoom w100 h100"> <div class="homeBox w100"> <div class="flex items-center flex-column mt-20"> - <div class="flex items-center flex-column" v-if="!isShowChat"> - <waterTop @sendClick="sendClick" /> + <div class="flex items-center flex-column"> + <waterTop /> <waterCenter /> <waterBottom /> - </div> - <div v-if="isShowChat"> - <Chat /> </div> </div> </div> @@ -34,12 +31,9 @@ import waterCenter from './component/waterRight/center.vue'; import waterTop from './component/waterRight/top.vue'; import Chat from '/@/components/chat/Chat.vue'; +import router from '/@/router'; -const isShowChat = ref(false); -const sendClick = () => { - isShowChat.value = true; -}; </script> <style scoped lang="scss"> .pc-chat_room { -- Gitblit v1.9.3