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
8e860246
Commit
8e860246
authored
Dec 11, 2019
by
wangzhujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1232
parent
9eeb7679
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
StartScene.ts
egret/src/startScene/StartScene.ts
+2
-2
GuidePanel.ts
egret/src/yazuwei/GuidePanel.ts
+1
-1
No files found.
egret/src/startScene/StartScene.ts
View file @
8e860246
...
@@ -126,13 +126,13 @@ export default class StartScene extends Scene {
...
@@ -126,13 +126,13 @@ export default class StartScene extends Scene {
if
(
this
.
type
&&
this
.
type
==
1
){
if
(
this
.
type
&&
this
.
type
==
1
){
//引导过程中点亮杭州 回到引导页面显示第几位火炬手
//引导过程中点亮杭州 回到引导页面显示第几位火炬手
this
.
hand
.
visible
=
true
;
//
this.hand.visible = true;
this
.
onTap
(
this
.
unlockBtn
,
this
.
GuideFive
);
this
.
onTap
(
this
.
unlockBtn
,
this
.
GuideFive
);
}
else
{
}
else
{
if
(
data
.
currentLevel
>
0
){
if
(
data
.
currentLevel
>
0
){
this
.
needscore
.
visible
=
true
;
this
.
needscore
.
visible
=
true
;
this
.
needscore
.
text
=
"需要达到"
+
data
.
nextLevelScore
+
"分数"
this
.
needscore
.
text
=
"需要达到"
+
data
.
nextLevelScore
+
"分数"
this
.
needscore
.
touchEnabled
=
tru
e
;
this
.
needscore
.
touchEnabled
=
fals
e
;
if
(
data
.
nextLevelScore
>
data
.
currentScore
){
if
(
data
.
nextLevelScore
>
data
.
currentScore
){
this
.
onTap
(
this
.
unlockBtn
,
this
.
noCredits
);
this
.
onTap
(
this
.
unlockBtn
,
this
.
noCredits
);
this
.
unlockBtn
.
icon
=
"lockBtn_png"
;
this
.
unlockBtn
.
icon
=
"lockBtn_png"
;
...
...
egret/src/yazuwei/GuidePanel.ts
View file @
8e860246
...
@@ -91,7 +91,7 @@ export default class GuidePanel extends Panel{
...
@@ -91,7 +91,7 @@ export default class GuidePanel extends Panel{
this
.
guide3
.
visible
=
false
;
this
.
guide3
.
visible
=
false
;
this
.
xuanshi
.
visible
=
false
;
this
.
xuanshi
.
visible
=
false
;
this
.
dianran
.
visible
=
true
;
this
.
dianran
.
visible
=
true
;
this
.
numlab
.
text
=
"第"
+
data
.
startdata
+
"线上火炬手"
this
.
numlab
.
text
=
"第"
+
data
.
startdata
+
"
位
线上火炬手"
this
.
onTap
(
this
.
dianran
,
this
.
goPlace
);
this
.
onTap
(
this
.
dianran
,
this
.
goPlace
);
}
}
backStartScene
(){
backStartScene
(){
...
...
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