Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_usercenter
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_usercenter
Commits
94699344
Commit
94699344
authored
Aug 22, 2022
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
1ce96473
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
49 deletions
+50
-49
NJ_usercenter.fire
assets/NJ_usercenter/scene/NJ_usercenter.fire
+48
-48
NJ_usercenter.ts
assets/NJ_usercenter/scene/NJ_usercenter.ts
+2
-1
No files found.
assets/NJ_usercenter/scene/NJ_usercenter.fire
View file @
94699344
This diff is collapsed.
Click to expand it.
assets/NJ_usercenter/scene/NJ_usercenter.ts
View file @
94699344
...
...
@@ -216,7 +216,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
for
(
let
i
=
1
;
i
<
8
;
i
++
)
{
const
index
=
i
;
const
value
=
this
.
learntimes
[
i
-
1
];
date
.
setDate
(
date
.
getDate
()
-
(
7
-
date
.
getDay
())
+
index
);
let
day
=
date
.
getDay
()
==
0
?
7
:
date
.
getDay
();
date
.
setDate
(
date
.
getDate
()
-
day
+
index
);
const
xNode
=
cc
.
find
(
`dp
${
index
}
/date
${
index
}
`
,
linebg
);
const
dateStr
=
date
[
"
pattern
"
](
"
M月d日
"
);
if
(
dateStr
.
split
(
"
月
"
)[
0
]
!=
monthNum
)
{
...
...
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