jack 7 years ago
parent
commit
722716b206
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/js/inviteFriends.js

+ 2 - 2
app/js/inviteFriends.js

98
							var ws = plus.webview.currentWebview();
98
							var ws = plus.webview.currentWebview();
99
							plus.nativeUI.closeWaiting(); //新webview的载入完毕后关闭等待框
99
							plus.nativeUI.closeWaiting(); //新webview的载入完毕后关闭等待框
100
							ws.show("slide-in-right", 150);
100
							ws.show("slide-in-right", 150);
101
							professorName = ws.proName;
102
						}
101
						}
103
						if($info.length == 0) {
102
						if($info.length == 0) {
104
							if(!pro) {
103
							if(!pro) {
307
				cancel: '取消',
306
				cancel: '取消',
308
				buttons: shareBts
307
				buttons: shareBts
309
			}, function(e) {
308
			}, function(e) {
309
				professorName = plus.storage.getItem('name');
310
				if(e.index == 1) {
310
				if(e.index == 1) {
311
					var share = buildShareService();
311
					var share = buildShareService();
312
					if(share) {
312
					if(share) {
343
					share.authorize(function() {
343
					share.authorize(function() {
344
						console.log('授权成功...')
344
						console.log('授权成功...')
345
					}, function(e) {
345
					}, function(e) {
346
						alert("认证授权失败:" + e.code + " - " + e.message);
346
						//alert("认证授权失败:" + e.code + " - " + e.message);
347
						return null;
347
						return null;
348
					});
348
					});
349
				}
349
				}