diff --git a/src/app/article/components/Summary/index.scss b/src/app/article/components/Summary/index.scss index e619f0f..6527f1a 100644 --- a/src/app/article/components/Summary/index.scss +++ b/src/app/article/components/Summary/index.scss @@ -2,7 +2,7 @@ border-radius: 12px; padding: 12px; border: 1px solid; - margin: 8px 0 16px; + margin: 8px 0 40px; transition: all 0.3s ease; :root & { diff --git a/src/app/article/components/Summary/index.tsx b/src/app/article/components/Summary/index.tsx index 85823e2..51a3d2e 100644 --- a/src/app/article/components/Summary/index.tsx +++ b/src/app/article/components/Summary/index.tsx @@ -32,34 +32,33 @@ export default function Summary({ content }: SummaryProps) { }, [currentIndex, content]); return ( -
+
-
文章摘要
+
AI总结
+
- ThriveGPT -
+ onClick={handleThriveGPTClick} + >ThriveX GPT
+
{displayText} {currentIndex < content.length && |}
+ {showSuggestions && (
{suggestions.map((item, index) => (
- {item} -
+ // TODO: 添加点击处理逻辑 + >{item}
))}
)} diff --git a/src/components/ArticleLayout/index.tsx b/src/components/ArticleLayout/index.tsx index 258eb70..bb619c7 100755 --- a/src/components/ArticleLayout/index.tsx +++ b/src/components/ArticleLayout/index.tsx @@ -15,8 +15,6 @@ import { getSwiperListAPI } from '@/api/swiper' export default async ({ page }: { page: number }) => { const { data: swiper } = await getSwiperListAPI() || { data: [] as SwiperType[] } const { data: theme } = await getConfigDataAPI("layout") || { data: {} as Theme } - console.log(333, theme); - const sidebar: string[] = theme?.right_sidebar && JSON.parse(theme?.right_sidebar) // 如果是瀑布流布局就显示28条数据,否则显示8条