dapaijizhang3/components/navbar/navbar.wxss

64 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2025-11-20 16:42:59 +08:00
/* 自定义导航栏样式 */
.custom-navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: 9999;
background: linear-gradient(135deg, #1A1A1A 0%, #252525 100%);
border-bottom: 1rpx solid rgba(212, 175, 55, 0.2);
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.8);
}
/* 返回按钮 */
.nav-back-btn {
position: fixed;
left: 20rpx;
display: flex;
align-items: center;
justify-content: center;
gap: 8rpx;
padding: 0 24rpx;
background: rgba(212, 175, 55, 0.15);
border: 1rpx solid rgba(212, 175, 55, 0.3);
border-radius: 50rpx;
backdrop-filter: blur(10rpx);
z-index: 10000;
}
.back-icon {
font-size: 32rpx;
color: white;
font-weight: bold;
line-height: 1;
}
.back-text {
font-size: 28rpx;
color: white;
line-height: 1;
}
/* 标题区域 */
.nav-title-wrap {
position: fixed;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 9998;
}
.nav-title {
font-size: 34rpx;
font-weight: bold;
color: #F4E6C3;
max-width: 60%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}