Browse Source

首页样式调整

master
lucky 4 years ago
parent
commit
6af4262a0e
  1. 4
      src/views/FirstPage/FirstPage.vue

4
src/views/FirstPage/FirstPage.vue

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

Loading…
Cancel
Save