我的收藏标题提示

This commit is contained in:
zhaofang
2022-11-01 18:31:57 +08:00
parent 33ced03ac6
commit ef3e45dbeb
7 changed files with 29 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
<ul v-if="list.length > 0">
<li class="note-list-index" v-for="item in list" :key="item.id">
<p style="margin-bottom:18px;">
<span style="font-size: 16px;font-weight: 600;color: #333;">{{item.courseName || item.title}}</span> <span class="qa-bq">#笔记#</span>
<span style="font-size: 16px;font-weight: 600;color: #333;">{{item.courseName || item.title}}</span> <span v-if="isAll" class="qa-bq">#笔记#</span>
<span class="follow-hide" style="float:right">
<el-button @click.stop="delCollectItem(item)" type="text" icon="el-icon-star-on" style="color:#8590A6">取消收藏</el-button>
@@ -49,6 +49,10 @@
personal:{
type:Boolean,
default:false,
},
isAll:{
type:Boolean,
default:false,
}
},
data(){