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
8ad0a7b6
Commit
8ad0a7b6
authored
Dec 10, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fd5fdb23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
TransScene.ts
egret/src/yazuwei/TransScene.ts
+7
-3
No files found.
egret/src/yazuwei/TransScene.ts
View file @
8ad0a7b6
...
...
@@ -68,7 +68,7 @@ export default class TransScene extends Scene {
onshake
()
{
this
[
'shareTips'
].
visible
=
false
;
let
sharecode
=
DataManager
.
ins
.
getData
(
'genInvite'
).
data
;
let
sharecode
=
GameConst
.
getQueryString
(
"shareCode"
)
;
NetManager
.
ins
.
yyh_updateAnimationState
(
sharecode
,
3
,
(
success
)
=>
{
if
(
success
)
{
this
.
changeToTrans
();
...
...
@@ -115,8 +115,12 @@ export default class TransScene extends Scene {
console
.
log
(
'onTap_btn'
);
this
[
'shareTips'
].
visible
=
true
;
//进入页面后发送确认消息
yzwNet
.
accept
(()
=>
{
this
.
addShareEvent
();
yzwNet
.
accept
((
success
)
=>
{
if
(
success
)
{
yzwNet
.
openPass
(()
=>
{
this
.
addShareEvent
();
},
window
[
'projectId'
],
GameConst
.
getQueryString
(
"shareCode"
))
}
},
window
[
'projectId'
],
GameConst
.
getQueryString
(
"shareCode"
));
setTimeout
(()
=>
{
...
...
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