Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
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
front-end-dev
techbook
Commits
d2e2ff5c
Commit
d2e2ff5c
authored
Oct 28, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自己删除
parent
3b0e099d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
discussDialog.vue
src/views/mobile/topic/discussDialog.vue
+2
-2
moreDialog.vue
src/views/mobile/topic/moreDialog.vue
+2
-2
No files found.
src/views/mobile/topic/discussDialog.vue
View file @
d2e2ff5c
...
...
@@ -142,10 +142,10 @@
<p
v-for=
"(secondItem,secondIndex) in item.childFirstList"
@
click=
"handleComment(item,secondItem,$event)"
>
<i
v-if=
"secondItem.commentsReplyId==null"
><span>
{{
secondItem
.
nickName
}}
:
</span><span
v-html=
"publicFun.analyzeEmoji(secondItem.commentsContent)"
>
{{
secondItem
.
commentsContent
}}
</span><span
class=
"deleteReply"
v-if=
"userInfo&&(publicFun.isgetUserRoleFunc(2)||(topicInfo&&topicInfo.baseModeratorList.length>0&&publicFun.isgetUserRoleFunc(10)&&userInfo.empId==topicInfo.baseModeratorList[0].empId))"
>
删除
</span></i>
v-html=
"publicFun.analyzeEmoji(secondItem.commentsContent)"
>
{{
secondItem
.
commentsContent
}}
</span><span
class=
"deleteReply"
v-if=
"userInfo&&
userInfo.empId==secondItem.createdBy||userInfo&&
(publicFun.isgetUserRoleFunc(2)||(topicInfo&&topicInfo.baseModeratorList.length>0&&publicFun.isgetUserRoleFunc(10)&&userInfo.empId==topicInfo.baseModeratorList[0].empId))"
>
删除
</span></i>
<i
v-else
><span>
{{
secondItem
.
nickName
?
secondItem
.
nickName
:
secondItem
.
empName
}}
<span
style=
"color: #3F3F53;"
>
回复
</span>
{{
secondItem
.
replyNickName
}}
:
</span><span
v-html=
"publicFun.analyzeEmoji(secondItem.commentsContent)"
>
{{
secondItem
.
commentsContent
}}
</span><span
class=
"deleteReply"
v-if=
"userInfo&&(publicFun.isgetUserRoleFunc(2)||(topicInfo&&topicInfo.baseModeratorList.length>0&&publicFun.isgetUserRoleFunc(10)&&userInfo.empId==topicInfo.baseModeratorList[0].empId))"
>
删除
</span></i>
v-html=
"publicFun.analyzeEmoji(secondItem.commentsContent)"
>
{{
secondItem
.
commentsContent
}}
</span><span
class=
"deleteReply"
v-if=
"userInfo&&
userInfo.empId==secondItem.createdBy||userInfo&&
(publicFun.isgetUserRoleFunc(2)||(topicInfo&&topicInfo.baseModeratorList.length>0&&publicFun.isgetUserRoleFunc(10)&&userInfo.empId==topicInfo.baseModeratorList[0].empId))"
>
删除
</span></i>
</p>
</div>
<div
class=
"div1px"
...
...
src/views/mobile/topic/moreDialog.vue
View file @
d2e2ff5c
...
...
@@ -87,13 +87,13 @@
</div>
<div
class=
"bottomInfo"
v-if=
"item.replyNickName==null"
@
click=
"handleComment(tableData[0],item,$event)"
>
<p><span
v-html=
"analyzeEmoji(item.commentsContent)"
>
{{
item
.
commentsContent
}}
</span><span
class=
"deleteReply"
v-if=
"cancelVisible"
>
删除
</span></p>
<p><span
v-html=
"analyzeEmoji(item.commentsContent)"
>
{{
item
.
commentsContent
}}
</span><span
class=
"deleteReply"
v-if=
"cancelVisible
||userInfo&&userInfo.empId==item.createdBy
"
>
删除
</span></p>
</div>
<div
class=
"manyComment"
v-if=
"item.replyNickName!=null"
>
<p
@
click=
"handleComment(tableData[0],item,$event)"
>
<span><span>
回复
</span><span
style=
"color: #5d78ff;"
>
@
{{
item
.
replyNickName
}}
</span>
:
</span><span
v-html=
"analyzeEmoji(item.commentsContent)"
>
{{
item
.
commentsContent
}}
</span><span
class=
"deleteReply"
v-if=
"cancelVisible"
>
删除
</span>
v-html=
"analyzeEmoji(item.commentsContent)"
>
{{
item
.
commentsContent
}}
</span><span
class=
"deleteReply"
v-if=
"cancelVisible
||userInfo&&userInfo.empId==item.createdBy
"
>
删除
</span>
</p>
</div>
...
...
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