From 6df96b3e7a7da1985ee875e84711e9f15c5fbff0 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 24 十二月 2024 18:25:02 +0800 Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master --- pages/bookServices/assort/index.js | 43 +++++++++++++++++++++++++++++++++++++++---- 1 files changed, 39 insertions(+), 4 deletions(-) diff --git a/pages/bookServices/assort/index.js b/pages/bookServices/assort/index.js index 888e96e..527c769 100644 --- a/pages/bookServices/assort/index.js +++ b/pages/bookServices/assort/index.js @@ -25,6 +25,37 @@ bookList: [], loading: false, listLoding: false, + stairListLoading: false, + rowCol: [{ + width: '50%', + }, + { + width: '100%' + }, + { + width: '80%' + }, + { + width: '100%' + }, { + width: '100%' + }, + { + width: '100%' + }, + { + width: '50%' + }, + { + width: '100%' + }, + { + width: '80%' + }, + { + width: '100%' + }, + ], }, /** @@ -82,11 +113,12 @@ * 鐢ㄦ埛鐐瑰嚮鍙充笂瑙掑垎浜� */ onShareAppMessage() {}, - + onShareTimeline() {}, // 鑾峰彇渚ц竟鏍忓垪琛� getAssortList() { this.setData({ loading: true, + listLoding: true, }); const query = { path: "*", @@ -134,7 +166,8 @@ // 鑾峰彇涓�绾у垎绫� getStairList(path) { this.setData({ - listLoding: true, + stairListLoading: true, + startList: [] }); const query = { path, @@ -157,14 +190,16 @@ for (let index = 0; index < res.datas.length; index++) { const item = res.datas[index]; item.icon ? - (item.icon = getPublicImage(item.icon, 500)) : + (item.icon = getPublicImage(item.icon, 150)) : (item.icon = item.icon); item.children = await this.getSecondList(item); + } // 涓�绾у垎绫昏祴鍊� this.setData({ startList: res.datas, listLoding: false, + stairListLoading: false, "startCheck.id": res.datas[0].id, "startCheck..code": "", }); @@ -197,7 +232,7 @@ await app.MG.store.getStoreChannelList(query).then((res) => { for (let index = 0; index < res.datas.length; index++) { const element = res.datas[index]; - if (element.icon) element.icon = getPublicImage(element.icon, 500); + if (element.icon) element.icon = getPublicImage(element.icon, 150); } datas = res.datas; }); -- Gitblit v1.9.1