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
766c334d
Commit
766c334d
authored
Aug 02, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 默认昵称
parent
917106a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
NJ_usercenter.ts
assets/NJ_usercenter/scene/NJ_usercenter.ts
+3
-3
No files found.
assets/NJ_usercenter/scene/NJ_usercenter.ts
View file @
766c334d
...
@@ -71,9 +71,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -71,9 +71,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
find
(
"
avatar
"
,
usercenter
).
getComponent
(
cc
.
Sprite
).
spriteFrame
=
this
.
picture
[
avatarIndex
];
cc
.
find
(
"
avatar
"
,
usercenter
).
getComponent
(
cc
.
Sprite
).
spriteFrame
=
this
.
picture
[
avatarIndex
];
cc
.
find
(
"
Canvas/reportdetail/view/content/userdetail_scollpage/learnshow/avatarbg/avatar
"
).
getComponent
(
cc
.
Sprite
).
spriteFrame
=
this
.
picture
[
avatarIndex
];
cc
.
find
(
"
Canvas/reportdetail/view/content/userdetail_scollpage/learnshow/avatarbg/avatar
"
).
getComponent
(
cc
.
Sprite
).
spriteFrame
=
this
.
picture
[
avatarIndex
];
// 昵称
// 昵称
cc
.
find
(
"
nickname
"
,
usercenter
).
getComponent
(
cc
.
Label
).
string
=
userInfo
.
nick_name
||
""
;
cc
.
find
(
"
nickname
"
,
usercenter
).
getComponent
(
cc
.
Label
).
string
=
userInfo
.
nick_name
||
"
拼读达人
"
;
cc
.
find
(
"
Canvas/learnreport/nick_name
"
).
getComponent
(
cc
.
Label
).
string
=
userInfo
.
nick_name
||
""
;
cc
.
find
(
"
Canvas/learnreport/nick_name
"
).
getComponent
(
cc
.
Label
).
string
=
userInfo
.
nick_name
||
"
拼读达人
"
;
cc
.
find
(
"
Canvas/reportdetail/view/content/userdetail_scollpage/learnshow/avatarbg/namebg/nickname
"
).
getComponent
(
cc
.
Label
).
string
=
userInfo
.
nick_name
||
""
;
cc
.
find
(
"
Canvas/reportdetail/view/content/userdetail_scollpage/learnshow/avatarbg/namebg/nickname
"
).
getComponent
(
cc
.
Label
).
string
=
userInfo
.
nick_name
||
"
拼读达人
"
;
// 日历牌
// 日历牌
cc
.
find
(
"
learndate
"
,
usercenter
).
getComponent
(
cc
.
Label
).
string
=
this
.
getFomartDate
();
cc
.
find
(
"
learndate
"
,
usercenter
).
getComponent
(
cc
.
Label
).
string
=
this
.
getFomartDate
();
// 当前学习进度
// 当前学习进度
...
...
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