This commit is contained in:
parent
31d813bbf6
commit
b7aace2ca2
7 changed files with 9 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"onepay": "PRO",
|
||||
"format": "Number format",
|
||||
"numberFormatNone": "Number",
|
||||
"numberFormatCommas": "Number with commas",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"onepay": "PRO",
|
||||
"format": "Formato de número",
|
||||
"numberFormatNone": "Número",
|
||||
"numberFormatCommas": "Número con comas",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"onepay": "PRO",
|
||||
"format": "Format des nombres",
|
||||
"numberFormatNone": "Numéro",
|
||||
"numberFormatCommas": "Nombre avec des virgules",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"onepay": "功能特性",
|
||||
"format": "格式化",
|
||||
"numberFormatNone": "數字",
|
||||
"numberFormatCommas": "千分位",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"onepay": "功能特性",
|
||||
"format": "格式化",
|
||||
"numberFormatNone": "数字",
|
||||
"numberFormatCommas": "千分位",
|
||||
|
|
|
@ -414,6 +414,9 @@ ${renewHTML}
|
|||
html = `<div class="toolbar__item b3-tooltips b3-tooltips__sw" aria-label="${window.siyuan.languages.account10}"><svg class="ft__secondary"><use xlink:href="#iconVIP"></use></svg></div>`;
|
||||
}
|
||||
}
|
||||
if (window.siyuan.user.userSiYuanOneTimePayStatus === 1) {
|
||||
html += `<div class="toolbar__item b3-tooltips b3-tooltips__sw" aria-label="${window.siyuan.languages.onepay}"><svg><use xlink:href="#iconVIP"></use></svg></div>`;
|
||||
}
|
||||
}
|
||||
if (!window.siyuan.user || (window.siyuan.user && window.siyuan.user.userSiYuanSubscriptionStatus === -1)) {
|
||||
html = `<div class="toolbar__item b3-tooltips b3-tooltips__sw" aria-label="${window.siyuan.languages.freeSub}"><svg class="ft__error"><use xlink:href="#iconVIP"></use></svg></div>`;
|
||||
|
|
1
app/src/types/index.d.ts
vendored
1
app/src/types/index.d.ts
vendored
|
@ -273,6 +273,7 @@ interface ISiyuan {
|
|||
userHomeBImgURL: string
|
||||
userIntro: string
|
||||
userNickname: string
|
||||
userSiYuanOneTimePayStatus: number // 0 未付费;1 已付费
|
||||
userSiYuanProExpireTime: number // -1 终身会员;0 普通用户;> 0 过期时间
|
||||
userSiYuanSubscriptionPlan: number // 0 年付订阅/终生;1 教育优惠;2 订阅试用
|
||||
userSiYuanSubscriptionType: number // 0 年付;1 终生;2 月付
|
||||
|
|
Loading…
Add table
Reference in a new issue