Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
cca978fe
Commit
cca978fe
authored
Mar 21, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5eb368d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
user-profile.vue
pages/user-center/user-profile.vue
+2
-2
No files found.
pages/user-center/user-profile.vue
View file @
cca978fe
<
template
>
<view
class=
"user-profile column items-center"
>
<view
style=
"margin-top: 20vh;"
class=
"user-head"
:style=
"
{'background-image':`url(${user.photo})`}">
<view
style=
"margin-top: 20vh;"
class=
"user-head"
:style=
"
{'background-image':`url(${user.photo
?user.photo:'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638748795455095258.png'
})`}">
<button
class=
"editor-box"
open-type=
"chooseAvatar"
@
chooseavatar=
"avatarChangeHandle"
>
<u-icon
name=
"pen_"
size=
"20"
custom-prefix=
"tffont"
color=
"#121212"
></u-icon>
</button>
...
...
@@ -65,7 +65,7 @@
const
{
name
}
=
uni
.
getStorageSync
(
'b2b_user'
)
if
(
this
.
user
.
name
==
''
)
this
.
user
.
name
=
name
this
.
saveVisible
=
this
.
user
.
name
!=
name
},
saveNicknameHandle
(){
if
(
this
.
user
.
name
!=
''
&&
this
.
saveVisible
)
this
.
saveUserProfileHandle
()
...
...
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