+
{/* 热门推荐 */}
diff --git a/src/components/Comment/Comment.tsx b/src/components/Comment/Comment.tsx
new file mode 100644
index 0000000..1d5e76e
--- /dev/null
+++ b/src/components/Comment/Comment.tsx
@@ -0,0 +1,23 @@
+import { CommentForm, CommentHeader, CommentList } from '@/components';
+
+export default function Comment({
+ commentList,
+ className,
+ totalCommentReply,
+}: {
+ commentList: any;
+ className?: string;
+ totalCommentReply: number;
+}) {
+ return (
+
+
+ {!!totalCommentReply && (
+ <>
+
+
+ >
+ )}
+
+ );
+}
diff --git a/src/components/Comment/CommentForm.tsx b/src/components/Comment/CommentForm.tsx
new file mode 100644
index 0000000..590a6a5
--- /dev/null
+++ b/src/components/Comment/CommentForm.tsx
@@ -0,0 +1,3 @@
+export default function CommentItem() {
+ return
;
+}
diff --git a/src/components/Comment/CommentHeader.tsx b/src/components/Comment/CommentHeader.tsx
new file mode 100644
index 0000000..5336992
--- /dev/null
+++ b/src/components/Comment/CommentHeader.tsx
@@ -0,0 +1,16 @@
+export default function CommentHeader({ count }: { count: number }) {
+ return (
+
+ );
+}
diff --git a/src/components/Comment/CommentItem.tsx b/src/components/Comment/CommentItem.tsx
new file mode 100644
index 0000000..590a6a5
--- /dev/null
+++ b/src/components/Comment/CommentItem.tsx
@@ -0,0 +1,3 @@
+export default function CommentItem() {
+ return
;
+}
diff --git a/src/components/Comment/CommentList.tsx b/src/components/Comment/CommentList.tsx
new file mode 100644
index 0000000..a1ba10e
--- /dev/null
+++ b/src/components/Comment/CommentList.tsx
@@ -0,0 +1,3 @@
+export default function CommentList({ commentList }: { commentList: Comment[] }) {
+ return
;
+}
diff --git a/src/components/Journal/HotJournalCard.tsx b/src/components/Journal/HotJournalCard.tsx
index 7dadd09..5ce74a7 100644
--- a/src/components/Journal/HotJournalCard.tsx
+++ b/src/components/Journal/HotJournalCard.tsx
@@ -1,15 +1,18 @@
import Image from 'next/image';
+import Link from 'next/link';
-export default function JournalItem({ title, image, totalCommentReply }: JournalInfo) {
+export default function JournalItem({ title, image, totalCommentReply, journalNo }: JournalInfo) {
return (
-
+
+
{' '}
+
-
+
{title}
-
{`${totalCommentReply}人收藏`}
+
{`${totalCommentReply}人收藏`}
);
diff --git a/src/components/Journal/HotJournalList.tsx b/src/components/Journal/HotJournalList.tsx
index a1f96eb..b0d815b 100644
--- a/src/components/Journal/HotJournalList.tsx
+++ b/src/components/Journal/HotJournalList.tsx
@@ -27,12 +27,7 @@ const RecommondJournal = async (prop: any) => {
{/* 期刊 list */}
- {journalList?.length &&
- journalList.map((item: JournalInfo) => (
-
-
-
- ))}
+ {journalList?.length && journalList.map((item: JournalInfo) => )}
);
diff --git a/src/components/Journal/JournalItem.tsx b/src/components/Journal/JournalItem.tsx
index 63b5346..338a1de 100644
--- a/src/components/Journal/JournalItem.tsx
+++ b/src/components/Journal/JournalItem.tsx
@@ -13,12 +13,12 @@ export default function JournalItem({
commentList,
}: JournalInfo) {
return (
-