摘要: var countdown = 60; function setTime(obj) { if (countdown == 0) { obj.prop('disabled', false); obj.text("点击获取验证码"); countdown = 60;//60秒过后button上的文字初始 阅读全文
posted @ 2020-09-28 14:09 Smile*^ 阅读(133) 评论(0) 推荐(0) 编辑
摘要: //页面加载时,生成随机验证码 window.onload=function(){ createCode(4); } //生成验证码的方法 function createCode(length) { var code = ""; var codeLength = parseInt(length); 阅读全文
posted @ 2020-09-28 14:08 Smile*^ 阅读(129) 评论(0) 推荐(0) 编辑
摘要: function $(id){ return document.getElementById(id); } function setTab(num){ //通过循环 for(var i=1; i<=2;i++){ //取消菜单的选中样式 $("head"+i).className=""; //取di 阅读全文
posted @ 2020-09-28 14:07 Smile*^ 阅读(76) 评论(0) 推荐(0) 编辑
摘要: function ChA(){ var ch = check(); var cp =chP(); var ck=checkcK(); return ch&&cp&&ck; } function $(id){ return document.getElementById(id); } function 阅读全文
posted @ 2020-09-28 14:06 Smile*^ 阅读(231) 评论(0) 推荐(0) 编辑
摘要: function checkAll(){ var Em = CheckEm(); var cp1=checkPas1(); var cp2=checkPas2(); var p = checkphone(); var r =cr();// 如果全为true的时候,才会提交 return Em&&cp 阅读全文
posted @ 2020-09-28 14:05 Smile*^ 阅读(167) 评论(0) 推荐(0) 编辑
摘要: .containter{ width: 500px; margin: 50px auto; } .head{ height: 60px; /*装手机注册和邮箱注册的大盒子背景色*/ background-color: #00FFFF; } .head div{ width:216px; height 阅读全文
posted @ 2020-09-28 14:03 Smile*^ 阅读(90) 评论(0) 推荐(0) 编辑
摘要: phone.css form{ margin-top: 30px; text-align: center; } input{ margin-bottom: 5px; } .a{ text-align: left; width:300px; height: 30px; } .b{ width: 148 阅读全文
posted @ 2020-09-28 14:02 Smile*^ 阅读(90) 评论(0) 推荐(0) 编辑
摘要: em.css form{ margin-top: 20px; } .enter{ width: 300px; height: 30px; /*设置底端外边距 */ margin-bottom: 15px; } #btn{ width: 300px; height: 40px; /*设置背景颜色 */ 阅读全文
posted @ 2020-09-28 14:00 Smile*^ 阅读(103) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="css/分页.css" /> <link rel="stylesheet" href="css/phone 阅读全文
posted @ 2020-09-28 13:58 Smile*^ 阅读(233) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> body{ margin: 0; font-size: 16px; } ul{ list-style: none; margin: 0; paddi 阅读全文
posted @ 2020-09-28 13:54 Smile*^ 阅读(97) 评论(0) 推荐(0) 编辑