修改苹果黑屏问题
This commit is contained in:
@@ -75,6 +75,7 @@ export default defineAppConfig({
|
|||||||
backgroundTextStyle: "light",
|
backgroundTextStyle: "light",
|
||||||
navigationBarBackgroundColor: "#fff",
|
navigationBarBackgroundColor: "#fff",
|
||||||
navigationBarTextStyle: "black",
|
navigationBarTextStyle: "black",
|
||||||
|
backgroundColor: "#fff",
|
||||||
},
|
},
|
||||||
permission: {
|
permission: {
|
||||||
"scope.userLocation": {
|
"scope.userLocation": {
|
||||||
|
|||||||
17
src/app.scss
17
src/app.scss
@@ -3,9 +3,22 @@
|
|||||||
// src: url('./static/asserts/fonts/PoetsenOne-Regular.ttf') format('truetype');
|
// 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-face {
|
||||||
font-family: "Quicksand";
|
font-family: "Quicksand";
|
||||||
src: url("https://bimwe.oss-cn-shanghai.aliyuncs.com/front/ball/other/57dc951f-f10e-45b7-9157-0b1e468187fd.ttf")
|
src: url("https://bimwe.oss-cn-shanghai.aliyuncs.com/front/ball/other/57dc951f-f10e-45b7-9157-0b1e468187fd.ttf") format("truetype");
|
||||||
format("truetype");
|
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user