diff --git a/pages/index/index.vue b/pages/index/index.vue index aef9133..0d29729 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -68,9 +68,9 @@ - - - {{exhibitObj.name}} + + + {{item.name}} @@ -220,7 +220,7 @@ // 状态栏高度 statusBarHeight: 0, navBarBoxHeight:0, - exhibitObj:{}, + exhibitList:[], showBook: false, minDate: `${year}-${month}-${date + 1}`, maxDate: `${year}-${month}-${date + 7}`, @@ -518,7 +518,7 @@ api: '/api/mobile/exhibit-hall/index', data:{ page:1, - page_size:1, + page_size:2, state:1, sort_name:'state', sort_name_tow:'release_time', @@ -526,8 +526,7 @@ sort_type_tow:'DESC' }, utilSuccess: function(res) { - console.log(res.data[0]) - that.exhibitObj = res?.data[0] + that.exhibitList = res.data }, utilFail: function(res) {