- 2026-06-10 追加:个人中心充值弹窗商品整卡按钮使用 `PlatformSubpanel as="button" surface="platform" radius="sm" padding="none" interactive`;商品标题、金额、角标、购买中态和购买回调留在业务组件,按钮壳、hover、focus、默认 type 与 disabled chrome 归公共组件。验证命令:`npm run test -- src/components/rpg-entry/RpgEntryHomeView.recharge.test.tsx -t "profile recharge modal trusts per-product first bonus display after points recharge"`、`npm run test -- src/components/common/PlatformSubpanel.test.tsx`。
-`npm run test -- src/components/rpg-runtime-panels/RpgAdventurePanel.questOffer.test.tsx src/components/common/PlatformSubpanel.test.tsx src/components/common/PlatformPillBadge.test.tsx src/components/common/PlatformQuantityBadge.test.tsx -t "quest offer accept button|quest reward strip|quest completion notice|battle reward modal|supports dark compact subpanel cards|supports dark RPG badge tones|renders a dark bottom-right quantity badge"`
-`npm run test -- src/components/rpg-runtime-panels/RpgAdventurePanel.questOffer.test.tsx src/components/common/PlatformSubpanel.test.tsx src/components/common/PlatformPillBadge.test.tsx src/components/common/PlatformQuantityBadge.test.tsx -t "quest offer accept button|quest reward strip|quest completion notice|battle reward modal|supports dark compact subpanel cards|supports dark RPG badge tones|renders a dark bottom-right quantity badge"`
-`npm run test -- src/components/common/PlatformPillBadge.test.tsx`
-`npm run test -- src/components/common/PlatformPillBadge.test.tsx`
-`npm run test -- src/components/common/PlatformPillBadge.test.tsx src/components/rpg-entry/RpgEntryHomeView.recharge.test.tsx -t "wallet ledger|profile played modal summary"`
-`npm run test -- src/components/common/PlatformPillBadge.test.tsx src/components/rpg-entry/RpgEntryHomeView.recharge.test.tsx -t "wallet ledger|profile played modal summary"`
-`npm run test -- src/components/rpg-entry/RpgEntryHomeView.recharge.test.tsx -t "profile recharge modal trusts per-product first bonus display after points recharge"`
-`npm run test -- src/components/common/PlatformSubpanel.test.tsx`
-`npm run test -- src/components/common/PlatformPillBadge.test.tsx`
-`npm run test -- src/components/common/PlatformPillBadge.test.tsx`
-`npm run test -- src/components/common/CopyFeedbackMessage.test.tsx`
-`npm run test -- src/components/common/CopyFeedbackMessage.test.tsx`
-`npm run test -- src/components/common/PlatformStatusMessage.test.tsx`
-`npm run test -- src/components/common/PlatformStatusMessage.test.tsx`
@@ -3099,7 +3104,7 @@ function RechargeProductCard({
{submitting?'处理中':'购买'}
{submitting?'处理中':'购买'}
</span>
</span>
</div>
</div>
</button>
</PlatformSubpanel>
);
);
}
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.