From 25d21e4fb384c0219f4671edaaf0816fdabb6bd4 Mon Sep 17 00:00:00 2001 From: tone <3341154833@qq.com> Date: Thu, 12 Sep 2024 21:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20notfound=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=93=8D=E5=BA=94=E5=BC=8F=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tonecn/src/views/NotFound.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tonecn/src/views/NotFound.vue b/tonecn/src/views/NotFound.vue index 6fbc547..464b81a 100644 --- a/tonecn/src/views/NotFound.vue +++ b/tonecn/src/views/NotFound.vue @@ -3,7 +3,7 @@ import { onMounted, onUnmounted, ref } from 'vue'; const containerHeight = ref('800px'); onMounted(async () => { document.title = '404 不存在的页面'; - containerHeight.value = window.innerHeight > 500 ? window.innerHeight -85 + 'px' : '390px'; + containerHeight.value = window.innerHeight > 500 ? window.innerHeight - 90 + 'px' : '390px'; }) onUnmounted(() => { document.title = '特恩(TONE)'; @@ -35,4 +35,10 @@ onUnmounted(() => { padding: 0 20px; height: v-bind(containerHeight); } + +@media screen and (max-width: 800px) { + .content-container { + height: calc(v-bind(containerHeight) + 15px); + } +} \ No newline at end of file