Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
yyh
Commits
242295cf
Commit
242295cf
authored
Dec 10, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
634fa5e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
ShareStarterScene.ts
egret/src/yazuwei/ShareStarterScene.ts
+14
-13
No files found.
egret/src/yazuwei/ShareStarterScene.ts
View file @
242295cf
...
...
@@ -81,24 +81,25 @@ export default class ShareStarterScene extends Scene {
}
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
[
'transbtn'
].
visible
=
false
;
//这里要调用分享方法
yzwNet
.
genInvite
(()
=>
{
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
;
NetManager
.
ins
.
yyh_pollingAnimationState
((
success
)
=>
{
const
data
=
DataManager
.
ins
.
getData
(
'yyh_pollingAnimationState'
).
data
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment