This commit is contained in:
张成
2025-11-14 23:14:18 +08:00
parent 0adab95d34
commit 1226350099
24 changed files with 95 additions and 386 deletions

View File

@@ -1,6 +1,6 @@
import { useState, useEffect } from "react";
import { View, Text, ScrollView, Image, Input } from "@tarojs/components";
import { withAuth, EmptyState, BackNavbar } from "@/components";
import { withAuth, EmptyState, GeneralNavbar } from "@/components";
import commentService, { CommentActivity } from "@/services/commentService";
import { formatShortRelativeTime } from "@/utils/timeUtils";
import Taro from "@tarojs/taro";
@@ -284,9 +284,9 @@ const CommentReply = () => {
return (
<View className="comment-reply-container">
{/* 顶部导航栏 */}
<BackNavbar
title="收到的评论和回复"
showBackButton={true}
<GeneralNavbar
title="收到的评论和回复"
showBack={true}
showAvatar={false}
onBack={handleBack}
/>

View File

@@ -1,7 +1,7 @@
import { useState, useEffect } from "react";
import { View, Text, Image, ScrollView } from "@tarojs/components";
import GuideBar from "@/components/GuideBar";
import { withAuth, EmptyState, BackNavbar } from "@/components";
import { withAuth, EmptyState, GeneralNavbar } from "@/components";
import noticeService from "@/services/noticeService";
import { formatRelativeTime } from "@/utils/timeUtils";
import Taro from "@tarojs/taro";
@@ -132,7 +132,7 @@ const Message = () => {
return (
<View className="message-container">
{/* 顶部导航栏 */}
<BackNavbar title="消息" />
<GeneralNavbar title="消息" showBack={false} showAvatar={true} />
{/* 分类标签 */}
<View className="category-tabs">

View File

@@ -1,6 +1,6 @@
import { useState, useEffect } from "react";
import { View, Text, ScrollView, Image } from "@tarojs/components";
import { withAuth, EmptyState, BackNavbar } from "@/components";
import { withAuth, EmptyState, GeneralNavbar } from "@/components";
import FollowService from "@/services/followService";
import { formatShortRelativeTime } from "@/utils/timeUtils";
import Taro from "@tarojs/taro";
@@ -200,9 +200,9 @@ const NewFollow = () => {
return (
<View className="new-follow-container">
{/* 顶部导航栏 */}
<BackNavbar
title="新增关注"
showBackButton={true}
<GeneralNavbar
title="新增关注"
showBack={true}
showAvatar={false}
onBack={handleBack}
/>