heyang hace 3 años
padre
commit
622e416bc6

BIN
microserviceUserH5/static/img/changePhoneActivity/rule1.png


+ 9 - 13
microserviceUserH5/vcloud/invite.html

@@ -25,8 +25,8 @@
 			<div class="login-container">
 			   <img class="login-bg" src="../static/img/changePhoneActivity/login-bg.png" />
 			   <div class="login-row-select">
-				   <div class="login-row-title">选择:</div>
-					<input class="login-row-ipt" id="select" placeholder="请选择兑换时长的平台" disabled="true" />
+				   <div class="login-row-title">平台:</div>
+					<input class="login-row-ipt" id="select" placeholder="请选择平台" disabled="true" />
 				   <img class="icon-down-img" src="../static/img/changePhoneActivity/icon-down.png" />
 			   </div>
 			   <div class="options">
@@ -39,11 +39,11 @@
 			   </div>
 			   <div class="login-row-account">
 					<div class="login-row-title">账号:</div>
-					<input class="login-row-ipt" id="account" placeholder="请输入兑换时长的账号" />
+					<input class="login-row-ipt" id="account" placeholder="请输入账号" />
 				</div>
 				<div class="login-row-password">
 					<div class="login-row-title">密码:</div>
-					<input class="login-row-ipt" type="password" id="password" placeholder="请输入兑换时长的密码" />
+					<input class="login-row-ipt" type="password" id="password" placeholder="请输入密码" />
 				</div>
 				<img class="login-btn" src="../static/img/changePhoneActivity/login-btn.png" />
 				<img class="login-btn-text" src="../static/img/changePhoneActivity/login-btn-text.png" />
@@ -148,10 +148,6 @@
 			if(!id){
 				copyUrl();
 			} else if (isiOS) {
-				if(!window.webkit.messageHandlers.getMessage.postMessage){
-					copyUrl();
-					return
-				}
 				$.ajax({
 					url: baseUrl + '/api/user/v1/promote',
 					type: 'get',
@@ -169,12 +165,12 @@
 						try {
 							getMessage(jsonObj);
 						} catch (error) {
-							console.log(error)
+							copyUrl();
 						}
 						try {
 							window.webkit.messageHandlers.getMessage.postMessage(jsonObj)
 						} catch (error) {
-							console.log(error)
+							copyUrl();
 						}
 					}
 				})
@@ -252,7 +248,7 @@
 			account = $('#account').val();
 			password = $('#password').val();
 			if(fromType === 0){
-			    $('#tip-text').text('请选择兑换时长的平台');
+			    $('#tip-text').text('请选择平台');
 				$('.tip').animate({top: '48vh'},"fast");
 				$('.mask').show();
 			    $('.dialog').animate({top: '-6.96rem'},"fast");
@@ -260,7 +256,7 @@
 				return
 			}
 			if(account === ''){
-				$('#tip-text').text('请输入兑换时长的账号');
+				$('#tip-text').text('请输入账号');
 				$('.tip').animate({top: '48vh'},"fast");
 				$('.mask').show();
 			    $('.dialog').animate({top: '-6.96rem'},"fast");
@@ -268,7 +264,7 @@
 				return
 			}
 			if(password === ''){
-				$('#tip-text').text('请输入兑换时长的密码');
+				$('#tip-text').text('请输入密码');
 				$('.tip').animate({top: '48vh'},"fast");
 				$('.mask').show();
 			    $('.dialog').animate({top: '-6.96rem'},"fast");