💳 feat(TopUp): unify payment cards, add header stats, brand icons, and mobile…
💳 feat(TopUp): unify payment cards, add header stats, brand icons, and mobile refinements [[memory:5659506]] - Add RightStatsCard and place it in RechargeCard header - Shows current balance, historical spend, and request count - Mobile: stacks under title; three metrics split equally (flex-1); vertical dividers hidden on small screens - Remove extra margins; small card styling - RechargeCard - Replace redeem code Input icon with Semi UI IconGift - Style “Payable amount” number in red and bold; keep same style in confirm modal - Always render payment methods as Cards (remove Button variant) with adaptive grid - Use brand color icons: SiAlipay (#1677FF), SiWechat (#07C160), SiStripe (#635BFF) - Replace Stripe icon with SiStripe - Integrate RightStatsCard props; adjust header to flex-col on mobile and flex-row on desktop - Hide Banner close button when online top-up is disabled (closeIcon={null}) - InvitationCard - Simplify to match RechargeCard’s minimalist slate style - Use Card title for “Rewards” and place content directly in body - Improve link input and copy button; use Badge dots for bullet points - TopUp index - Remove separate right-column stats card; pass userState and renderQuota to RechargeCard - Cleanup - Lint passes; no functional changes to APIs or business logic
Showing
web/src/components/topup/InvitationCard.jsx
0 → 100644
web/src/components/topup/RechargeCard.jsx
0 → 100644
web/src/components/topup/RightStatsCard.jsx
0 → 100644
web/src/components/topup/index.jsx
0 → 100644
Please
register
or
sign in
to comment