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
75e31530
Commit
75e31530
authored
Nov 08, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2a784a17
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
HbCutTime.ts
egret/src/panels/HongbaoRain/HbCutTime.ts
+2
-2
HbNoPrize.ts
egret/src/panels/HongbaoRain/HbNoPrize.ts
+2
-2
HbPrize.ts
egret/src/panels/HongbaoRain/HbPrize.ts
+2
-2
No files found.
egret/src/panels/HongbaoRain/HbCutTime.ts
View file @
75e31530
...
...
@@ -51,7 +51,7 @@ export default class HbCutTime extends Panel {
time
=
data
.
currentSession
.
endTime
-
sysTime
+
3000
;
if
(
data
.
canJoin
)
{
this
.
ok_btn
.
source
=
'hbCutTime_btn_enable_png'
;
NetManager
.
ins
.
showLog
(
getlogItem
(
5
9
));
NetManager
.
ins
.
showLog
(
getlogItem
(
5
8
));
this
.
btnEffect
();
this
.
ok_btn
.
addEventListener
(
egret
.
TouchEvent
.
TOUCH_TAP
,
this
.
onTouchOK
,
this
);
}
else
{
...
...
@@ -130,7 +130,7 @@ export default class HbCutTime extends Panel {
}
onTouchOK
()
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
5
9
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
5
8
));
PanelCtrl
.
instance
.
show
(
'HbGame'
,
{
needScore
:
this
.
data
.
res
.
data
.
currentSession
.
limitScore
});
}
...
...
egret/src/panels/HongbaoRain/HbNoPrize.ts
View file @
75e31530
...
...
@@ -28,7 +28,7 @@ export default class HbNoPrize extends Panel {
}
initUI
()
{
NetManager
.
ins
.
showLog
(
getlogItem
(
6
1
));
NetManager
.
ins
.
showLog
(
getlogItem
(
6
0
));
let
type
=
this
.
data
.
type
;
switch
(
true
)
{
case
(
type
==
1
):
...
...
@@ -65,7 +65,7 @@ export default class HbNoPrize extends Panel {
}
onTouchOK
()
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
6
1
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
6
0
));
if
((
getHomeData
().
levels
.
length
+
1
)
>
window
[
'last_level'
])
{
changeMapScene
();
super
.
hidePanel
();
...
...
egret/src/panels/HongbaoRain/HbPrize.ts
View file @
75e31530
...
...
@@ -59,7 +59,7 @@ export default class HbPrize extends Panel {
}
initUI
()
{
NetManager
.
ins
.
showLog
(
getlogItem
(
60
));
NetManager
.
ins
.
showLog
(
getlogItem
(
59
));
}
...
...
@@ -79,7 +79,7 @@ export default class HbPrize extends Panel {
}
onTouchOK
()
{
NetManager
.
ins
.
clickLog
(
getlogItem
(
60
));
NetManager
.
ins
.
clickLog
(
getlogItem
(
59
));
if
((
getHomeData
().
levels
.
length
+
1
)
>
window
[
'last_level'
])
{
changeMapScene
();
super
.
hidePanel
();
...
...
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