From c773c19b7273d28f51a0a35a889b0580ff425d0a Mon Sep 17 00:00:00 2001 From: haotool Date: Mon, 6 Jul 2026 13:34:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(ratewise):=20=E5=B9=B3=E6=9D=BF=20=E2=89=A5?= =?UTF-8?q?1024=20=E5=85=A9=E6=AC=84=E4=BD=88=E5=B1=80=E9=81=A9=E9=85=8D?= =?UTF-8?q?=EF=BC=88issue=20594=20=E4=BA=8C=E9=9A=8E=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 首頁換算器(v1/v2)lg 起轉兩欄 grid:左欄換算核心 28rem、右欄收藏與幣種列表;v2 keypad 常駐規格不變 - 隱私政策頁目錄於 lg 轉左側 sticky 錨點欄,正文閱讀寬度收斂 - 幣別 SEO 頁改 wide 容器+六段 IA 寬版排列:快速答案與 CTA 並排、全幅段落標 lg:col-span-2 - 金額頁常見金額互鏈改全幅:金額頁 grid 有第三個半欄子項(階梯表),奇數導致互鏈右側懸空 - 手機與 <1024px 佈局零變化(純 lg: class;前後截圖像素 diff AE=0) - 新增 issue 594 截圖矩陣 QA 腳本;SSG 非目標頁 13 頁零 diff、可見文字等價驗證通過 - 更新 002 獎懲記錄與 changeset(patch) 測試:vitest 全套 4062 passed、typecheck、build:ratewise、SSG 不變性、text-parity、六頁×五視口前後截圖 Co-authored-by: Cursor --- .changeset/tablet-two-column-layout.md | 5 ++ .../src/components/CurrencyLandingPage.tsx | 15 +++- .../currency/CommonAmountsSection.tsx | 10 ++- .../currency/CurrencyAnswerHero.tsx | 16 ++-- .../components/currency/HowToStepsSection.tsx | 3 +- .../currency/LocalInsightsSection.tsx | 3 +- .../currency/ProviderComparisonSection.tsx | 3 +- .../currency/RelatedGuidesSection.tsx | 3 +- .../src/config/design-tokens/layout.ts | 6 +- .../src/features/ratewise/RateWise.tsx | 10 +-- apps/ratewise/src/pages/Privacy.tsx | 30 ++++--- .../dev/002_development_reward_penalty_log.md | 7 +- scripts/qa/issue-594-screenshot-matrix.mjs | 83 +++++++++++++++++++ 13 files changed, 158 insertions(+), 36 deletions(-) create mode 100644 .changeset/tablet-two-column-layout.md create mode 100644 scripts/qa/issue-594-screenshot-matrix.mjs diff --git a/.changeset/tablet-two-column-layout.md b/.changeset/tablet-two-column-layout.md new file mode 100644 index 000000000..60997f34d --- /dev/null +++ b/.changeset/tablet-two-column-layout.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +平板與桌面(≥1024px)佈局改善:首頁換算器改兩欄(左欄換算核心、右欄常用貨幣與全部幣種)、隱私政策頁目錄轉左側錨點欄、幣別匯率頁六段內容轉寬版排列(快速答案與 CTA 並排、金額頁常見金額列表全幅),大幅減少寬視口留白;手機與直向平板佈局零變化。 diff --git a/apps/ratewise/src/components/CurrencyLandingPage.tsx b/apps/ratewise/src/components/CurrencyLandingPage.tsx index 6374f8271..a4e62b056 100644 --- a/apps/ratewise/src/components/CurrencyLandingPage.tsx +++ b/apps/ratewise/src/components/CurrencyLandingPage.tsx @@ -218,6 +218,7 @@ export function CurrencyLandingPage({ -
+ {/* #594 二階:≥1024px 六段 IA 轉寬版兩欄 grid(全幅段落標 lg:col-span-2);<1024px 佈局零變化。 */} +
{/* 1. Answer Hero:頁面身分+(金額頁換算結果)+快速答案+CTA。 */} )} + {/* 金額頁另有階梯表佔一半欄(與報價對比卡成對),互鏈改全幅避免奇數子項右側懸空。 */} {commonAmounts.length > 0 && ( - + 0 ? 'lg:col-span-2' : undefined} + /> )} {/* 4. 在地情境卡片組:匯率重點+旅遊提示+換匯管道比較。 */} @@ -296,7 +303,7 @@ export function CurrencyLandingPage({ {/* 5. FAQ 手風琴(E4 ContentFaqAccordion 範式)。 */} {faqEntries.length > 0 && ( -
+
{faqTitle}
@@ -306,7 +313,7 @@ export function CurrencyLandingPage({ {relatedGuides.length > 0 && } {/* Data Source Notice */} -