Files
sexygoat b611808316
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 1m48s
fix: 优化换货
2026-05-14 12:14:05 +08:00

1.4 KiB

1. Device Exchange Shipping Entry

  • 1.1 Add element-china-area-data and integrate province/city/district selection into pages/device-exchange/device-exchange.vue
  • 1.2 Replace the single shipping-address input with structured region selection plus a separate detailed-address input
  • 1.3 Add a pasted shipping-info input and parse recipient name, recipient phone, and address content into editable form fields
  • 1.4 Compose the selected region text and detailed address into recipient_address when submitting /api/c/v1/exchange/{id}/shipping-info
  • 1.5 Preserve edit compatibility for previously saved combined addresses

2. Homepage ICCID Summary

  • 2.1 Read data.iccid from assetApi.getInfo(identifier) into homepage state
  • 2.2 Render ICCID above the package name in components/UserInfoCard.vue
  • 2.3 Show a stable fallback when data.iccid is absent

3. Regression Verification

  • 3.1 Verify the device exchange popup blocks submission when region selection or detailed address is incomplete
  • 3.2 Verify a pasted shipping string can prefill recipient name, phone number, and address with manual correction still available
  • 3.3 Verify the exchange shipping submit payload remains compatible with the existing backend contract
  • 3.4 Verify the homepage top summary shows ICCID from /api/c/v1/asset/info above the package name