From e5a4ba109943a9fe4175cb91776154607b06251c Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 9 Apr 2024 14:40:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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) {