|
@@ -10,6 +10,19 @@ html, body, #app, uni-app, uni-page, uni-page-wrapper, uni-page-body {
|
|
|
overflow-x: clip;
|
|
overflow-x: clip;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+// iOS WebView 安全区:状态栏区域保持不被滚动内容覆盖,避免时间/Wi-Fi 等系统信息与页面叠加。
|
|
|
|
|
+body::before {
|
|
|
|
|
+ content: '';
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ right: 0;
|
|
|
|
|
+ left: 0;
|
|
|
|
|
+ z-index: 10000;
|
|
|
|
|
+ height: env(safe-area-inset-top, 0px);
|
|
|
|
|
+ pointer-events: none;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
page {
|
|
page {
|
|
|
min-height: 100%;
|
|
min-height: 100%;
|
|
|
background: #f3f6fa;
|
|
background: #f3f6fa;
|
|
@@ -54,7 +67,23 @@ button::after { border: 0; }
|
|
|
line-height: 84rpx;
|
|
line-height: 84rpx;
|
|
|
}
|
|
}
|
|
|
.primary-btn { color: #fff; background: linear-gradient(135deg, #123f68, #08264c); box-shadow: 0 10rpx 24rpx rgba(8, 38, 76, .22); }
|
|
.primary-btn { color: #fff; background: linear-gradient(135deg, #123f68, #08264c); box-shadow: 0 10rpx 24rpx rgba(8, 38, 76, .22); }
|
|
|
-.ghost-btn { color: #4e6075; background: #fff; border: 1rpx solid #dbe3ec; }
|
|
|
|
|
|
|
+.ghost-btn { color: #4e6075; background: #fff; border: 1rpx solid #d7e0e9; }
|
|
|
|
|
+
|
|
|
|
|
+// 白底取消按钮统一采用“退出登录”按钮的边框处理,避免 iOS 原生 button 外观遮住圆角两侧边框。
|
|
|
|
|
+button.ghost-btn,
|
|
|
|
|
+button.cancel {
|
|
|
|
|
+ border: 1rpx solid #d7e0e9;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ -webkit-appearance: none;
|
|
|
|
|
+ appearance: none;
|
|
|
|
|
+}
|
|
|
|
|
+button.ghost-btn::after,
|
|
|
|
|
+button.cancel::after {
|
|
|
|
|
+ border: 0 !important;
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
+}
|
|
|
.two-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20rpx; margin-top: 30rpx; }
|
|
.two-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20rpx; margin-top: 30rpx; }
|
|
|
.status-pill {
|
|
.status-pill {
|
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
@@ -75,3 +104,17 @@ button::after { border: 0; }
|
|
|
.status-pill.gray { color: #718096; background: #eef2f6; }
|
|
.status-pill.gray { color: #718096; background: #eef2f6; }
|
|
|
.status-pill.purple { color: #7057c7; background: #f0edff; }
|
|
.status-pill.purple { color: #7057c7; background: #f0edff; }
|
|
|
.empty-safe { height: env(safe-area-inset-bottom); }
|
|
.empty-safe { height: env(safe-area-inset-bottom); }
|
|
|
|
|
+
|
|
|
|
|
+// H5 TabBar 在 iPhone 底部安全区内需要额外高度,否则 safe-area padding 会挤压文字,首屏只显示图标。
|
|
|
|
|
+.uni-tabbar-bottom .uni-tabbar {
|
|
|
|
|
+ height: calc(56px + constant(safe-area-inset-bottom)) !important;
|
|
|
|
|
+ height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
|
|
|
|
|
+ min-height: calc(56px + constant(safe-area-inset-bottom)) !important;
|
|
|
|
|
+ min-height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
|
|
|
|
|
+ padding-bottom: constant(safe-area-inset-bottom) !important;
|
|
|
|
|
+ padding-bottom: env(safe-area-inset-bottom, 0px) !important;
|
|
|
|
|
+}
|
|
|
|
|
+.uni-tabbar-bottom .uni-tabbar__item {
|
|
|
|
|
+ height: 56px;
|
|
|
|
|
+ min-height: 56px;
|
|
|
|
|
+}
|