You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.5 KiB

支付宝前端 - 任务计划

所属智能体: frontend-dev 状态: pending 创建: 2026-04-14

目标

实现支付宝当面付的前端功能,包括管理后台设置页、用户充值页改造、二维码模态框重构。

详细步骤

涉及文件

  • web/src/components/topup/WechatPayQRCodeModal.jsx — 重构为通用模态框
  • web/src/pages/Setting/Payment/SettingsPaymentGatewayAlipay.jsx — 新建
  • web/src/components/settings/PaymentSetting.jsx — 修改
  • web/src/components/topup/index.jsx — 修改
  • web/src/components/topup/RechargeCard.jsx — 修改(最小)
  • web/src/i18n/locales/en.json — 修改(翻译)

关键技术点

  • QRCodePayModal 需要兼容微信和支付宝两种场景
  • 支付宝轮询 API: /api/user/alipay/pay/status
  • 支付宝创建订单 API: POST /api/user/alipay/pay
  • 支付宝图标 SiAlipay 已存在于 RechargeCard.jsx
  • i18n key 遵循现有命名规范