xiuli.gao 6 years ago
parent
commit
3a7967c742
3 changed files with 10 additions and 7 deletions
  1. 1 1
      shareBooks/addSuccess.html
  2. 1 2
      shareBooks/invitingFriends.html
  3. 8 4
      shareBooks/wechatAddSuccess.html

+ 1 - 1
shareBooks/addSuccess.html

@@ -46,7 +46,7 @@
46 46
 	</head>
47 47
 	<body>
48 48
 		<img class="userImg" src="image/logo.png" />
49
-		<p class="inviting">您已成功加入《<text>旅行账本</text>》<br/>名片:<span>ZYuuu</span></p>
49
+		<p class="inviting">您已成功加入《<text>金牛记账</text>》<br/>名片:<span>---</span></p>
50 50
 		<button class="button" onclick="goApp()">打开app,一起记账</button>
51 51
 	</body>
52 52
 </html>

+ 1 - 2
shareBooks/invitingFriends.html

@@ -170,8 +170,7 @@
170 170
     		wechat = brr[i].split('=')[1];
171 171
     		wechat = decodeURIComponent(wechat);
172 172
     	}
173
-  }
174
-	console.log(userImg)
173
+ }
175 174
 
176 175
 	window.onload = function () {
177 176
     	var we_chat_Arr=wechat.split("&");

+ 8 - 4
shareBooks/wechatAddSuccess.html

@@ -102,18 +102,22 @@
102 102
    }
103 103
 	
104 104
 	window.onload = function (){
105
-		$(".mask").css("visibility","visible");
106
-		$(".content p").html('加入账本成功');
107 105
 		if(avatar == "null" || avatar == ""){
108 106
 			$(".userImg").attr("src","image/logo.png");
109 107
 		}else{
110 108
 			$(".userImg").attr("src",avatar);
111 109
 		}
110
+		$(".inviting text").html(book_name);
111
+		$(".inviting span").html(user_name);
112 112
 		if(code != 0){
113 113
 			$(".inviting").html(message);
114
+			$(".mask").css("visibility","visible");
115
+			$(".content p").html(message);
116
+		}else{
117
+			$(".mask").css("visibility","visible");
118
+			$(".content p").html('加入账本成功');
114 119
 		}
115
-		$(".inviting text").html(book_name);
116
-		$(".inviting span").html(user_name);
120
+		
117 121
 	}
118 122
 	
119 123
 function iknow () {