diff --git a/apps/blogai/components/article/card.tsx b/apps/blogai/components/article/card.tsx index d076b4d..c03cc42 100644 --- a/apps/blogai/components/article/card.tsx +++ b/apps/blogai/components/article/card.tsx @@ -41,7 +41,11 @@ export const Card: React.FC = (articleData) => { className="cursor-pointer rounded border border-[#243c5a] overflow-hidden" > -
= (articleData) => { } alt={articleData.main_title} style={{ width: '100%', marginBottom: '8px' }} /> - - - {/* 只在 model_parameter 无效时显示感叹号 */} {(!articleData.model_parameter) && (
= (articleData) => { justifyContent: 'center', fontWeight: 'bold', fontSize: '16px', - zIndex: 2, // 保证盖在图片上面 + zIndex: 2, }}> !
)} +
*/} +
+
+ {articleData.main_title} - + {/* 🔥 只有当 model_parameter 没有值时显示叹号 */} + {(!articleData.model_parameter) && ( +
+ ! +
+ )} +
+ + + +