feat(fe): balance conversion button and modal (#2491)

* feat: add balance conversion api declaration

* feat(fe): add conversion modal

* fix: show button when standplan and the user has manage permission

* feat: hide balance when <= 0
This commit is contained in:
Finley Ge
2024-08-23 17:14:07 +08:00
committed by GitHub
parent 6288dc9492
commit eaaf6f5978
7 changed files with 165 additions and 42 deletions

View File

@@ -1,6 +1,17 @@
{
"bill": {
"not_need_invoice": "余额支付,无法开票"
"not_need_invoice": "余额支付,无法开票",
"conversion": "兑换",
"use_balance": "使用余额",
"price": "价格",
"tokens": "积分",
"token_expire_1year": "积分有效期一年",
"balance": "余额",
"you_can_convert": "您可兑换",
"use_balance_hint": "由于系统升级,原“自动续费从余额扣款”模式取消,余额充值入口关闭。您的余额可用于购买积分",
"contact_customer_service": "联系客服",
"convert_success": "兑换成功",
"convert_error": "兑换失败"
},
"bind_inform_account_error": "绑定通知账号异常",
"bind_inform_account_success": "绑定通知账号成功",