mirror of https://github.com/certd/certd
chore:
parent
31923d511e
commit
962f8233b0
|
@ -237,6 +237,7 @@ function openUpgrade() {
|
||||||
const location = window.location;
|
const location = window.location;
|
||||||
const callbackUrl = encodeURIComponent(`${location.origin}${location.pathname}#/sys/account`);
|
const callbackUrl = encodeURIComponent(`${location.origin}${location.pathname}#/sys/account`);
|
||||||
const goBuyUrl = `${env.VIP_PRODUCT_URL}?appKey=${appKey}&subjectId=${subjectId}&callback=${callbackUrl}`;
|
const goBuyUrl = `${env.VIP_PRODUCT_URL}?appKey=${appKey}&subjectId=${subjectId}&callback=${callbackUrl}`;
|
||||||
|
const goBuyCommUrl = `${goBuyUrl}&vipType=comm`;
|
||||||
const productInfo = settingStore.productInfo;
|
const productInfo = settingStore.productInfo;
|
||||||
const vipTypeDefine = {
|
const vipTypeDefine = {
|
||||||
free: {
|
free: {
|
||||||
|
@ -281,7 +282,11 @@ function openUpgrade() {
|
||||||
price3: `¥${productInfo.comm.price3}/3${t("vip.years")}`,
|
price3: `¥${productInfo.comm.price3}/3${t("vip.years")}`,
|
||||||
tooltip: productInfo.comm.tooltip,
|
tooltip: productInfo.comm.tooltip,
|
||||||
get() {
|
get() {
|
||||||
return <a-button size="small">{t("vip.contact_author_for_trial")}</a-button>;
|
return (
|
||||||
|
<a-button size="small" type="primary" href={goBuyCommUrl} target="_blank">
|
||||||
|
{t("vip.contact_author_for_trial")}
|
||||||
|
</a-button>
|
||||||
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -61,7 +61,7 @@ export default {
|
||||||
plugins_fully_open: "All plugins open, including Synology and more",
|
plugins_fully_open: "All plugins open, including Synology and more",
|
||||||
click_to_get_7_day_trial: "Click to get 7-day trial",
|
click_to_get_7_day_trial: "Click to get 7-day trial",
|
||||||
years: "years",
|
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",
|
get_after_support: "Get after sponsoring",
|
||||||
|
|
||||||
business_edition: "Business Edition",
|
business_edition: "Business Edition",
|
||||||
|
@ -72,9 +72,9 @@ export default {
|
||||||
plugin_management: "Plugin management",
|
plugin_management: "Plugin management",
|
||||||
unlimited_multi_users: "Unlimited multi-users",
|
unlimited_multi_users: "Unlimited multi-users",
|
||||||
support_user_payment: "Supports user payments",
|
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",
|
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",
|
business_contact_author: "Business edition please contact the author directly",
|
||||||
year: "year",
|
year: "year",
|
||||||
freee: "Free",
|
freee: "Free",
|
||||||
|
|
|
@ -61,8 +61,8 @@ export default {
|
||||||
plugins_fully_open: "插件全开放,群辉等更多插件",
|
plugins_fully_open: "插件全开放,群辉等更多插件",
|
||||||
click_to_get_7_day_trial: "点击获取7天试用",
|
click_to_get_7_day_trial: "点击获取7天试用",
|
||||||
years: "年",
|
years: "年",
|
||||||
afdian_support_vip: "爱发电赞助“VIP会员”后获取一年期专业版激活码,开源需要您的支持",
|
afdian_support_vip: "新用户开通永久专业版立享50优惠券",
|
||||||
get_after_support: "爱发电赞助后获取",
|
get_after_support: "立即赞助",
|
||||||
|
|
||||||
business_edition: "商业版",
|
business_edition: "商业版",
|
||||||
commercial_license: "商业授权,可对外运营",
|
commercial_license: "商业授权,可对外运营",
|
||||||
|
@ -72,10 +72,10 @@ export default {
|
||||||
plugin_management: "插件管理",
|
plugin_management: "插件管理",
|
||||||
unlimited_multi_users: "多用户无限制",
|
unlimited_multi_users: "多用户无限制",
|
||||||
support_user_payment: "支持用户支付",
|
support_user_payment: "支持用户支付",
|
||||||
contact_author_for_trial: "请联系作者获取试用",
|
contact_author_for_trial: "立即购买",
|
||||||
activate: "激活",
|
activate: "激活",
|
||||||
get_pro_code_after_support: "爱发电赞助“VIP会员”后获取一年期专业版激活码",
|
get_pro_code_after_support: "前往获取",
|
||||||
business_contact_author: "商业版请直接联系作者",
|
business_contact_author: "",
|
||||||
year: "年",
|
year: "年",
|
||||||
freee: "免费",
|
freee: "免费",
|
||||||
renew: "续期",
|
renew: "续期",
|
||||||
|
|
Loading…
Reference in New Issue