-
+
+
+
-
会记回家和
-
2023-08-24 13:14:00
+
{{ item.pushUser }}
+
{{ item.pushTime }}
-

+
![]()
+
{{item.name}}
-
111
+
{{ item.synopsis }}
-
培训材料
+
{{ item.docType?.label }}
- 未处理
- 阅读8
+ {{ item.listShowButton==null ? '已处理' : '未处理' }}
+ 阅读 {{item.readCount}}
+
+

+
@@ -44,26 +53,45 @@ import {myMixins} from "@/utils/myMixins"
import {pageList} from "@/api/mine"
export default {
name: "trainDocment",
+ computed: {
+ },
mixins:[myMixins],
data(){
return{
pageNum:1,
- pageSize:10
+ pageSize:10,
+ pageList:[],
+ keyword:'',
+ show:false,
+ showEmpty:false
}
},
mounted() {
- this.getList()
+ this.getList();
},
methods:{
+ // handleEnterKey() {
+ // this.getList()
+ // },
async getList(){
let res= await pageList({
pageNum:this.pageNum,
pageSize:this.pageSize,
- userId:54585,
- docType:2
+ docType:1,
+ keyword:this.keyword || ''
})
+ this.pageList=res.data;
+ if(res.data.length === 0){
+ this.showEmpty = true
+ }else {
+ this.showEmpty = false
+ }
console.log(res)
+ },
+ initShow(){
+ this.keyword= '',
+ this.getList()
}
}
}
@@ -92,7 +120,7 @@ export default {
width: 100%;
box-sizing: border-box;
.itemWrap{
- margin-top: 56px;
+ margin-bottom: 16px;
@include wh(100%, 300px);
background: #FFFFFF;
box-shadow: 0px 2px 10px 0px rgba(216, 216, 216, 0.5);
@@ -111,11 +139,20 @@ export default {
.imgWrap{
width: 100%;
height: 200px;
+ position: relative;
//background-color: #6C81CD;
img{
width: 100%;
height: 200px;
}
+ .name{
+ position: absolute;
+ left: 30px;
+ bottom: 30px;
+ font-size: 14px;
+ font-weight: 500;
+ color: #FFFFFF;
+ }
}
.left{
color: red;