heyang 3 years ago
parent
commit
1a03b6e066
1 changed files with 5 additions and 1 deletions
  1. 5 1
      microserviceUserH5/vcloud/invite.html

+ 5 - 1
microserviceUserH5/vcloud/invite.html

@@ -149,6 +149,10 @@
 			if(!id){
 			if(!id){
 				copyUrl();
 				copyUrl();
 			} else if (isiOS) {
 			} else if (isiOS) {
+				if(!window.webkit){
+					copyUrl();
+					return
+				}
 				$.ajax({
 				$.ajax({
 					url: baseUrl + '/api/user/v1/promote',
 					url: baseUrl + '/api/user/v1/promote',
 					type: 'get',
 					type: 'get',
@@ -308,7 +312,7 @@
 				cache: false,
 				cache: false,
 				success: function (res) {
 				success: function (res) {
 					if(res.status === 0){
 					if(res.status === 0){
-						$('.dialog').animate({top: '4.2rem'},"fast");
+						$('.dialog').animate({top: '46vh'},"fast");
 						$('.mask').show();
 						$('.mask').show();
 						$('.tip').animate({top: '-6.96rem'},"fast");
 						$('.tip').animate({top: '-6.96rem'},"fast");
 						document.documentElement.style.overflow='hidden';
 						document.documentElement.style.overflow='hidden';