From eede90a186c345fc9d332aeabfa4cab495d6cce2 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Fri, 16 May 2025 10:36:34 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=B8=BA=E9=A1=B5=E9=9D=A2=E5=AE=B9?= =?UTF-8?q?=E5=99=A8=E6=B7=BB=E5=8A=A0=E7=9B=B8=E5=AF=B9=E5=AE=9A=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在页面容器的样式中添加 `position: relative`,以确保子元素的定位行为符合预期 --- pages/index/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 050b21d..ced0c65 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -130,7 +130,7 @@ width: 100vw; min-height: 100vh; background-color: $uni-bg-color; - + position: relative; } .bg { width: 100%;