.detail-page { width: 100%; height: 100%; position: relative; .custom-navbar { height: 56px; /* 通常与原生导航栏高度一致 */ display: flex; align-items: center; justify-content: center; // background-color: #fff; color: #000; // padding-top: 44px; /* 适配状态栏 */ position: fixed; width: 100%; top: 0; box-sizing: border-box; z-index: 100; overflow: hidden; 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: 40px; width: 80px; border-radius: 15px; position: absolute; left: 12px; // border: 1px solid #888; box-sizing: border-box; color: #fff; display: flex; align-items: center; // background: rgba(0, 0, 0, 0.1); // .detail-navigator-back { // border-right: 1px solid #444; // } .detail-navigator-back, .detail-navigator-icon { height: 100%; width: 100%; display: flex; justify-content: flex-start; align-items: center; & > .detail-navigator-back-icon { width: 16px; height: 16px; color: #fff; margin-left: 8px; } & > .detail-navigator-logo-icon { width: 20px; height: 20px; color: #fff; } } } .detail-page-bg { width: 100%; height: 100%; position: fixed; left: 0; top: 0; background-size: cover; // filter: blur(40px); // transform: scale(1.5); z-index: -2; // width: calc(100% + 20px); // height: calc(100% + 20px); // margin: -10px; width: 100vw; height: 100vh; &::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: linear-gradient( 180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100% ); backdrop-filter: blur(100px); } } .detail-page-content { &-title { padding: 20px 20px 0; box-sizing: border-box; &-text { overflow: hidden; color: #fff; font-feature-settings: "liga" off, "clig" off; text-overflow: ellipsis; font-family: "PingFang SC"; font-size: 22px; font-style: normal; font-weight: 600; line-height: 32px; /* 145.455% */ } } } }