Commit 242295cf authored by wildfirecode's avatar wildfirecode

1

parent 634fa5e8
...@@ -81,6 +81,12 @@ export default class ShareStarterScene extends Scene { ...@@ -81,6 +81,12 @@ export default class ShareStarterScene extends Scene {
} }
onTap_sharebtn() { onTap_sharebtn() {
this['tipsWrapper'].visible = false;
this['transbtn'].visible = false;
//这里要调用分享方法
yzwNet.genInvite(() => {
let sharecode = DataManager.ins.getData('genInvite').data;
try { try {
window['AlipayJSBridge'].call( window['AlipayJSBridge'].call(
'esportsShare', 'esportsShare',
...@@ -88,17 +94,12 @@ export default class ShareStarterScene extends Scene { ...@@ -88,17 +94,12 @@ export default class ShareStarterScene extends Scene {
title: '寻找2022个亚运梦想活动火热进行中', title: '寻找2022个亚运梦想活动火热进行中',
content: '快来为我的亚运梦想充能吧', content: '快来为我的亚运梦想充能吧',
imgUrl: 'https://yun.duiba.com.cn/db_games/yyhlogo2.png', imgUrl: 'https://yun.duiba.com.cn/db_games/yyhlogo2.png',
url: window['TransLink'], type: '3' url: window['TransLink']+'?shareCode=' + sharecode , type: '3'
}); });
} catch (error) { } catch (error) {
} }
this['tipsWrapper'].visible = false;
this['transbtn'].visible = false;
//这里要调用分享方法
yzwNet.genInvite(() => {
let sharecode = DataManager.ins.getData('genInvite').data;
this['matchingTips'].visible = true; this['matchingTips'].visible = true;
NetManager.ins.yyh_pollingAnimationState((success) => { NetManager.ins.yyh_pollingAnimationState((success) => {
const data = DataManager.ins.getData('yyh_pollingAnimationState').data; const data = DataManager.ins.getData('yyh_pollingAnimationState').data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment