feat(subscription): support Stripe payment element

This commit is contained in:
2026-06-18 18:03:36 +08:00
parent 8cca42238e
commit 5bf98e9452
16 changed files with 402 additions and 76 deletions
@@ -6,7 +6,7 @@
* - 卡片顶部:套餐名(12px / secondary
* - 中部:大字价格(28px / 300+ 划线原价(12px / line-through / 999
* - 底部 28px 高渐变条:白字 12px/600 每日折算价
* - 选中/高亮2px 粉色边框 + 浅粉阴影
* - 选中:2px 粉色边框 + 浅粉阴影
* - 三个卡片底部渐变不同:粉 → 紫红 → 紫
*/
@@ -25,7 +25,6 @@ export interface SubscriptionPlanView {
price: string;
originalPrice: string | null;
perDay: string;
highlight: boolean;
currencySymbol: string;
}
@@ -47,7 +46,6 @@ export function SubscriptionPlanCard({
const classes = [
styles.card,
selected ? styles.selected : "",
!selected && plan.highlight ? styles.highlight : "",
className,
]
.filter(Boolean)