From 2fabb0fa5e643f353d0bd60b6671be58efe8b866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Sat, 8 Nov 2025 21:44:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8B=B9=E6=9E=9C=E9=BB=91?= =?UTF-8?q?=E5=B1=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.config.ts | 1 + src/app.scss | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/app.config.ts b/src/app.config.ts index 5e46beb..2202e1b 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -75,6 +75,7 @@ export default defineAppConfig({ backgroundTextStyle: "light", navigationBarBackgroundColor: "#fff", navigationBarTextStyle: "black", + backgroundColor: "#fff", }, permission: { "scope.userLocation": { diff --git a/src/app.scss b/src/app.scss index 775f9bc..70127c8 100644 --- a/src/app.scss +++ b/src/app.scss @@ -3,9 +3,22 @@ // src: url('./static/asserts/fonts/PoetsenOne-Regular.ttf') format('truetype'); // } +// 小程序页面根元素样式 +page { + height: 100%; + min-height: 100vh; + background-color: #fff; +} + +#app { + height: 100%; + min-height: 100vh; + width: 100%; + background-color: #fff; +} + @font-face { font-family: "Quicksand"; - src: url("https://bimwe.oss-cn-shanghai.aliyuncs.com/front/ball/other/57dc951f-f10e-45b7-9157-0b1e468187fd.ttf") - format("truetype"); + src: url("https://bimwe.oss-cn-shanghai.aliyuncs.com/front/ball/other/57dc951f-f10e-45b7-9157-0b1e468187fd.ttf") format("truetype"); font-display: swap; -} +} \ No newline at end of file