feat(user-center): 余额卡密兑换移入弹窗并在余额卡片增加入口

- 余额卡片右下角新增「卡密兑换」点击区(data-aksrt-card-pass-open)
- 内联 uc-card-pass 区块替换为 uc-modal 弹窗,兑换逻辑不变
- initCardPass 增加弹窗开关绑定(防重复绑定)
- 清理 :first-child > .uc-card-pass 死选择器片段
This commit is contained in:
2026-09-16 21:15:04 +08:00
parent ff11f3b156
commit 2ef02e2865
3 changed files with 44 additions and 20 deletions
+1 -2
View File
@@ -30,8 +30,7 @@
.uc-assets-row--dual > .uc-assets-col {
display: contents;
}
.uc-assets-row--dual > .uc-assets-col:first-child > .uc-asset-card,
.uc-assets-row--dual > .uc-assets-col:first-child > .uc-card-pass {
.uc-assets-row--dual > .uc-assets-col:first-child > .uc-asset-card {
grid-column: 1;
}
.uc-assets-row--dual > .uc-assets-col:last-child > .uc-asset-card,