diff --git a/src/pages/ProcessDetailPage.tsx b/src/pages/ProcessDetailPage.tsx index 0eab0ec..ffea65b 100644 --- a/src/pages/ProcessDetailPage.tsx +++ b/src/pages/ProcessDetailPage.tsx @@ -14,6 +14,7 @@ interface PracticeItem { section: IttoSection name: string normalizedAnswer: string + originalData: any // 保留原始数据(包含 detail、nameEn、note) } const STORAGE_KEY = 'ittoview:process-detail:itto-visibility' @@ -75,6 +76,7 @@ export function ProcessDetailPage() { section, name, normalizedAnswer: normalizeAnswer(name, false), + originalData: d, // 保留原始数据 } }) } @@ -736,6 +738,8 @@ function PracticeList({ {items.map((item) => { const isAnswered = answeredItems.has(item.id) const isCurrent = item.id === currentPracticeId + const data = item.originalData + const hasDetail = data?.detail && data.detail.length > 0 return (
  • @@ -753,9 +757,31 @@ function PracticeList({ onPointerCancel={isCurrent ? onLongPressEnd : undefined} > {isAnswered ? ( -
    - {item.name} - +
    +
    + {item.name} + +
    + {data?.nameEn && ( +
    + {data.nameEn} +
    + )} + {hasDetail && ( +
    + {data.detail.map((detailItem: any, idx: number) => ( + + {detailItem.label} + {idx < data.detail.length - 1 && '、'} + + ))} +
    + )} + {data?.note && ( +
    + 💡 {data.note} +
    + )}
    ) : isCurrent && showAnswer ? (