mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-22 01:06:43 +08:00
个人中心我分享的
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
<div>
|
||||
<!-- 分享给我的 -->
|
||||
<div style="position: relative;padding: 12px 22px 32px;">
|
||||
<el-row :gutter="20">
|
||||
<span class="title">分享给我的</span>
|
||||
<!-- <el-row :gutter="20">
|
||||
<el-col :span="4">
|
||||
<el-select v-model="isRead" clearable placeholder="状态" style="width:100%">
|
||||
<el-option label="全部" :value="null"></el-option>
|
||||
@@ -15,10 +16,10 @@
|
||||
<el-button type="primary" icon="el-icon-search" @click="queryData" style="margin-right: 10px;padding: 10px 15px;">搜索</el-button>
|
||||
<el-button type="primary" @click="resData" icon="el-icon-refresh-right" style="padding: 10px 15px;">重置</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-tabs v-model="tabName" @tab-click="changeTab" style="margin-top:14px">
|
||||
</el-row> -->
|
||||
<!-- <el-tabs v-model="tabName" @tab-click="changeTab" style="margin-top:14px"> -->
|
||||
<!-- 全部 -->
|
||||
<el-tab-pane label="全部" name="all">
|
||||
<!-- <el-tab-pane label="全部" name="all"> -->
|
||||
<div v-for="(item, index) in dataList.list">
|
||||
<course-items type="toMy" v-if="item.type==1" :items="[item]" @confirm="confirm"></course-items>
|
||||
<case-items type="toMy" v-if="item.type==3" :items="[item]" @confirm="confirm" ></case-items>
|
||||
@@ -44,11 +45,10 @@
|
||||
<div v-else class="zan-wu">暂无数据</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="课程" name="course">
|
||||
<!-- </el-tab-pane> -->
|
||||
<!-- <el-tab-pane label="课程" name="course">
|
||||
<div style="min-height: 500px;">
|
||||
<course-items :keyword="keyword" type="toMy" @confirm="confirm" :items="courseList.list"></course-items>
|
||||
<!-- v-if="courseList.count>courseList.pageSize" -->
|
||||
<div v-if="courseList.list.length > 0" style="text-align: center; margin-top:57px">
|
||||
<el-pagination
|
||||
background
|
||||
@@ -68,11 +68,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="案例" name="case">
|
||||
</el-tab-pane> -->
|
||||
<!-- <el-tab-pane label="案例" name="case">
|
||||
<div style="min-height: 500px;">
|
||||
<case-items :keyword="keyword" type="toMy" @confirm="confirm" :items="caseList.list"></case-items>
|
||||
<!-- v-if="articleList.count>articleList.pageSize" -->
|
||||
<div v-if="caseList.list.length > 0" style="text-align: center; margin-top:57px">
|
||||
<el-pagination
|
||||
background
|
||||
@@ -92,11 +91,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="文章" name="article">
|
||||
</el-tab-pane> -->
|
||||
<!-- <el-tab-pane label="文章" name="article">
|
||||
<div style="min-height: 500px;">
|
||||
<article-items :keyword="keyword" type="toMy" @confirm="confirm" :items="articleList.list"></article-items>
|
||||
<!-- v-if="articleList.count>articleList.pageSize" -->
|
||||
<div v-if="articleList.list.length > 0" style="text-align: center; margin-top:57px">
|
||||
<el-pagination
|
||||
background
|
||||
@@ -116,11 +114,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="问答" name="qa">
|
||||
</el-tab-pane> -->
|
||||
<!-- <el-tab-pane label="问答" name="qa">
|
||||
<div style="min-height: 500px;">
|
||||
<qa-items :keyword="keyword" type="toMy" @confirm="confirm" :items="qaList.list"></qa-items>
|
||||
<!-- v-if="qaList.count>qaList.pageSize" -->
|
||||
<div v-if="qaList.list.length > 0" style="text-align: center;margin-top:57px">
|
||||
<el-pagination
|
||||
background
|
||||
@@ -140,8 +137,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</el-tab-pane> -->
|
||||
<!-- </el-tabs> -->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -476,6 +473,11 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.title{
|
||||
font-size: 18px;
|
||||
color: #333333;
|
||||
font-weight: 600;
|
||||
}
|
||||
.el-col {
|
||||
padding: 0 0 0 10px !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user