SMS verification code time
It is relatively simple to go directly to the code:
var wait = 60;
timeOut();
function timeOut() {
if (wait == 0) {
$('#code').text("重新获取验证码");
} else {
setTimeout(function () {
wait--;
$('#code').text(wait);
timeOut();
}, 1000)
}
}