refactor(components): 重构 SimpleQRCodeModal 组件

- 移除了未使用的 QRCodeGenerator 组件
- 在 SimpleQRCodeModal组件中添加了礼品卡名称和面值的显示
- 更新了 SimpleQRCodeModal 的样式,使其更加居中
- 在 gift/detail.tsx 中传递了礼品卡名称和面值给 SimpleQRCodeModal
This commit is contained in:
2025-08-17 12:25:43 +08:00
parent ee28aeeff9
commit 79aeca87cc
3 changed files with 30 additions and 291 deletions

View File

@@ -324,6 +324,8 @@ const GiftCardDetail = () => {
visible={showQRCode}
onClose={() => setShowQRCode(false)}
qrContent={gift.code || ''}
giftName={gift.goodsName || gift.name}
faceValue={gift.faceValue}
/>
)}
</ConfigProvider>