feat: 更新 page-container 组件,重命名导航栏相关属性并添加背景色和底部安全区适配功能
This commit is contained in:
@@ -7,6 +7,13 @@
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
background-color: var(--pg-container-bg-color);
|
||||
|
||||
// 预留安全区
|
||||
&--safe {
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
}
|
||||
|
||||
.page-container__content {
|
||||
|
||||
Reference in New Issue
Block a user