💄 account

This commit is contained in:
Vanessa 2023-05-15 00:27:27 +08:00
parent 4c7fe248e4
commit 53a95ffbf7
6 changed files with 14 additions and 5 deletions

View file

@ -637,6 +637,7 @@
"account6": "Remaining before subscription expires", "account6": "Remaining before subscription expires",
"account7": "More advanced features", "account7": "More advanced features",
"account8": "", "account8": "",
"account9": "",
"account10": "Annual subscription", "account10": "Annual subscription",
"account11": "Until the end of the early bird discount", "account11": "Until the end of the early bird discount",
"account12": "Life companion", "account12": "Life companion",

View file

@ -637,6 +637,7 @@
"account6": "Restante antes de que caduque la suscripción", "account6": "Restante antes de que caduque la suscripción",
"account7": "Más funciones avanzadas", "account7": "Más funciones avanzadas",
"account8": "", "account8": "",
"account9": "",
"account10": "Suscripción anual", "account10": "Suscripción anual",
"account11": "Hasta que finalice el descuento por pronto pago", "account11": "Hasta que finalice el descuento por pronto pago",
"account12": "Compañero de vida", "account12": "Compañero de vida",

View file

@ -637,6 +637,7 @@
"account6": "Restant avant l'expiration de l'abonnement", "account6": "Restant avant l'expiration de l'abonnement",
"account7": "Fonctions plus avancées", "account7": "Fonctions plus avancées",
"account8": "", "account8": "",
"account9": "",
"account10": "Abonnement annuel", "account10": "Abonnement annuel",
"account11": "Jusqu'à la fin de la réduction pour les early bird", "account11": "Jusqu'à la fin de la réduction pour les early bird",
"account12": "Compagnon de vie", "account12": "Compagnon de vie",

View file

@ -637,6 +637,7 @@
"account6": "距訂閱過期還剩", "account6": "距訂閱過期還剩",
"account7": "更多進階特性", "account7": "更多進階特性",
"account8": "", "account8": "",
"account9": "",
"account10": "年付訂閱", "account10": "年付訂閱",
"account11": "早鳥優惠活動結束還剩", "account11": "早鳥優惠活動結束還剩",
"account12": "相伴一生", "account12": "相伴一生",

View file

@ -636,7 +636,8 @@
"account5": "云端图床服务", "account5": "云端图床服务",
"account6": "距订阅过期还剩", "account6": "距订阅过期还剩",
"account7": "更多高级特性", "account7": "更多高级特性",
"account8": "<div>\uD83C\uDFEB <a target='_black' href='https://ld246.com/article/1618844886264'>教育优惠申请</a></div>", "account8": "<div>\uD83C\uDFEB <a target='_black' href='https://ld246.com/article/1618844886264'>教育优惠 6.4 折</a></div>",
"account9": "<div>\uD83D\uDD25 <a target='_black' href='https://ld246.com/article/1618844886264'>两人团首年 6.4 折</a></div>",
"account10": "年付订阅", "account10": "年付订阅",
"account11": "早鸟优惠活动结束还剩", "account11": "早鸟优惠活动结束还剩",
"account12": "相伴一生", "account12": "相伴一生",

View file

@ -22,6 +22,7 @@ export const account = {
</a> </a>
<div class="fn__hr--b"></div> <div class="fn__hr--b"></div>
${window.siyuan.languages.account8} ${window.siyuan.languages.account8}
${window.siyuan.languages.account9}
<div class="fn__hr"></div> <div class="fn__hr"></div>
${window.siyuan.languages.account2} ${window.siyuan.languages.account2}
<div><a href="https://b3log.org/siyuan/pricing.html" target="_blank">${window.siyuan.languages.account7}</a></div> <div><a href="https://b3log.org/siyuan/pricing.html" target="_blank">${window.siyuan.languages.account7}</a></div>
@ -56,12 +57,15 @@ ${window.siyuan.languages.account2}
} else if (window.siyuan.user.userSiYuanProExpireTime > 0) { } else if (window.siyuan.user.userSiYuanProExpireTime > 0) {
if (window.siyuan.user.userSiYuanSubscriptionPlan === 2) { if (window.siyuan.user.userSiYuanSubscriptionPlan === 2) {
subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account3}</div> subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account3}</div>
<div class="fn__hr"></div> <div class="fn__hr--b"></div>
<div class="ft__on-surface ft__smaller">${window.siyuan.languages.account6} ${Math.max(0, Math.floor((window.siyuan.user.userSiYuanProExpireTime - new Date().getTime()) / 1000 / 60 / 60 / 24))} ${window.siyuan.languages.day} ${window.siyuan.languages.clickMeToRenew}</div> <div class="ft__on-surface ft__smaller">${window.siyuan.languages.account6} ${Math.max(0, Math.floor((window.siyuan.user.userSiYuanProExpireTime - new Date().getTime()) / 1000 / 60 / 60 / 24))} ${window.siyuan.languages.day} ${window.siyuan.languages.clickMeToRenew}</div>
<div class="fn__hr"></div> <div class="fn__hr--b"></div>
${window.siyuan.languages.account8}`; ${window.siyuan.languages.account8}
${window.siyuan.languages.account9}
`;
} else { } else {
subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg class="ft__secondary"><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account10}</div><div class="fn__hr"></div> subscriptionHTML = `<div class="b3-chip b3-chip--primary"><svg class="ft__secondary"><use xlink:href="#iconVIP"></use></svg>${window.siyuan.languages.account10}</div>
<div class="fn__hr--b"></div>
<div class="ft__on-surface ft__smaller">${window.siyuan.languages.account6} ${Math.max(0, Math.floor((window.siyuan.user.userSiYuanProExpireTime - new Date().getTime()) / 1000 / 60 / 60 / 24))} ${window.siyuan.languages.day} ${window.siyuan.languages.clickMeToRenew}</div>`; <div class="ft__on-surface ft__smaller">${window.siyuan.languages.account6} ${Math.max(0, Math.floor((window.siyuan.user.userSiYuanProExpireTime - new Date().getTime()) / 1000 / 60 / 60 / 24))} ${window.siyuan.languages.day} ${window.siyuan.languages.clickMeToRenew}</div>`;
} }
} }