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:
@@ -8,7 +8,7 @@
|
||||
<div @click="jump(item)" style="max-width:84%" class="article-info-title one-line-ellipsis">
|
||||
{{ item.title }}
|
||||
</div>
|
||||
<span class="art-tit">#文章#</span>
|
||||
<span class="art-tit" v-if="isAll">#文章#</span>
|
||||
<el-button @click.stop="delItem(item)" type="text" style="color: #8590A6" icon="el-icon-star-on">取消收藏</el-button>
|
||||
</div>
|
||||
<div class="article-info-tools">
|
||||
@@ -36,7 +36,11 @@ export default {
|
||||
//name,
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
},
|
||||
isAll:{
|
||||
type:Boolean,
|
||||
default:false,
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="article-info ">
|
||||
<div class="article-info-title " >
|
||||
<div style="width:85%" class=" ">
|
||||
<router-link :to="'/case/detail?id='+item.cases.id" ><div class="case-tit title-line-ellipsis">{{item.cases.title}} <span class="bq-case">#案例#</span> </div> </router-link>
|
||||
<router-link :to="'/case/detail?id='+item.cases.id" ><div class="case-tit title-line-ellipsis">{{item.cases.title}} <span v-if="isAll" class="bq-case">#案例#</span> </div> </router-link>
|
||||
|
||||
</div>
|
||||
<div class="article-info-date">
|
||||
@@ -46,7 +46,11 @@
|
||||
items: { //name,
|
||||
type: Array,
|
||||
default:()=>[]
|
||||
}
|
||||
},
|
||||
isAll:{
|
||||
type:Boolean,
|
||||
default:false,
|
||||
}
|
||||
},
|
||||
filters:{
|
||||
timeFilter(item){
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="flex-between" @click="jump(item)">
|
||||
<div class="uc-course-name ">
|
||||
<div class="uc-coures-name-left one-line-ellipsis">
|
||||
<span >{{ item.title }} <span class="bq-coures">#课程#</span> </span>
|
||||
<span >{{ item.title }} <span class="bq-coures" v-if="isAll">#课程#</span> </span>
|
||||
</div>
|
||||
<div class="canfavo">
|
||||
<el-button v-if="remove" @click.stop="delItem(item)" type="text" icon="el-icon-star-on" style="color:#8590A6;font-size:14px;">
|
||||
@@ -44,7 +44,11 @@ export default {
|
||||
remove: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
isAll:{
|
||||
type:Boolean,
|
||||
default:false,
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -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(){
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<ul>
|
||||
<li class="answer-list-index" v-for="item in items" :key="item.id">
|
||||
<h6 class="answer-title-info follow-home-title">
|
||||
<span class="pointer" @click="jumpDetail(item)">{{item.qtitle || item.title}}</span> <span style="font-weight: 400;">#回答#</span>
|
||||
<span class="pointer" @click="jumpDetail(item)">{{item.qtitle || item.title}}</span> <span v-if="item.type" style="font-weight: 400;">#回答#</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>
|
||||
</span>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<!-- <div class="article-info-title"> -->
|
||||
<div @click="qadetail(item)" class="art-head article-info-title" style="line-height: 30px;">
|
||||
<!-- <span class="qa-basic" :class="item.question.isResolve ? 'qa-solve' : 'qa-unSolve'">{{ item.question.isResolve ? '【已解决】' : '【待解决】' }}</span> -->
|
||||
<span style="padding-left: 5px">{{ item.question.title }} <span class="qa-bq">#提问#</span> </span>
|
||||
<span style="padding-left: 5px">{{ item.question.title }} <span v-if="item.type" class="qa-bq">#提问#</span> </span>
|
||||
<el-button @click.stop="delCollectItem(item)" type="text" icon="el-icon-star-on" style="color:#8590A6">取消收藏</el-button>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
</el-tab-pane> -->
|
||||
<el-tab-pane label="全部" name="all">
|
||||
<div v-for="(item, index) in dataList.list">
|
||||
<course-items v-if="item.type==1" :items="[item]" @confirm="confirm"></course-items>
|
||||
<case-items v-if="item.type==3" @confirm="confirm" :items="[item]"></case-items>
|
||||
<note-list v-if="item.type==6" @confirm="confirm" :list="[item]"></note-list>
|
||||
<article-items v-if="item.type==2" @confirm="confirm" :items="[item]"></article-items>
|
||||
<course-items :isAll="true" v-if="item.type==1" :items="[item]" @confirm="confirm"></course-items>
|
||||
<case-items :isAll="true" v-if="item.type==3" @confirm="confirm" :items="[item]"></case-items>
|
||||
<note-list :isAll="true" v-if="item.type==6" @confirm="confirm" :list="[item]"></note-list>
|
||||
<article-items :isAll="true" v-if="item.type==2" @confirm="confirm" :items="[item]"></article-items>
|
||||
<qa-items v-if="item.type==4" :items="[item]" @confirm="confirm" :collect="true" :share="false" :remove="false" :edit="false"></qa-items>
|
||||
<answer-items v-if="item.type==5" :items="[item]" @confirm="confirm"></answer-items>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user