From 962f8233b0b542c19ecfe3e5acf04c316c34db59 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 11 Aug 2025 02:02:30 +0800 Subject: [PATCH] chore: --- .../certd-client/src/components/vip-button/index.vue | 7 ++++++- .../ui/certd-client/src/locales/langs/en-US/vip.ts | 6 +++--- .../ui/certd-client/src/locales/langs/zh-CN/vip.ts | 10 +++++----- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/packages/ui/certd-client/src/components/vip-button/index.vue b/packages/ui/certd-client/src/components/vip-button/index.vue index 7326a750..67a5533e 100644 --- a/packages/ui/certd-client/src/components/vip-button/index.vue +++ b/packages/ui/certd-client/src/components/vip-button/index.vue @@ -237,6 +237,7 @@ function openUpgrade() { const location = window.location; const callbackUrl = encodeURIComponent(`${location.origin}${location.pathname}#/sys/account`); const goBuyUrl = `${env.VIP_PRODUCT_URL}?appKey=${appKey}&subjectId=${subjectId}&callback=${callbackUrl}`; + const goBuyCommUrl = `${goBuyUrl}&vipType=comm`; const productInfo = settingStore.productInfo; const vipTypeDefine = { free: { @@ -281,7 +282,11 @@ function openUpgrade() { price3: `¥${productInfo.comm.price3}/3${t("vip.years")}`, tooltip: productInfo.comm.tooltip, get() { - return {t("vip.contact_author_for_trial")}; + return ( + + {t("vip.contact_author_for_trial")} + + ); }, }, }; diff --git a/packages/ui/certd-client/src/locales/langs/en-US/vip.ts b/packages/ui/certd-client/src/locales/langs/en-US/vip.ts index b32f5583..642ca503 100644 --- a/packages/ui/certd-client/src/locales/langs/en-US/vip.ts +++ b/packages/ui/certd-client/src/locales/langs/en-US/vip.ts @@ -61,7 +61,7 @@ export default { plugins_fully_open: "All plugins open, including Synology and more", click_to_get_7_day_trial: "Click to get 7-day trial", years: "years", - afdian_support_vip: 'Get a one-year professional activation code after supporting "VIP membership" on Afdian, open source needs your support', + afdian_support_vip: "Obtain the permanent professional version coupon", get_after_support: "Get after sponsoring", business_edition: "Business Edition", @@ -72,9 +72,9 @@ export default { plugin_management: "Plugin management", unlimited_multi_users: "Unlimited multi-users", support_user_payment: "Supports user payments", - contact_author_for_trial: "Please contact the author for trial", + contact_author_for_trial: "Buy It Now", activate: "Activate", - get_pro_code_after_support: 'Get a one-year professional activation code after supporting "VIP membership" on Afdian', + get_pro_code_after_support: "Go to sponsoring", business_contact_author: "Business edition please contact the author directly", year: "year", freee: "Free", diff --git a/packages/ui/certd-client/src/locales/langs/zh-CN/vip.ts b/packages/ui/certd-client/src/locales/langs/zh-CN/vip.ts index 9f1e5bd2..88956e34 100644 --- a/packages/ui/certd-client/src/locales/langs/zh-CN/vip.ts +++ b/packages/ui/certd-client/src/locales/langs/zh-CN/vip.ts @@ -61,8 +61,8 @@ export default { plugins_fully_open: "插件全开放,群辉等更多插件", click_to_get_7_day_trial: "点击获取7天试用", years: "年", - afdian_support_vip: "爱发电赞助“VIP会员”后获取一年期专业版激活码,开源需要您的支持", - get_after_support: "爱发电赞助后获取", + afdian_support_vip: "新用户开通永久专业版立享50优惠券", + get_after_support: "立即赞助", business_edition: "商业版", commercial_license: "商业授权,可对外运营", @@ -72,10 +72,10 @@ export default { plugin_management: "插件管理", unlimited_multi_users: "多用户无限制", support_user_payment: "支持用户支付", - contact_author_for_trial: "请联系作者获取试用", + contact_author_for_trial: "立即购买", activate: "激活", - get_pro_code_after_support: "爱发电赞助“VIP会员”后获取一年期专业版激活码", - business_contact_author: "商业版请直接联系作者", + get_pro_code_after_support: "前往获取", + business_contact_author: "", year: "年", freee: "免费", renew: "续期",