Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
xiaoxiaole
Commits
f2cb5e21
Commit
f2cb5e21
authored
Aug 29, 2019
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
4b6d3027
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MainScene.ts
egret/src/mainScene/MainScene.ts
+3
-3
No files found.
egret/src/mainScene/MainScene.ts
View file @
f2cb5e21
...
@@ -765,7 +765,7 @@ export default class MainScene extends Scene {
...
@@ -765,7 +765,7 @@ export default class MainScene extends Scene {
PanelCtrl
.
instance
.
show
(
"quit"
,
{
level
:
this
.
chapter
});
PanelCtrl
.
instance
.
show
(
"quit"
,
{
level
:
this
.
chapter
});
}
}
onTap_boomBtn
()
{
onTap_boomBtn
()
{
NetManager
.
ins
.
show
Log
(
getlogItem
(
7
));
NetManager
.
ins
.
click
Log
(
getlogItem
(
7
));
if
(
this
.
boomBtnNum
.
count
<=
0
)
{
if
(
this
.
boomBtnNum
.
count
<=
0
)
{
//购买弹框
//购买弹框
PanelCtrl
.
instance
.
show
(
"Buy2"
)
PanelCtrl
.
instance
.
show
(
"Buy2"
)
...
@@ -774,7 +774,7 @@ export default class MainScene extends Scene {
...
@@ -774,7 +774,7 @@ export default class MainScene extends Scene {
}
}
}
}
onTap_hammerBtn
()
{
onTap_hammerBtn
()
{
NetManager
.
ins
.
show
Log
(
getlogItem
(
10
));
NetManager
.
ins
.
click
Log
(
getlogItem
(
10
));
if
(
this
.
hammerBtnNum
.
count
<=
0
)
{
if
(
this
.
hammerBtnNum
.
count
<=
0
)
{
//购买弹框
//购买弹框
PanelCtrl
.
instance
.
show
(
"Buy1"
,
{})
PanelCtrl
.
instance
.
show
(
"Buy1"
,
{})
...
@@ -783,7 +783,7 @@ export default class MainScene extends Scene {
...
@@ -783,7 +783,7 @@ export default class MainScene extends Scene {
}
}
}
}
onTap_stepBtn
()
{
onTap_stepBtn
()
{
NetManager
.
ins
.
show
Log
(
getlogItem
(
13
));
NetManager
.
ins
.
click
Log
(
getlogItem
(
13
));
if
(
this
.
stepBtnNum
.
count
<=
0
)
{
if
(
this
.
stepBtnNum
.
count
<=
0
)
{
//购买弹框
//购买弹框
PanelCtrl
.
instance
.
show
(
"Buy3"
,
{})
PanelCtrl
.
instance
.
show
(
"Buy3"
,
{})
...
...
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