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
fe633ef8
Commit
fe633ef8
authored
Dec 12, 2019
by
wangzhujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1232
parent
2acda392
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
index.html
egret/index.html
+2
-1
ConfirmPanel.ts
egret/src/yazuwei/ConfirmPanel.ts
+3
-0
No files found.
egret/index.html
View file @
fe633ef8
...
@@ -53,8 +53,9 @@
...
@@ -53,8 +53,9 @@
<script>
<script>
// window['pageID'] = 'TeamShareScene';
// window['pageID'] = 'TeamShareScene';
// window['pageID'] = 'JoinShareScene';
// window['pageID'] = 'JoinShareScene';
window
[
'pageID'
]
=
'TransScene'
;
//
window['pageID'] = 'TransScene';
// window['pageID'] = 'Share2Scene';
// window['pageID'] = 'Share2Scene';
window
[
'indexhtml'
]
=
'https://yazuwei.activity-1.m.duiba.com.cn/projectx/pbe1f2241/index.html'
window
[
'TransLink'
]
=
''
;
window
[
'TransLink'
]
=
''
;
window
[
'projectId'
]
=
"1"
;
window
[
'projectId'
]
=
"1"
;
window
[
'playwayId'
]
=
"join_1"
;
window
[
'playwayId'
]
=
"join_1"
;
...
...
egret/src/yazuwei/ConfirmPanel.ts
View file @
fe633ef8
...
@@ -29,10 +29,12 @@ export default class ConfirmPanel extends Panel {
...
@@ -29,10 +29,12 @@ export default class ConfirmPanel extends Panel {
initEvents
()
{
initEvents
()
{
super
.
initEvents
();
super
.
initEvents
();
this
.
onTap
(
this
[
'btn'
],
this
.
onTap_btn
);
this
.
onTap
(
this
[
'btn'
],
this
.
onTap_btn
);
this
.
onTap
(
this
[
'closeBtn'
],()
=>
{
history
.
pushState
(
""
,
document
.
title
,
window
[
'indexhtml'
]);})
}
}
onTap_btn
()
{
onTap_btn
()
{
console
.
log
(
'onTap_btn'
);
console
.
log
(
'onTap_btn'
);
yzwNet
.
joinPkTeam
((
success
)
=>
{
yzwNet
.
joinPkTeam
((
success
)
=>
{
const
data
=
DataManager
.
ins
.
getData
(
'joinPkTeam'
);
const
data
=
DataManager
.
ins
.
getData
(
'joinPkTeam'
);
if
(
success
)
{
if
(
success
)
{
...
@@ -44,6 +46,7 @@ export default class ConfirmPanel extends Panel {
...
@@ -44,6 +46,7 @@ export default class ConfirmPanel extends Panel {
//200006 您已加入该战队,请勿重复加入
//200006 您已加入该战队,请勿重复加入
}
}
history
.
pushState
(
""
,
document
.
title
,
window
[
'indexhtml'
]);
this
.
hidePanel
();
this
.
hidePanel
();
},
},
window
[
'projectId'
],
GameConst
.
getQueryString
(
"joinTeamCode"
));
window
[
'projectId'
],
GameConst
.
getQueryString
(
"joinTeamCode"
));
...
...
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