Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
崔立强
db-game-template
Commits
b4223bc7
Commit
b4223bc7
authored
Nov 28, 2019
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
466829ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
IndexScene.ts
egret/src/indexScene/IndexScene.ts
+6
-2
No files found.
egret/src/indexScene/IndexScene.ts
View file @
b4223bc7
...
@@ -144,7 +144,8 @@ export default class IndexScene extends Scene {
...
@@ -144,7 +144,8 @@ export default class IndexScene extends Scene {
this
.
btn
.
y
=
9
;
this
.
btn
.
y
=
9
;
this
.
shareBtn
.
visible
=
false
;
this
.
shareBtn
.
visible
=
false
;
this
.
cutLabel
.
visible
=
false
;
this
.
cutLabel
.
visible
=
false
;
this
.
tipsLabel
.
visible
=
false
;
this
.
tipsLabel
.
visible
=
true
;
this
.
tipsLabel
.
text
=
'活动已结束'
;
return
;
return
;
}
}
// console.log(res);
// console.log(res);
...
@@ -175,6 +176,7 @@ export default class IndexScene extends Scene {
...
@@ -175,6 +176,7 @@ export default class IndexScene extends Scene {
if
(
shared
)
{
if
(
shared
)
{
this
.
btn
.
visible
=
false
;
this
.
btn
.
visible
=
false
;
this
.
shareBtn
.
visible
=
false
;
this
.
shareBtn
.
visible
=
false
;
this
.
tipsLabel
.
visible
=
true
;
this
.
tipsLabel
.
y
=
5
;
this
.
tipsLabel
.
y
=
5
;
switch
(
true
)
{
switch
(
true
)
{
case
(
currentTimeSlot
==
1
||
currentTimeSlot
==
2
):
case
(
currentTimeSlot
==
1
||
currentTimeSlot
==
2
):
...
@@ -213,11 +215,13 @@ export default class IndexScene extends Scene {
...
@@ -213,11 +215,13 @@ export default class IndexScene extends Scene {
this
.
btn
.
y
=
9
;
this
.
btn
.
y
=
9
;
this
.
shareBtn
.
visible
=
false
;
this
.
shareBtn
.
visible
=
false
;
this
.
cutLabel
.
visible
=
false
;
this
.
cutLabel
.
visible
=
false
;
this
.
tipsLabel
.
visible
=
false
;
this
.
tipsLabel
.
visible
=
true
;
this
.
tipsLabel
.
text
=
'活动已结束'
;
}
else
{
}
else
{
this
.
btn
.
visible
=
false
;
this
.
btn
.
visible
=
false
;
this
.
shareBtn
.
visible
=
false
;
this
.
shareBtn
.
visible
=
false
;
this
.
tipsLabel
.
y
=
5
;
this
.
tipsLabel
.
y
=
5
;
this
.
tipsLabel
.
visible
=
true
;
switch
(
true
)
{
switch
(
true
)
{
case
(
currentTimeSlot
==
1
||
currentTimeSlot
==
2
):
case
(
currentTimeSlot
==
1
||
currentTimeSlot
==
2
):
this
.
tipsLabel
.
text
=
`距离第一场开始还剩`
;
this
.
tipsLabel
.
text
=
`距离第一场开始还剩`
;
...
...
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