添加反馈入口 #8

Merged
kdletters merged 8 commits from hermes/hermes-19e77eb0 into master 2026-05-08 14:43:07 +08:00
Showing only changes of commit 424e75a922 - Show all commits

View File

@@ -134,6 +134,7 @@ export interface RpgEntryHomeViewProps {
profilePlayStatsError?: string | null;
onCloseProfilePlayStats?: () => void;
onOpenPlayedWork?: (work: ProfilePlayedWorkSummary) => void;
onOpenFeedback?: () => void;
onRechargeSuccess?: () => void | Promise<void>;
createTabContent?: ReactNode;
}
@@ -2679,6 +2680,7 @@ export function RpgEntryHomeView({
profilePlayStatsError = null,
onCloseProfilePlayStats,
onOpenPlayedWork,
onOpenFeedback,
onRechargeSuccess,
createTabContent,
}: RpgEntryHomeViewProps) {
@@ -3996,6 +3998,12 @@ export function RpgEntryHomeView({
icon={MessageCircle}
onClick={() => openProfilePopupPanel('community')}
/>
<ProfileShortcutButton
label="反馈"
subLabel="问题与建议"
icon={MessageCircle}
onClick={onOpenFeedback}
/>
</div>
</section>