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
2b8a76c4
Commit
2b8a76c4
authored
Mar 30, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c3a32aba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
16 deletions
+22
-16
postDetails.vue
pages/blindDate/postDetails.vue
+22
-16
No files found.
pages/blindDate/postDetails.vue
View file @
2b8a76c4
...
...
@@ -553,13 +553,12 @@
</view>
</view>
<view
class=
"pl-content pl-left"
@
click=
"replyone(x,2)"
@
longpress=
'longpress(x,i,2)'
>
<text
v-if=
"x.ReplyUserName!=''"
>
回复
<text
:style=
"
{color:mainColor}"
>
{{
x
.
ReplyUserName
}}
</text>
:
</text>
<text
v-if=
"x.ReplyUserName!=''"
>
{{
x
.
ReplyUserName
!=
null
?
'回复'
:
'评论了'
}}
<text
:style=
"
{color:mainColor}" v-if='x.ReplyUserName!=null'
>
{{
x
.
ReplyUserName
}}
</text>
:
</text>
{{
x
.
Content
}}
</view>
</view>
</view>
</scroll-view>
</view>
<view
class=
"comment"
>
...
...
@@ -706,7 +705,7 @@
this
.
getCount
()
//获取评论的总数量
}
let
UserId
=
uni
.
getStorageSync
(
'mall_UserInfo'
)?
uni
.
getStorageSync
(
'mall_UserInfo'
).
UserId
:
0
;
this
.
sendMsg
.
ReplyUserId
=
UserId
//
this.sendMsg.ReplyUserId = UserId
this
.
UserId
=
UserId
},
onShareTimeline
()
{
...
...
@@ -979,22 +978,29 @@
this
.
oneheight
=
0
},
replyone
(
x
,
type
=
1
){
if
(
type
==
1
){
this
.
sendMsg
.
ParentId
=
x
.
Id
;
let
UserId
=
uni
.
getStorageSync
(
'mall_UserInfo'
)?
uni
.
getStorageSync
(
'mall_UserInfo'
).
UserId
:
0
;
if
(
UserId
!=
x
.
UserId
){
if
(
type
==
1
){
this
.
sendMsg
.
ParentId
=
x
.
Id
;
}
else
{
this
.
sendMsg
.
ParentId
=
this
.
msg2
.
ParentId
}
// this.sendMsg.ReplyUserId = x.UserId;
this
.
ParentName
=
x
.
UserName
;
if
(
type
==
1
){
this
.
showreply
=
true
}
if
(
type
==
2
){
this
.
sendMsg
.
ReplyUserId
=
x
.
UserId
;
this
.
showreply2
=
true
}
}
else
{
this
.
s
endMsg
.
ParentId
=
this
.
msg2
.
ParentId
this
.
s
howreply
=
true
}
this
.
sendMsg
.
ReplyUserId
=
x
.
UserId
;
this
.
ParentName
=
x
.
UserName
;
if
(
type
==
1
){
this
.
showreply
=
true
}
if
(
type
==
2
){
this
.
showreply2
=
true
}
},
lower2
(){
if
(
this
.
msg2
.
pageIndex
<
this
.
page_count2
)
{
...
...
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