fix: 问题修复

This commit is contained in:
2025-11-15 19:08:19 +08:00
parent 93f08d5a9f
commit 79b2e9869f
24 changed files with 872 additions and 529 deletions

View File

@@ -1,8 +1,7 @@
.detail-page {
width: 100%;
height: 100%;
// background-color: #FAFAFA;
// padding-bottom: env(safe-area-inset-bottom);
position: relative;
.custom-navbar {
height: 56px; /* 通常与原生导航栏高度一致 */
@@ -11,43 +10,55 @@
justify-content: center;
// background-color: #fff;
color: #000;
padding-top: 44px; /* 适配状态栏 */
position: sticky;
// padding-top: 44px; /* 适配状态栏 */
position: fixed;
width: 100%;
top: 0;
box-sizing: border-box;
z-index: 100;
overflow: hidden;
background-color: rgba(0, 0, 0, 0.2);
border-bottom: 1px solid transparent;
transition: background 0.25s ease, backdrop-filter 0.25s ease;
&.glass {
background: rgba(0, 0, 0, 0.2);
box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.25) inset;
backdrop-filter: blur(6px);
border-color: rgba(0, 0, 0, 0.1);
}
}
.detail-navigator {
height: 30px;
height: 40px;
width: 80px;
border-radius: 15px;
position: absolute;
left: 12px;
border: 1px solid #888;
// border: 1px solid #888;
box-sizing: border-box;
color: #fff;
display: flex;
align-items: center;
background: rgba(0, 0, 0, 0.1);
// background: rgba(0, 0, 0, 0.1);
.detail-navigator-back {
border-right: 1px solid #444;
}
// .detail-navigator-back {
// border-right: 1px solid #444;
// }
.detail-navigator-back,
.detail-navigator-icon {
height: 20px;
width: 50%;
height: 100%;
width: 100%;
display: flex;
justify-content: center;
justify-content: flex-start;
align-items: center;
& > .detail-navigator-back-icon {
width: 20px;
height: 20px;
width: 16px;
height: 16px;
color: #fff;
margin-left: 8px;
}
& > .detail-navigator-logo-icon {