From 822ff0a51d0697b5f45528efcae0f1499dcc91db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=98=93?= <105188049+xiaoyiweb@users.noreply.github.com> Date: Thu, 1 Feb 2024 18:52:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E4=B8=BB=E9=A2=98=E5=88=87?= =?UTF-8?q?=E6=8D=A2=20=E4=BC=98=E5=8C=96=E6=8A=96=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chat/index.html | 5 - chat/src/layout/footerBar/index.vue | 2 +- chat/src/layout/siderBar/index.vue | 6 +- chat/src/views/chat/chatBase.vue | 84 +++++++--------- .../views/chat/components/Header/index.vue | 7 +- chat/src/views/chat/hooks/useScroll.ts | 98 ++++++++++--------- 6 files changed, 98 insertions(+), 104 deletions(-) diff --git a/chat/index.html b/chat/index.html index 92d43d6..07819aa 100644 --- a/chat/index.html +++ b/chat/index.html @@ -190,11 +190,6 @@ } } } - - console.log( - "%c本项目作者----小易,联系QQ:805239273", - "background-color:rgb(30,30,30);border-radius:4px;font-size:12px;padding:4px;color:rgb(220,208,129);" - ) diff --git a/chat/src/layout/footerBar/index.vue b/chat/src/layout/footerBar/index.vue index 98e7dc2..c256a69 100644 --- a/chat/src/layout/footerBar/index.vue +++ b/chat/src/layout/footerBar/index.vue @@ -80,7 +80,7 @@ onBeforeMount(() => { diff --git a/chat/src/layout/siderBar/index.vue b/chat/src/layout/siderBar/index.vue index eaa12f7..ab02ce0 100644 --- a/chat/src/layout/siderBar/index.vue +++ b/chat/src/layout/siderBar/index.vue @@ -221,7 +221,7 @@ watch( class="text-2xl transition-all" :class="[ isActive(item) - ? 'text-[#4b9e5f] dark:text-[#86dfba]' + ? 'text-[#3076fd] dark:text-[#3076fd]' : '', ]" /> @@ -235,7 +235,7 @@ watch( class="text-[12px] mt-1 margin-auto whitespace-nowrap overflow-hidden" :class="[ isActive(item) - ? 'text-[#4b9e5f] dark:text-[#86dfba] ' + ? 'text-[#3076fd] dark:text-[#86dfba] ' : 'text-[#999999]', ]" >{{ item.menuTipText }} --> @@ -334,7 +334,7 @@ watch( } .btns { - box-shadow: 0 5px 16px #16993b; + box-shadow: 0 5px 16px #0636e6; } .borderRadis { diff --git a/chat/src/views/chat/chatBase.vue b/chat/src/views/chat/chatBase.vue index 1eda1be..d7312f3 100644 --- a/chat/src/views/chat/chatBase.vue +++ b/chat/src/views/chat/chatBase.vue @@ -122,7 +122,7 @@ const firstScroll = ref(true) const tipsRef = ref(null) const tipText = ref('') const tipsHeight = ref(null) -const dataBase64 = ref(null) +let dataBase64 = ref(null) const fileName = ref('') const isImageFile = ref(false) const showDeleteIcon = ref(false) @@ -279,6 +279,7 @@ async function uploadFile() { } finally { dataBase64.value = null curFile = null + showProgressModal.value = false } } @@ -838,14 +839,14 @@ onUnmounted(() => {