mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
提交
This commit is contained in:
@@ -270,12 +270,15 @@ export default {
|
|||||||
if(this.type==30){
|
if(this.type==30){
|
||||||
content='案例评论'
|
content='案例评论'
|
||||||
}
|
}
|
||||||
if(this.type==60 || this.type==10 || this.type==20 || this.type==30) {
|
// 评论点赞通知没有关联id,评论通知暂时关闭
|
||||||
content=sendName+typeText+content
|
if(this.type==60 || this.type==10 || this.type==20 || this.type==30 || this.type == 6) {
|
||||||
|
return;
|
||||||
|
// content=sendName+typeText+content
|
||||||
} else {
|
} else {
|
||||||
content=sendName+typeText+content+'-'+title
|
content=sendName+typeText+content+'-'+title
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
let message={
|
let message={
|
||||||
content,
|
content,
|
||||||
refId,
|
refId,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="comment-body" >
|
<div class="comment-body" >
|
||||||
<div class="comment-info" @mouseover="showButtons(com.id)" @mouseout="hideButtons()">
|
<div class="comment-info" @mouseover="showButtons(com.id)" @mouseout="hideButtons()">
|
||||||
<div class="comment-content" @click="cancelReply()">{{com.id}}
|
<div class="comment-content" @click="cancelReply()">
|
||||||
<span class="play-time" v-if="com.playTime>0"><img :src="`${webBaseUrl}/images/coteplay.png`" alt=""> {{ getHMS(com.playTime) }}</span>
|
<span class="play-time" v-if="com.playTime>0"><img :src="`${webBaseUrl}/images/coteplay.png`" alt=""> {{ getHMS(com.playTime) }}</span>
|
||||||
<span class="portal-summary-text" style="color: #666666;" v-html="displayAll(com)"></span>
|
<span class="portal-summary-text" style="color: #666666;" v-html="displayAll(com)"></span>
|
||||||
<span v-if="com.content.length>170" @click="changeIsAll(com)">
|
<span v-if="com.content.length>170" @click="changeIsAll(com)">
|
||||||
|
|||||||
Reference in New Issue
Block a user