refactor: 将page-container重命名为root-page-layout

将page-container组件重命名为root-page-layout,并更新所有文档中的引用,以更好地反映其作为页面根布局的角色。已更新AGENTS.md、README.md中的引用,并相应重命名了组件使用指南。
This commit is contained in:
熊熊熊子路 committed 2026-07-31 11:59:34 +08:00
1 parent 3f75ab4ef6
commit 11c6fb21cd
11 files changed
+46 -46

No files matched your search

@@ -0,0 +1,26 @@
/* components/root-page-layout/root-page-layout.wxss */
.root-page-layout {
width: 100%;
min-height: 100vh;
display: flex;
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);
}
}
.root-page-layout__content {
flex: 1;
width: 100%;
box-sizing: border-box;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}