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
ae17782c
Commit
ae17782c
authored
Dec 10, 2019
by
wangzhujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1232
parent
8e94e4bf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
StartScene.ts
egret/src/startScene/StartScene.ts
+4
-0
GuidePanel.ts
egret/src/yazuwei/GuidePanel.ts
+6
-6
No files found.
egret/src/startScene/StartScene.ts
View file @
ae17782c
...
@@ -80,6 +80,10 @@ export default class StartScene extends Scene {
...
@@ -80,6 +80,10 @@ export default class StartScene extends Scene {
GCache
.
writeCache
(
"isGuide"
,
true
);
GCache
.
writeCache
(
"isGuide"
,
true
);
this
.
openGuide
();
this
.
openGuide
();
}
}
if
(
!
GCache
.
readCache
(
"isGuide2"
)){
let
data
=
{
type
:
2
}
PanelCtrl
.
instance
.
show
(
ModuleTypes
.
GUIDE_PANEL
,
data
);
}
if
(
this
.
type
&&
this
.
type
==
1
){
if
(
this
.
type
&&
this
.
type
==
1
){
//引导过程中点亮杭州 回到引导页面显示第几位火炬手
//引导过程中点亮杭州 回到引导页面显示第几位火炬手
...
...
egret/src/yazuwei/GuidePanel.ts
View file @
ae17782c
...
@@ -70,19 +70,19 @@ export default class GuidePanel extends Panel{
...
@@ -70,19 +70,19 @@ export default class GuidePanel extends Panel{
}
}
initXuanshi
(){
initXuanshi
(){
GCache
.
writeCache
(
"isGuide"
,
true
);
GCache
.
writeCache
(
"isGuide
2
"
,
true
);
this
.
guide1
.
visible
=
false
;
this
.
guide1
.
visible
=
false
;
this
.
guide2
.
visible
=
false
;
this
.
guide2
.
visible
=
false
;
this
.
guide3
.
visible
=
false
;
this
.
guide3
.
visible
=
false
;
this
.
xuanshi
.
visible
=
true
;
this
.
xuanshi
.
visible
=
true
;
this
.
dianran
.
visible
=
false
;
this
.
dianran
.
visible
=
false
;
if
(
this
.
data
.
type
==
2
){
//
if(this.data.type == 2){
this
.
onTap
(
this
.
closeBtn
,()
=>
{
this
.
hidePanel
()});
//
this.onTap(this.closeBtn,()=>{this.hidePanel()});
this
.
onTap
(
this
.
fireBtn
,()
=>
{
this
.
hidePanel
()});
//
this.onTap(this.fireBtn,()=>{this.hidePanel()});
}
else
{
//
}else{
this
.
onTap
(
this
.
closeBtn
,
this
.
backStartScene
);
this
.
onTap
(
this
.
closeBtn
,
this
.
backStartScene
);
this
.
onTap
(
this
.
fireBtn
,
this
.
backStartScene
);
this
.
onTap
(
this
.
fireBtn
,
this
.
backStartScene
);
}
//
}
}
}
initDianran
(
data
){
initDianran
(
data
){
...
...
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