2026-01-16 15:54:25 +08:00
|
|
|
/* components/page-container/page-container.wxss */
|
|
|
|
|
|
|
|
|
|
.page-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
position: relative;
|
|
|
|
|
box-sizing: border-box;
|
2026-02-09 16:06:18 +08:00
|
|
|
background-color: var(--pg-container-bg-color);
|
|
|
|
|
|
|
|
|
|
// 预留安全区
|
|
|
|
|
&--safe {
|
|
|
|
|
padding-bottom: constant(safe-area-inset-bottom);
|
|
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
|
|
}
|
2026-01-16 15:54:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.page-container__content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
overflow-y: auto;
|
2026-02-09 15:25:05 +08:00
|
|
|
overflow-x: hidden;
|
2026-01-16 15:54:25 +08:00
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
}
|