xiuli.gao 6 years ago
parent
commit
dc868e9bdf
2 changed files with 11 additions and 5 deletions
  1. 9 3
      shareBooks/invitingFriends.html
  2. 2 2
      shareBooks/wechatAddSuccess.html

+ 9 - 3
shareBooks/invitingFriends.html

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

+ 2 - 2
shareBooks/wechatAddSuccess.html

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