自定义title

This commit is contained in:
2025-10-17 10:11:36 +08:00
parent 54ac130e37
commit ac2c9571e7
22 changed files with 863 additions and 298 deletions

View File

@@ -7,6 +7,50 @@
overflow: hidden;
box-sizing: border-box;
.custom-navbar {
height: 56px;
/* 通常与原生导航栏高度一致 */
display: flex;
align-items: center;
justify-content: center;
// background-color: #fff;
color: #000;
padding-top: 44px;
/* 适配状态栏 */
position: sticky;
top: 0;
z-index: 100;
background-color: #f5f5f5;
}
.detail-navigator {
height: 30px;
width: fit-content;
border-radius: 15px;
position: absolute;
left: 12px;
box-sizing: border-box;
display: flex;
align-items: center;
.detail-navigator-back {
height: 32px;
display: flex;
justify-content: center;
align-items: center;
font-family: PingFang SC;
font-weight: 600;
font-style: Semibold;
font-size: 20px;
letter-spacing: 0.38px;
& > .detail-navigator-back-icon {
width: 32px;
height: 32px;
}
}
}
.hint_content {
font-family: PingFang SC;
font-weight: 400;
@@ -81,7 +125,7 @@
border-radius: 20px;
padding: 4px 8px;
&+.option_button {
& + .option_button {
margin-left: 12px;
}
@@ -136,7 +180,7 @@
line-height: normal;
&.disabled {
color: rgba(255, 255, 255, 0.30);
color: rgba(255, 255, 255, 0.3);
}
}
}
@@ -144,7 +188,6 @@
// 过滤弹窗
.filter_popup {
.popup_content {
padding: 16px 20px;
.form_section {
@@ -166,7 +209,7 @@
gap: 8px;
.option_item {
background-color: #0000000D;
background-color: #0000000d;
text-align: center;
padding: 8px;
border-radius: 4px;
@@ -180,4 +223,4 @@
}
}
}
}
}