feat: 小程序界面优化

This commit is contained in:
2026-07-23 14:00:03 +08:00
committed by charles
parent 4b7334d278
commit 26c863fbfb
6 changed files with 51 additions and 25 deletions
+5
View File
@@ -148,6 +148,11 @@ export default {
flex-direction: column;
align-items: center;
box-sizing: border-box;
/* 兼容 iOS 11~12.1 */
padding-top:calc(80rpx + constant(safe-area-inset-top));
/* 主流写法,iOS 11+、Android 9+ 均支持 */
padding-top:calc(env(safe-area-inset-top) + 80rpx) ;
background-color: #fff;
.top-view{
width:100%;
min-height:150rpx;