Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
1b1d4ea0
Commit
1b1d4ea0
authored
Apr 26, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息里面查看用户
parent
f7a0590b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
9 deletions
+18
-9
circleNews.vue
pages/blindDate/circleNews.vue
+1
-1
mydetails.vue
pages/friendcircle/mydetails.vue
+17
-8
No files found.
pages/blindDate/circleNews.vue
View file @
1b1d4ea0
...
...
@@ -208,7 +208,7 @@
},
goUserinfo
(
x
){
uni
.
navigateTo
({
url
:
'/pages/blindDate/persondetails?UserId='
+
x
.
UserId
url
:
'/pages/blindDate/persondetails?UserId='
+
x
.
CreateBy
});
},
//设置全部消息为已看
...
...
pages/friendcircle/mydetails.vue
View file @
1b1d4ea0
...
...
@@ -194,7 +194,7 @@
<u-empty
v-if=
"loading==true"
text=
"网络出现故障"
mode=
"wifi"
></u-empty>
<view
class=
"box"
v-if=
"loading==false"
@
click=
"blurc"
>
<view
class=
"ftBox"
>
<view
class=
"ftBox-left"
@
click=
"goUserinfo(detial)"
>
<view
class=
"ftBox-left"
@
click=
"goUserinfo(detial
,1
)"
>
<u-avatar
:src=
"detial.crearteEmPhoto"
size=
'80'
mode=
"square"
></u-avatar>
</view>
<view
class=
"ftBox-right"
>
...
...
@@ -272,20 +272,20 @@
<view
class=
"areagood"
v-if=
" detial.likeList.length>0"
>
<u-icon
name=
"like-o"
:size=
"30"
color=
"#737373"
></u-icon>
<view
class=
"areagood-r text"
>
<text
v-for=
"(item, iq) in detial.likeList"
:key=
"iq"
>
{{
item
.
empName
}}{{
detial
.
likeList
.
length
!=
iq
+
1
?
'、'
:
''
}}
</text>
<text
v-for=
"(item, iq) in detial.likeList"
:key=
"iq"
@
click=
"goUserinfo(item,2)"
>
{{
item
.
empName
}}{{
detial
.
likeList
.
length
!=
iq
+
1
?
'、'
:
''
}}
</text>
</view>
</view>
<view
v-if=
"detial.likeList.length>0 && detial.commentList.length>0"
style=
"width: 100%;height: 1px;background: rgb(226, 226, 226);"
></view>
<view
class=
"areagood"
v-if=
" detial.commentList.length>0"
>
<u-icon
name=
"comment-o"
:size=
"30"
color=
"#737373"
style=
'margin-top: 2px;'
></u-icon>
<view
class=
"areagood-r"
>
<view
v-for=
"(item, iq) in detial.commentList"
:key=
"iq"
style=
"width: 100%;margin-bottom: 7px;"
@
click
.
stop=
"huifu(detial,item,iq)"
@
longpress=
'longpress(detial,item,iq)'
>
<view
class=
"text comment-list"
>
<view
v-for=
"(item, iq) in detial.commentList"
:key=
"iq"
style=
"width: 100%;margin-bottom: 7px;"
@
longpress=
'longpress(detial,item,iq)'
>
<view
class=
"text comment-list"
@
click
.
stop=
"goUserinfo(item,2)"
>
{{
item
.
empName
}}
<text
style=
"color: #333333;margin: 0 3px;"
v-if=
"item.byReplayEmpId>0"
>
回复
</text>
{{
item
.
byReplayEmpId
>
0
?
item
.
byReplayEmpName
:
''
}}
</view>
<view
class=
"text2"
>
{{
item
.
content
}}
</view>
<view
class=
"text2"
@
click
.
stop=
"huifu(detial,item,iq)"
>
{{
item
.
content
}}
</view>
</view>
</view>
...
...
@@ -356,6 +356,7 @@
index
:
0
,
//上个页面的索引
inputheight
:
0
,
//键盘的高度
is_bang
:
0
,
IsOpenMiAi
:
0
,
//1开启 0 没开启
}
},
onLoad
(
options
)
{
...
...
@@ -375,6 +376,7 @@
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
this
.
pricecolor
=
this
.
$uiConfig
.
pricecolor
;
this
.
UserId
=
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
:
0
;
this
.
IsOpenMiAi
=
uni
.
getStorageSync
(
"basedata"
)?
uni
.
getStorageSync
(
"basedata"
).
mall
.
setting
.
is_show_miai
:
0
;
//是否开启相亲模式
},
onUnload
(){
...
...
@@ -562,9 +564,16 @@
);
},
goUserinfo
(
x
){
uni
.
navigateTo
({
url
:
'/pages/blindDate/persondetails?UserId='
+
x
.
createEmpId
});
let
UserId
=
x
.
createEmpId
if
(
type
==
2
){
UserId
=
x
.
empId
}
if
(
this
.
IsOpenMiAi
==
1
){
uni
.
navigateTo
({
url
:
'/pages/blindDate/persondetails?UserId='
+
UserId
});
}
},
paste
(){
//复制
uni
.
setClipboardData
({
...
...
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