密码重置

// 发送验证码功能 const sendCodeBtn = document.getElementById('send-code-btn'); const emailInput = document.getElementById('email'); sendCodeBtn.addEventListener('click', () => { const email = emailInput.value.trim(); // 验证邮箱格式 const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; if (!emailRegex.test(email)) { alert('请输入有效的邮箱地址'); return; } // 禁用按钮并开始倒计时 let countdown = 60; sendCodeBtn.disabled = true; sendCodeBtn.textContent = `${countdown}秒后重试`; sendCodeBtn.classList.add('opacity-70', 'cursor-not-allowed'); const timer = setInterval(() => { countdown--; sendCodeBtn.textContent = `${countdown}秒后重试`; if (countdown 页面错误 - Distance

200

抱歉,页面出现了错误。请稍后重试或返回首页。

返回首页 返回上一页