From 64f507c1a8612a5ed2d11e76ca30473911531b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E5=A4=A7?= Date: Fri, 20 Mar 2026 22:02:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20OCR=E4=B8=B4=E6=97=B6=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=A4=A7=E5=B0=8F=E5=86=99=E6=89=A9=E5=B1=95?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/VERSION | 6 +++--- frontend/index.html | 2 +- frontend/src/pages/List.jsx | 30 +++++++++++++++--------------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/config/VERSION b/config/VERSION index 836cb15..8bdea5f 100644 --- a/config/VERSION +++ b/config/VERSION @@ -1,4 +1,4 @@ -VERSION=1.2.3 -VERSION_CODENAME="字体优化版本" +VERSION=1.2.2 +VERSION_CODENAME="列表优化版本" RELEASE_DATE=2026-03-20 -VERSION_NOTES="藏品列表字体调大,提升可读性" +VERSION_NOTES="藏品列表布局优化 - 3行显示,颜色配置完善" diff --git a/frontend/index.html b/frontend/index.html index d5d59bb..767c9e5 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - 甲辰收藏 v1.2.3 + 甲辰收藏 v1.2.1 diff --git a/frontend/src/pages/List.jsx b/frontend/src/pages/List.jsx index 7191e1a..12bb114 100644 --- a/frontend/src/pages/List.jsx +++ b/frontend/src/pages/List.jsx @@ -364,30 +364,30 @@ export default function List() { {/* 第1行:编号 + 冠字号 + 包装(蓝色) | 状态 + 持仓类型 + 珍惜度(紫色) */}
- {item.code || '-'} - {item.prefixSerial || '-'} - {item.packaging && {item.packaging}} + {item.code || '-'} + {item.prefixSerial || '-'} + {item.packaging && {item.packaging}}
- {item.status && {getStatusText(item.status)}} - {item.category && {getCategoryText(item.category)}} - {item.rarity && {item.rarity}} + {item.status && {getStatusText(item.status)}} + {item.category && {getCategoryText(item.category)}} + {item.rarity && {item.rarity}}
{/* 第2行:版本(彩色) + 已评级 + 评级公司 + 评级分数 + 三星 + 特殊标识 | 备注 */}
- {item.version && {item.version}} - {item.isGraded && 已评级} - {item.gradingCompany && {item.gradingCompany.substring(0,4)}} - {item.gradingScore && {item.gradingScore}} - {item.threeStar && 三星} - {item.specialMark && {item.specialMark}} + {item.version && {item.version}} + {item.isGraded && 已评级} + {item.gradingCompany && {item.gradingCompany.substring(0,4)}} + {item.gradingScore && {item.gradingScore}} + {item.threeStar && 三星} + {item.specialMark && {item.specialMark}}
- {item.remark && {item.remark}} + {item.remark && {item.remark}}
{/* 第3行:成本 + 修复 + 评级 | 目标 + 出售 */} -
+
{item.costPrice && 成本: ¥{item.costPrice}} {item.repairFee && 修复: ¥{item.repairFee}} @@ -526,7 +526,7 @@ export default function List() {
{item.prefixSerial || '-'}
{item.gradingScore && {item.gradingScore}} - {item.threeStar && ⭐⭐⭐} + {item.threeStar && ⭐⭐⭐}
))}