Browse Source

志愿者新闻轮播弃用

xiaowang-feature
是小王呀\24601 9 months ago
parent
commit
f38fddca3f
  1. 38
      src/views/home/index.vue

38
src/views/home/index.vue

@ -304,7 +304,7 @@ export default {
this.mounth = this.$dayjs(date).format('M');
this.data=this
this.inspRecord()
this.newsTrends()
// this.newsTrends()
this.guidecategorylists()
var that = this;
@ -361,24 +361,24 @@ methods: {
},
//
newsTrends() {
let parm = {
"title": "",
"releaseTime": "",
"columnId": 0,
"online": 0
}
newsTrends(parm).then(res => {
// res.data.list.unshift({
// coverImg: "https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240927/087bb3a330a6494b9b09b5341c309ced.png",
// title: null
// });
this.noticeList=res.data.list.map(item => item.title),
this.noticeText=res.data.list[0].title || '',
this.noticeListOrg=res.data.list
// })
})
},
// newsTrends() {
// let parm = {
// "title": "",
// "releaseTime": "",
// "columnId": 0,
// "online": 0
// }
// newsTrends(parm).then(res => {
// // res.data.list.unshift({
// // coverImg: "https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet/test/internal/20240927/087bb3a330a6494b9b09b5341c309ced.png",
// // title: null
// // });
// this.noticeList=res.data.list.map(item => item.title),
// this.noticeText=res.data.list[0].title || '',
// this.noticeListOrg=res.data.list
// // })
// })
// },
async inspRecord() {
let parm = {
pageSize:this.pageSize,

Loading…
Cancel
Save