mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
style: pay page perf (#2535)
* style: pay page perf * perf: package status logic && add pay text
This commit is contained in:
@@ -53,17 +53,17 @@ export const standardSubLevelMap = {
|
||||
},
|
||||
[StandardSubLevelEnum.experience]: {
|
||||
label: i18nT('common:support.wallet.subscription.standardSubLevel.experience'),
|
||||
desc: '',
|
||||
desc: i18nT('common:support.wallet.subscription.standardSubLevel.experience_desc'),
|
||||
weight: 2
|
||||
},
|
||||
[StandardSubLevelEnum.team]: {
|
||||
label: i18nT('common:support.wallet.subscription.standardSubLevel.team'),
|
||||
desc: '',
|
||||
desc: i18nT('common:support.wallet.subscription.standardSubLevel.team_desc'),
|
||||
weight: 3
|
||||
},
|
||||
[StandardSubLevelEnum.enterprise]: {
|
||||
label: i18nT('common:support.wallet.subscription.standardSubLevel.enterprise'),
|
||||
desc: '',
|
||||
desc: i18nT('common:support.wallet.subscription.standardSubLevel.enterprise_desc'),
|
||||
weight: 4
|
||||
},
|
||||
[StandardSubLevelEnum.custom]: {
|
||||
@@ -72,3 +72,15 @@ export const standardSubLevelMap = {
|
||||
weight: 5
|
||||
}
|
||||
};
|
||||
|
||||
export enum PackageChangeStatusEnum {
|
||||
buy = 'buy',
|
||||
renewal = 'renewal',
|
||||
upgrade = 'upgrade'
|
||||
}
|
||||
|
||||
export const packagePayTextMap = {
|
||||
[PackageChangeStatusEnum.buy]: i18nT('common:pay.package_tip.buy'),
|
||||
[PackageChangeStatusEnum.renewal]: i18nT('common:pay.package_tip.renewal'),
|
||||
[PackageChangeStatusEnum.upgrade]: i18nT('common:pay.package_tip.upgrade')
|
||||
};
|
||||
|
Reference in New Issue
Block a user