|
|
@ -261,11 +261,13 @@ export default { |
|
|
|
// 获取活动公告列表 |
|
|
|
async getFrontLists() { |
|
|
|
clearInterval(this.timer); |
|
|
|
const pageSize = parseInt((this.height - 76) / 40); |
|
|
|
console.log('pageSize: ', pageSize); |
|
|
|
const params = { |
|
|
|
param: { |
|
|
|
activityType: [], |
|
|
|
pageNum: 1, |
|
|
|
pageSize: this.height > 160 ? 3 : 2, |
|
|
|
pageSize, |
|
|
|
title: '', |
|
|
|
}, |
|
|
|
}; |
|
|
|