mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
feat: color-code referral network nodes by subscription status
Add subscription status colors: green (paid active), blue (trial active), red (paid expired), orange (trial expired). Extract NODE_COLORS constant as single source of truth. Add SubscriptionStatus union type. Show status badge in user detail panel. Add i18n for all 4 locales.
This commit is contained in:
@@ -1091,7 +1091,11 @@
|
||||
"topReferrer": "顶级推荐人 (10+)",
|
||||
"campaignUser": "来自活动",
|
||||
"partnerCampaignEdge": "合作伙伴 → 活动",
|
||||
"campaignNode": "广告活动"
|
||||
"campaignNode": "广告活动",
|
||||
"paidActive": "付费订阅",
|
||||
"trialActive": "试用",
|
||||
"paidExpired": "付费已过期",
|
||||
"trialExpired": "试用已过期"
|
||||
},
|
||||
"user": {
|
||||
"tgId": "TG ID",
|
||||
@@ -1110,7 +1114,13 @@
|
||||
"source": "来源",
|
||||
"referredBy": "由...推荐",
|
||||
"fromCampaign": "活动",
|
||||
"organic": "自然流量"
|
||||
"organic": "自然流量",
|
||||
"subscriptionStatus": {
|
||||
"trial_active": "试用",
|
||||
"paid_active": "付费",
|
||||
"trial_expired": "试用已过期",
|
||||
"paid_expired": "付费已过期"
|
||||
}
|
||||
},
|
||||
"campaign": {
|
||||
"startParam": "参数",
|
||||
|
||||
Reference in New Issue
Block a user