mirror of
https://github.com/Zippland/worth-buying.git
synced 2026-01-19 01:21:11 +08:00
移除商品信息展示,优化评分结果布局
This commit is contained in:
15
page.tsx
15
page.tsx
@@ -694,21 +694,6 @@ const PurchaseDecisionCalculator = () => {
|
||||
{/* 总分显示 */}
|
||||
<div className={`${advice.color} rounded-lg p-6 text-white`}>
|
||||
<div className="text-center">
|
||||
{/* 商品信息 */}
|
||||
{(productName || productPrice) && (
|
||||
<div className="mb-4 pb-4 border-b border-white/20">
|
||||
<div className="text-lg font-medium opacity-90">
|
||||
{productName || '待评估商品'}
|
||||
</div>
|
||||
{productPrice && (
|
||||
<div className="text-2xl font-bold">
|
||||
¥{parseInt(productPrice).toLocaleString()}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* 评分结果 */}
|
||||
<div className="text-4xl font-bold mb-2">{calculateScore.toFixed(1)}</div>
|
||||
<div className="text-xl font-semibold mb-1">{advice.text}</div>
|
||||
<div className="text-sm opacity-90">{advice.desc}</div>
|
||||
|
||||
Reference in New Issue
Block a user