xiuli.gao преди 6 години
родител
ревизия
dc868e9bdf
променени са 2 файла, в които са добавени 11 реда и са изтрити 5 реда
  1. 9 3
      shareBooks/invitingFriends.html
  2. 2 2
      shareBooks/wechatAddSuccess.html

+ 9 - 3
shareBooks/invitingFriends.html

@@ -171,6 +171,7 @@
171 171
     		wechat = decodeURIComponent(wechat);
172 172
     	}
173 173
   }
174
+	console.log(userImg)
174 175
 
175 176
 	window.onload = function () {
176 177
     	var we_chat_Arr=wechat.split("&");
@@ -195,9 +196,14 @@
195 196
 		if($("#mobile").val() == ''){
196 197
 			$(".mobilePhone").css("display","block");
197 198
 			$(".mobilePhone").html('请输入手机号');
198
-			return;
199
+			return
200
+		}
201
+		if($("#pwd").val() == ''){
202
+			$(".pass_word").css("display","block");
203
+			return
204
+		}else{
205
+			$(".pass_word").css("display","none");
199 206
 		}
200
-		passwordEvent();
201 207
 		mobilePhoneEvent();
202 208
 		if(flagButton){
203 209
 			var data = {
@@ -238,7 +244,7 @@
238 244
 	function passwordEvent () {
239 245
 		if($("#pwd").val() == ''){
240 246
 			$(".pass_word").css("display","block");
241
-			return;
247
+			return false;
242 248
 		}else{
243 249
 			$(".pass_word").css("display","none");
244 250
 		}

+ 2 - 2
shareBooks/wechatAddSuccess.html

@@ -70,7 +70,7 @@
70 70
 	var appUrl = null;
71 71
 	var avatar = '';
72 72
 	var book_name = '金牛记账';
73
-	var user_name = '';
73
+	var user_name = '--';
74 74
 	var message = '';
75 75
 	var code = '';
76 76
 	var str=location.href;  //取得整个地址栏
@@ -103,7 +103,7 @@
103 103
 	
104 104
 	window.onload = function (){
105 105
 		$(".mask").css("visibility","visible");
106
-		$(".content p").html(message);
106
+		$(".content p").html('加入账本成功');
107 107
 		if(avatar == "null" || avatar == ""){
108 108
 			$(".userImg").attr("src","image/logo.png");
109 109
 		}else{