xiaogang %!s(int64=4) %!d(string=hai) anos
pai
achega
f296e8219b
Modificáronse 1 ficheiros con 13 adicións e 13 borrados
  1. 13 13
      public/h5/reg.html

+ 13 - 13
public/h5/reg.html

xqd xqd xqd xqd xqd xqd xqd xqd xqd
@@ -41,13 +41,13 @@
 			<div class="item">
 				<img src="img/pwd.png" class="icon"/>
 				<div class="inptBox">
-					<input type="password" class="inpt" id="loginpwd" placeholder="密码为8-16位英文、数字结合" />
+					<input type="password" class="inpt" id="loginpwd" placeholder="密码为6-16位英文、数字结合" />
 					<span class="eyeBtn">
 						<img src="img/eyes_close.png" class="eye"/>
 					</span>
 				</div>
 			</div>
-		
+
 			<div class="item">
 				<img src="img/ycode.png" class="icon"/>
 				<div class="inptBox">
@@ -64,10 +64,10 @@
 				<p class="btn">确定</p>
 			</div>
 		</div>
-		
+
 	    <script type="text/javascript" charset="utf-8">
 	      	mui.init();
-	      	//协议	    
+	      	//协议
 			$.ajax({
 				url:'https://t22.9026.com/api/login/xieyi?type=1&cont=1',
 				type:'get',
@@ -75,7 +75,7 @@
 				dataType:'json',
 				success:function(res){
 					$('.neir').append(res.data.content);
-					
+
 				}
 			})
 	      	//获取短信验证码
@@ -99,11 +99,11 @@
 			      			mobile: tel,
 			      			event: 'login',
 			      		},
-			      		success:function(data){			      			
+			      		success:function(data){
 			      			if(data.verifyKey){
 								$('#code_verify').val(data.verifyKey)
 								mui.toast('短信发送成功');
-								
+
 			      				$(".codeBtn").html(time+'s');
                                 timer=setInterval(function(){
                                     if(time>0){
@@ -130,7 +130,7 @@
 	      		if(regBtn){
 	      			var tel=$("#tel").val();
 	      			var msg=$("#msg").val();
-	      			var pwd=$("#loginpwd").val();	      		
+	      			var pwd=$("#loginpwd").val();
 	      			var ycode=$("#ycode").val();
 					var verifyKey=$("#code_verify").val();
 		      		if(tel.length!=11){
@@ -142,8 +142,8 @@
 		      		if(!(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$/.test(pwd))){
 		      			return mui.toast('密码格式错误!');
 		      		}
-		      		
-		      	
+
+
 		      		if(xieyBtn){
 		      			return mui.toast('请先勾选隐私协议');
 		      		}
@@ -154,7 +154,7 @@
 			      		dataType:"JSON",
 			      		data:{
 			      			mobile: tel,
-			      			password:pwd,			      			
+			      			password:pwd,
 			      			smsCode:msg,
 			      			ycode:ycode,
 							verifyKey:verifyKey
@@ -191,7 +191,7 @@
 	      	$(".btn").on("click",function(){
 	      		$(".Mask").fadeOut(300);
 	      	})
-	      	
+
 	      	//眼睛
 	      	$(".eyeBtn").on("click",function(){
 	      		if($(this).siblings('input').attr('type')=='password'){
@@ -216,4 +216,4 @@
      	var r = window.location.search.substr(1).match(reg);//匹配目标参数
      	if (r != null) return unescape(r[2]); return null;//返回参数值
 	}
-</script>
+</script>