|
@@ -439,18 +439,19 @@
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // 为 Claim Bonus 按钮添加防重复点击逻辑(可选)
|
|
|
|
|
- const claimButton = document.querySelector('.btn-primary');
|
|
|
|
|
- if (claimButton) {
|
|
|
|
|
- claimButton.addEventListener('click', function (e) {
|
|
|
|
|
- // 只有在没有 check 参数时才允许跳转(避免循环跳转)
|
|
|
|
|
- if (!hasCheckParam) {
|
|
|
|
|
- // 可添加加载状态
|
|
|
|
|
- this.textContent = 'Launching...';
|
|
|
|
|
- this.disabled = true;
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // // 为 Color Now 按钮添加防重复点击逻辑(可选)
|
|
|
|
|
+ // const colorNowButton = document.querySelector('.btn-primary');
|
|
|
|
|
+ // if (colorNowButton) {
|
|
|
|
|
+ // colorNowButton.addEventListener('click', function (e) {
|
|
|
|
|
+ // // 只有在没有 check 参数时才允许跳转(避免循环跳转)
|
|
|
|
|
+ // if (!hasCheckParam) {
|
|
|
|
|
+ // // 可添加加载状态
|
|
|
|
|
+ // this.textContent = 'Launching...';
|
|
|
|
|
+ // this.disabled = true;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // });
|
|
|
|
|
+ // }
|
|
|
|
|
+
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
|