优化:API配置支持同站部署和安全区域适配

This commit is contained in:
2026-01-30 13:47:57 +08:00
parent 520b9e93bd
commit 027db84a25
5 changed files with 25 additions and 31 deletions

View File

@@ -15,7 +15,7 @@ body {
.basic-info-container {
min-height: 100vh;
padding: 16px;
padding-bottom: 100px;
padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px));
}
/* 顶部卡片 */
@@ -547,14 +547,13 @@ body {
transform: scale(0.98);
}
/* 底部按钮 */
/* 底部按钮:贴底并预留安全区,避免被系统栏/手势区遮挡 */
.button-section {
position: fixed;
bottom: 20px;
bottom: 0;
left: 0;
width: 100%;
padding: 16px;
padding-bottom: calc(8px + env(safe-area-inset-bottom));
padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
background-color: #fff;
box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.08);
z-index: 100;