forked from gxwebsoft/mp-10550
refactor(components): 重构 SimpleQRCodeModal 组件
- 移除了未使用的 QRCodeGenerator 组件 - 在 SimpleQRCodeModal组件中添加了礼品卡名称和面值的显示 - 更新了 SimpleQRCodeModal 的样式,使其更加居中 - 在 gift/detail.tsx 中传递了礼品卡名称和面值给 SimpleQRCodeModal
This commit is contained in:
@@ -324,6 +324,8 @@ const GiftCardDetail = () => {
|
||||
visible={showQRCode}
|
||||
onClose={() => setShowQRCode(false)}
|
||||
qrContent={gift.code || ''}
|
||||
giftName={gift.goodsName || gift.name}
|
||||
faceValue={gift.faceValue}
|
||||
/>
|
||||
)}
|
||||
</ConfigProvider>
|
||||
|
||||
Reference in New Issue
Block a user