From a9bd2df4da1cf7b198db7bf2d67ce8adbbe89b32 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期四, 11 四月 2024 22:00:27 +0800 Subject: [PATCH] 音频播放bug --- pages/bookExhibitionDetails/index.js | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/pages/bookExhibitionDetails/index.js b/pages/bookExhibitionDetails/index.js index b4df761..43c1898 100644 --- a/pages/bookExhibitionDetails/index.js +++ b/pages/bookExhibitionDetails/index.js @@ -6,6 +6,8 @@ * 椤甸潰鐨勫垵濮嬫暟鎹� */ data: { + loading: true, + hidden: true, bookName: '', bookBeginDate: '', bookCreator: '', @@ -92,6 +94,10 @@ }, bookExhibitionGet(passId) { + this.setData({ + loading: true, + hidden: true, + }) wx.showLoading({ title: '鍔犺浇涓�...', }) @@ -118,10 +124,18 @@ bookImage: res.datas.icon }); wx.hideLoading() + this.setData({ + loading: false, + hidden: false, + }) }) }, //涔﹀睍璇︽儏鎺ュ彛 getBookExhibitionDetails(passId) { + this.setData({ + loading: true, + hidden: true, + }) app.MG.store.getProductList({ path: '*', storeInfo: 'jsek_bookFair', @@ -140,6 +154,10 @@ bookExhibitionList: res.datas }) console.log(this.data.bookExhibitionList, 'bookExhibitionList'); + this.setData({ + loading: false, + hidden: false, + }) }) }, onBookDetails(event) { -- Gitblit v1.9.1