From 0fdbfe0045d4cc288b33f5899cc9f0c4b475d58e Mon Sep 17 00:00:00 2001 From: zihanjian Date: Mon, 9 Jun 2025 13:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=96=AA=E8=B5=84=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E5=99=A8=E4=B8=AD=E7=9A=84=E8=96=AA=E8=B5=84=E5=80=8D?= =?UTF-8?q?=E6=95=B0=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91=EF=BC=8C=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E4=BA=86=E5=B7=A5=E4=BD=9C=E5=8D=95=E4=BD=8D=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AF=B9=E8=96=AA=E8=B5=84=E5=A2=9E=E9=95=BF=E7=9A=84?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E7=B3=BB=E6=95=B0=EF=BC=8C=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=BA=86=E5=88=86=E4=BA=AB=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=B9=BF=E5=91=8A=E5=8D=95=E5=85=83=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E5=8D=87=E4=BA=86=E7=BB=84=E4=BB=B6=E7=9A=84=E6=95=B4?= =?UTF-8?q?=E6=B4=81=E6=80=A7=E5=92=8C=E5=8F=AF=E8=AF=BB=E6=80=A7=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ShareCard.tsx | 76 ++++++++++++++------------------------- components/calculator.tsx | 63 +++++++++++++------------------- 2 files changed, 51 insertions(+), 88 deletions(-) diff --git a/components/ShareCard.tsx b/components/ShareCard.tsx index 38124fc..ac0015d 100644 --- a/components/ShareCard.tsx +++ b/components/ShareCard.tsx @@ -651,58 +651,36 @@ const ShareCard: React.FC = (props) => { {/* 性价比评语卡片 - 移动端更紧凑 */}
{isClient && personalizedComments.map((comment, index) => ( - -
-
-
{comment.emoji}
-
-

{comment.title}

-

{comment.content}

- - {/* 用户选项详情 - 移动端使用行内排列 */} - {comment.details && comment.details.length > 0 && ( -
-
- {comment.details.map((detail, i) => ( - isMobile ? ( -
- {detail.label}: - {detail.value} -
- ) : ( -
- {detail.label} - {detail.value} -
- ) - ))} -
+
+
+
{comment.emoji}
+
+

{comment.title}

+

{comment.content}

+ + {/* 用户选项详情 - 移动端使用行内排列 */} + {comment.details && comment.details.length > 0 && ( +
+
+ {comment.details.map((detail, i) => ( + isMobile ? ( +
+ {detail.label}: + {detail.value} +
+ ) : ( +
+ {detail.label} + {detail.value} +
+ ) + ))}
- )} -
+
+ )}
- - {/* 在第2个评语卡片后插入广告 */} - {index === 1 && ( - <> - {/* Google AdSense 广告单元 */} -
- -
-