From a9bd2df4da1cf7b198db7bf2d67ce8adbbe89b32 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期四, 11 四月 2024 22:00:27 +0800 Subject: [PATCH] 音频播放bug --- packagePersonal/pages/aboutUs/index.js | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/packagePersonal/pages/aboutUs/index.js b/packagePersonal/pages/aboutUs/index.js index bb9c51c..3a6e4dc 100644 --- a/packagePersonal/pages/aboutUs/index.js +++ b/packagePersonal/pages/aboutUs/index.js @@ -7,13 +7,17 @@ * 椤甸潰鐨勫垵濮嬫暟鎹� */ data: { + loading: true, + hidden: true, aboutText: null, swiperList: null, - current: 1,//杞挱鍥惧弬鏁� + current: 1, //杞挱鍥惧弬鏁� autoplay: true, //杞挱鍥惧弬鏁� - duration: '500',//杞挱鍥惧弬鏁� - interval: 5000,//杞挱鍥惧弬鏁� - navigation: { type: 'dots' },//杞挱鍥惧弬鏁� + duration: '500', //杞挱鍥惧弬鏁� + interval: 5000, //杞挱鍥惧弬鏁� + navigation: { + type: 'dots' + }, //杞挱鍥惧弬鏁� bannerList: [], //杞挱鍥惧垪琛� navBarHeight: '', barHeight: '', @@ -95,7 +99,10 @@ getBanner() { app.MG.resource.getItem({ path: 'jsek_banner\\jsek_aboutUsBanner', - paging: { start: 0, size: 9 }, + paging: { + start: 0, + size: 9 + }, fields: { jsek_link: [] } @@ -122,7 +129,9 @@ console.log(res); this.setData({ - aboutText: res.datas[0].content + aboutText: res.datas[0].content, + loading: false, + hidden: false, }) -- Gitblit v1.9.1