修复 导航栏 高度的问题

This commit is contained in:
张成
2025-10-28 18:32:44 +08:00
parent f74851dbe0
commit c485c7fd64
8 changed files with 150 additions and 74 deletions

View File

@@ -1,7 +1,7 @@
import { useState, useEffect } from "react";
import { View, Text, ScrollView, Image, Input } from "@tarojs/components";
import { Avatar } from "@nutui/nutui-react-taro";
import { withAuth, EmptyState } from "@/components";
import { withAuth, EmptyState, BackNavbar } from "@/components";
import commentService, { CommentActivity } from "@/services/commentService";
import { formatShortRelativeTime } from "@/utils/timeUtils";
import Taro from "@tarojs/taro";
@@ -285,14 +285,12 @@ const CommentReply = () => {
return (
<View className="comment-reply-container">
{/* 顶部导航栏 */}
<View className="navbar">
<View className="navbar-content">
<View className="back-button" onClick={handleBack}>
<View className="back-icon"></View>
</View>
<Text className="navbar-title"></Text>
</View>
</View>
<BackNavbar
title="收到的评论和回复"
showBackButton={true}
showAvatar={false}
onBack={handleBack}
/>
{/* 评论列表 */}
<ScrollView