Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_YouLeChang
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
NJ_YouLeChang
Commits
bec34925
Commit
bec34925
authored
Feb 06, 2023
by
liujiangnan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://vcs.ireadabc.com/template/NJ_YouLeChang
parents
04e0f8c7
52cbf040
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
258 additions
and
134 deletions
+258
-134
NJ_YouLeChang.fire
assets/NJ_YouLeChang/scene/NJ_YouLeChang.fire
+252
-133
NJ_YouLeChang.ts
assets/NJ_YouLeChang/scene/NJ_YouLeChang.ts
+4
-0
tips_NJ_YouLeChang.js
assets/NJ_YouLeChang/script/tips_NJ_YouLeChang.js
+2
-1
No files found.
assets/NJ_YouLeChang/scene/NJ_YouLeChang.fire
View file @
bec34925
This diff is collapsed.
Click to expand it.
assets/NJ_YouLeChang/scene/NJ_YouLeChang.ts
View file @
bec34925
...
@@ -25,6 +25,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -25,6 +25,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
if
(
this
.
engineType
==
'
aixuebao
'
)
{
if
(
this
.
engineType
==
'
aixuebao
'
)
{
cc
.
find
(
`Canvas/userInfo/frame/BtnLogout/text`
).
getComponent
(
cc
.
Label
).
string
=
"
退出APP
"
;
cc
.
find
(
`Canvas/userInfo/frame/BtnLogout/text`
).
getComponent
(
cc
.
Label
).
string
=
"
退出APP
"
;
}
}
}
else
{
// 纸屏互动版本
cc
.
find
(
`Canvas/bg_ground/bg_grass`
).
active
=
true
;
cc
.
find
(
`Canvas/bg_ground/bg_grass_lite`
).
active
=
false
;
}
}
await
this
.
initData
();
await
this
.
initData
();
await
this
.
initView
();
await
this
.
initView
();
...
...
assets/NJ_YouLeChang/script/tips_NJ_YouLeChang.js
View file @
bec34925
...
@@ -33,7 +33,8 @@ cc.Class({
...
@@ -33,7 +33,8 @@ cc.Class({
start
()
{
start
()
{
const
currentStage
=
"
NJ_YouLeChang
"
;
const
currentStage
=
"
NJ_YouLeChang
"
;
const
nextStage
=
"
NJ_Menu
"
;
const
nextStage
=
"
NJ_Menu
"
;
const
tipsNode
=
cc
.
find
(
"
tips
"
,
this
.
node
)
const
tipsNode
=
cc
.
find
(
"
tips
"
,
this
.
node
);
let
tipsStage
=
cc
.
sys
.
localStorage
.
getItem
(
'
SYS_GUIDE_TIPS
'
);
let
tipsStage
=
cc
.
sys
.
localStorage
.
getItem
(
'
SYS_GUIDE_TIPS
'
);
if
(
!
tipsStage
)
{
if
(
!
tipsStage
)
{
tipsStage
=
currentStage
;
tipsStage
=
currentStage
;
...
...
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