From 0c2264e50936828e1c5f62516876ad43ac25357f Mon Sep 17 00:00:00 2001 From: Tim <135014430+nagisa77@users.noreply.github.com> Date: Wed, 27 Aug 2025 20:39:46 +0800 Subject: [PATCH] fix: adjust new post icon position and close message window --- frontend_nuxt/app.vue | 2 +- frontend_nuxt/components/MessageFloatWindow.vue | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend_nuxt/app.vue b/frontend_nuxt/app.vue index 6a429d5ae..fd21fed06 100644 --- a/frontend_nuxt/app.vue +++ b/frontend_nuxt/app.vue @@ -138,7 +138,7 @@ const goToNewPost = () => { height: 60px; border-radius: 50%; position: fixed; - bottom: 40px; + bottom: 70px; right: 20px; font-size: 20px; cursor: pointer; diff --git a/frontend_nuxt/components/MessageFloatWindow.vue b/frontend_nuxt/components/MessageFloatWindow.vue index fb2495ac7..f5370b91a 100644 --- a/frontend_nuxt/components/MessageFloatWindow.vue +++ b/frontend_nuxt/components/MessageFloatWindow.vue @@ -16,6 +16,7 @@ @click="reboundToDefault" > + @@ -48,6 +49,10 @@ function expand() { navigateTo(target) } +function close() { + floatRoute.value = null +} + function injectBaseTag() { if (!iframeRef.value) return