只有倒计时和号码验证,不会返回验证码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div>
<div>
手机号: <input id="phone" type="text" />
</div>
<div>
验证码: <input type="text"> <button id="send">发送验证码</button>
</div>
</div>
<script>
window.onload = function () {
var phone = document.querySelector('#phone');
//手机验证码
var send = document.querySelector('#send');
send.onclick = function () {
var sel