Commit 242295cf authored by wildfirecode's avatar wildfirecode

1

parent 634fa5e8
...@@ -81,24 +81,25 @@ export default class ShareStarterScene extends Scene { ...@@ -81,24 +81,25 @@ export default class ShareStarterScene extends Scene {
} }
onTap_sharebtn() { onTap_sharebtn() {
try {
window['AlipayJSBridge'].call(
'esportsShare',
{
title: '寻找2022个亚运梦想活动火热进行中',
content: '快来为我的亚运梦想充能吧',
imgUrl: 'https://yun.duiba.com.cn/db_games/yyhlogo2.png',
url: window['TransLink'], type: '3'
});
} catch (error) {
}
this['tipsWrapper'].visible = false; this['tipsWrapper'].visible = false;
this['transbtn'].visible = false; this['transbtn'].visible = false;
//这里要调用分享方法 //这里要调用分享方法
yzwNet.genInvite(() => { yzwNet.genInvite(() => {
let sharecode = DataManager.ins.getData('genInvite').data; let sharecode = DataManager.ins.getData('genInvite').data;
try {
window['AlipayJSBridge'].call(
'esportsShare',
{
title: '寻找2022个亚运梦想活动火热进行中',
content: '快来为我的亚运梦想充能吧',
imgUrl: 'https://yun.duiba.com.cn/db_games/yyhlogo2.png',
url: window['TransLink']+'?shareCode=' + sharecode , type: '3'
});
} catch (error) {
}
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