mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-06-15 21:20:54 +00:00
fix pricing
This commit is contained in:
@@ -833,12 +833,22 @@ window.addEventListener("load", function() {
|
|||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonText: 'Yes',
|
confirmButtonText: 'Yes',
|
||||||
cancelButtonText: 'No',
|
cancelButtonText: 'No',
|
||||||
|
}).then((result) => {
|
||||||
|
if (result.isConfirmed) {
|
||||||
|
Swal.fire({
|
||||||
|
title: 'Please Confirm',
|
||||||
|
text: "Please note that we do not offer refunds. We strongly recommend testing our free self-hosting plan before considering the purchase of our Pro plan. Are you still interested in proceeding?",
|
||||||
|
showCancelButton: true,
|
||||||
|
confirmButtonText: 'Yes',
|
||||||
|
cancelButtonText: 'No',
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
if (result.isConfirmed) {
|
if (result.isConfirmed) {
|
||||||
window.open(redirectUrl, '_blank');
|
window.open(redirectUrl, '_blank');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
document.getElementById("buyNowButton1").addEventListener("click", function() {
|
document.getElementById("buyNowButton1").addEventListener("click", function() {
|
||||||
gotoBuy('https://rustdesk.com/api/lic/stripe/checkout?type=Personal');
|
gotoBuy('https://rustdesk.com/api/lic/stripe/checkout?type=Personal');
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -826,12 +826,23 @@ window.addEventListener("load", function() {
|
|||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonText: '是',
|
confirmButtonText: '是',
|
||||||
cancelButtonText: '否',
|
cancelButtonText: '否',
|
||||||
|
}).then((result) => {
|
||||||
|
if (result.isConfirmed) {
|
||||||
|
Swal.fire({
|
||||||
|
title: '请确认',
|
||||||
|
text: '请注意,我们不提供退款。 我们强烈建议您在考虑购买专业版计划之前先测试我们的免费版本。 您还有兴趣继续吗?',
|
||||||
|
icon: 'question',
|
||||||
|
showCancelButton: true,
|
||||||
|
confirmButtonText: '是',
|
||||||
|
cancelButtonText: '否',
|
||||||
}).then((result) => {
|
}).then((result) => {
|
||||||
if (result.isConfirmed) {
|
if (result.isConfirmed) {
|
||||||
window.open(redirectUrl, '_blank');
|
window.open(redirectUrl, '_blank');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
document.getElementById("buyNowButton1").addEventListener("click", function() {
|
document.getElementById("buyNowButton1").addEventListener("click", function() {
|
||||||
gotoBuy('https://rustdesk.com/api/lic/stripe/checkout?type=Personal¤cy=cny');
|
gotoBuy('https://rustdesk.com/api/lic/stripe/checkout?type=Personal¤cy=cny');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user