mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
笔记动态,去掉评分
This commit is contained in:
@@ -369,7 +369,7 @@ export default {
|
||||
content: "编辑了笔记",//this.mynoteData.content,//事件的内容
|
||||
objId: res.result.id,//关联的id
|
||||
objType: "6",//关联的类型
|
||||
objInfo: this.data.name +'&'+ this.score,
|
||||
objInfo: this.data.name,
|
||||
aid: this.userInfo.aid, //当前登录人的id
|
||||
aname: this.userInfo.name,//当前人的姓名
|
||||
status: 1 //状态,直接写1
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<svg-icon style="margin-right: 10px;font-size:22px;padding-top: 4px;" icon-class="eyes"></svg-icon>隐藏
|
||||
</span>
|
||||
</p>
|
||||
<h6 class="note-title-info follow-home-title pointer"><span @click="jumpDetail(item)">{{processNoteTitles(item.contentInfo, 1)}}</span> <span style="color: #333333;font-weight: 400;font-size: 14px;margin-left: 20px;"></span> <span class="score-info" @click="jumpDetail(item)" style="margin-left:22px">{{processNoteTitles(item.contentInfo, 2)}}分</span>
|
||||
<h6 class="note-title-info follow-home-title pointer"><span @click="jumpDetail(item)">{{item.contentInfo}}</span> <span style="color: #333333;font-weight: 400;font-size: 14px;margin-left: 20px;"></span>
|
||||
<span class="follow-hide pointer" style="float:right" v-if="!isDynamic && personal && !item.hidden" @click="emitHide(item.id)">
|
||||
<svg-icon style="margin-right: 10px;font-size:22px;padding-top: 4px;" icon-class="eyes"></svg-icon>隐藏
|
||||
</span>
|
||||
@@ -66,20 +66,6 @@
|
||||
mounted() {
|
||||
},
|
||||
methods:{
|
||||
processNoteTitles(info,num) {
|
||||
if(info == null){
|
||||
return
|
||||
}
|
||||
if(info.indexOf('&')<0) {
|
||||
return 0;
|
||||
}
|
||||
let data = info.split('&');
|
||||
if(num ==1) {
|
||||
return data[0];
|
||||
} else {
|
||||
return this.toScore(Number(data[1]));
|
||||
}
|
||||
},
|
||||
jumpDetail(item){
|
||||
this.$router.push('/course/detail?id='+item.info.courseId)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user