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
1ce96473
Commit
1ce96473
authored
Aug 22, 2022
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改学习时长曲线坐标不准的问题
parent
0b0e3113
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
NJ_usercenter.ts
assets/NJ_usercenter/scene/NJ_usercenter.ts
+1
-1
letterline.png.meta
assets/NJ_usercenter/textures/usercenter/letterline.png.meta
+1
-1
No files found.
assets/NJ_usercenter/scene/NJ_usercenter.ts
View file @
1ce96473
...
...
@@ -216,7 +216,7 @@ 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
()
-
date
.
getDay
(
)
+
index
);
date
.
setDate
(
date
.
getDate
()
-
(
7
-
date
.
getDay
()
)
+
index
);
const
xNode
=
cc
.
find
(
`dp
${
index
}
/date
${
index
}
`
,
linebg
);
const
dateStr
=
date
[
"
pattern
"
](
"
M月d日
"
);
if
(
dateStr
.
split
(
"
月
"
)[
0
]
!=
monthNum
)
{
...
...
assets/NJ_usercenter/textures/usercenter/letterline.png.meta
View file @
1ce96473
...
...
@@ -8,7 +8,7 @@
"genMipmaps": false,
"packable": true,
"width": 153,
"height": 1
1
,
"height": 1
5
,
"platformSettings": {},
"subMetas": {
"letterline": {
...
...
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