修改苹果黑屏问题
This commit is contained in:
19
src/app.scss
19
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user