This commit is contained in:
张成
2025-11-14 23:43:51 +08:00
parent 0cf5acde1e
commit 53673a41b1
7 changed files with 8 additions and 8 deletions

View File

@@ -83,7 +83,6 @@ function SharePoster(props) {
<>
<GeneralNavbar
title="生成分享图"
backgroundColor="transparent"
className={styles.navbar}
/>
{url && (

View File

@@ -267,7 +267,6 @@ const OrderList = () => {
>
<GeneralNavbar
title="订单列表"
backgroundColor="#FAFAFA"
titlePosition="left"
titleClassName={styles.titleClassName}
className={styles.navbar}

View File

@@ -127,9 +127,14 @@ const MainPage: React.FC = () => {
/>
);
} else if (currentTab === "message") {
// 消息页:使用 GeneralNavbar与原始消息页一致只传递 title
// 消息页:使用 GeneralNavbar与原始消息页一致显示用户头像和标题
return (
<GeneralNavbar title="消息" />
<GeneralNavbar
title="消息"
titlePosition="left"
showBack={false}
showAvatar={true}
/>
);
} else if (currentTab === "personal") {
// 我的页:使用 GeneralNavbar 显示标题

View File

@@ -613,7 +613,7 @@ useEffect(() => {
}
return (
<View className={`${styles['publish-ball-container']} ${isKeyboardVisible && shouldReactToKeyboard ? styles['publish-ball-container-keyboard'] : ''}`} style={{ bottom: isKeyboardVisible && shouldReactToKeyboard ? `${keyboardHeight - 124}px` : 0 }}>
<GeneralNavbar title={titleBar} backgroundColor="#FAFAFA" className={styles['publish-ball-navbar']} />
<GeneralNavbar title={titleBar} className={styles['publish-ball-navbar']} />
<View className={styles['publish-ball']} style={{ paddingTop: `${statusNavbarHeightInfo.totalHeight}px` }}>
{/* 活动类型切换 */}
{/* <View className={styles['activity-type-switch']}>

View File

@@ -370,7 +370,6 @@ const EditProfilePage: React.FC = () => {
title=""
showBack={true}
showAvatar={false}
backgroundColor="transparent"
onBack={() => {
Taro.navigateBack();
}}

View File

@@ -238,7 +238,6 @@ const FollowPage: React.FC = () => {
<GeneralNavbar
title="粉丝"
titlePosition="left"
backgroundColor="#FAFAFA"
showBack={true}
/>

View File

@@ -232,7 +232,6 @@ const OtherUserPage: React.FC = () => {
title=""
showBack={true}
showAvatar={false}
backgroundColor="transparent"
onBack={() => {
Taro.navigateBack();
}}