Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
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
李伟
cust-app
Commits
f24e04f1
Commit
f24e04f1
authored
Jan 15, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了用户详情页面
parent
4cfd7b8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Item.vue
pages/components/article/Item.vue
+1
-1
userInfo.vue
pagesUser/userInfo.vue
+3
-3
No files found.
pages/components/article/Item.vue
View file @
f24e04f1
...
...
@@ -177,7 +177,7 @@
//查看用户详情
gotoUserInfo
(
item
)
{
uni
.
navigateTo
({
url
:
'/pagesUser/userInfo?
id='
+
item
.
us
erId
url
:
'/pagesUser/userInfo?
memberId='
+
item
.
memb
erId
})
},
// 点赞
...
...
pagesUser/userInfo.vue
View file @
f24e04f1
...
...
@@ -252,7 +252,7 @@
data
:
[],
count
:
0
,
userId
:
''
,
memId
:
''
,
mem
ber
Id
:
''
,
city
:
(
uni
.
getStorageSync
(
'itemobj'
).
city
!=
null
&&
uni
.
getStorageSync
(
'itemobj'
).
city
!=
undefined
)
?
uni
.
getStorageSync
(
'itemobj'
).
city
:
"中国"
,
share
:
false
,
...
...
@@ -261,7 +261,7 @@
};
},
onLoad
(
options
)
{
this
.
mem
Id
=
options
.
i
d
;
this
.
mem
berId
=
options
.
memberI
d
;
this
.
getUserDetail
();
if
(
options
.
share
!=
null
)
{
this
.
share
=
options
.
share
;
...
...
@@ -341,7 +341,7 @@
},
//获取用户详情
getUserDetail
(){
userDetail
(
this
.
memId
).
then
(
res
=>
{
userDetail
(
this
.
mem
ber
Id
).
then
(
res
=>
{
this
.
userData
=
res
.
data
.
data
this
.
userId
=
this
.
userData
.
userId
//处理头像
...
...
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