Skip to content

Let's use AI to Earn!

youhua

bulaienaofutuojiesenzhangcb7f9e83cd29
diff --git a/src/app/[lng]/interactive/page.tsx b/src/app/[lng]/interactive/page.tsx
index a4046abc..14201c77 100644
--- a/src/app/[lng]/interactive/page.tsx
+++ b/src/app/[lng]/interactive/page.tsx
@@ -394,6 +394,14 @@ export default function InteractivePage() {
);
}}
/>
+ {commentsCursor?.after && (
+ <div
+ style={{ textAlign: 'center', marginTop: 10, color: '#1677ff', cursor: 'pointer' }}
+ onClick={() => !commentLoading && loadCommentsV2(commentPost!.postId, undefined, commentsCursor?.after)}
+ >
+ {commentLoading ? '加载中…' : '加载更多评论'}
+ </div>
+ )}
<div style={{ display: 'flex', gap: 8, marginTop: 12 }}>
<Input.TextArea
ref={replyInputRef}
@@ -409,9 +417,6 @@ export default function InteractivePage() {
发送
</Button>
</div>
- <div style={{ display: 'flex', justifyContent: 'center', marginTop: 10 }}>
- <Button onClick={() => loadCommentsV2(commentPost!.postId, undefined, commentsCursor?.after)} loading={commentLoading} disabled={!commentsCursor?.after}>加载更多评论</Button>
- </div>
</Modal>
</div>
</div>