| | |
| | | * 用户点击右上角分享 |
| | | */ |
| | | onShareAppMessage() {}, |
| | | |
| | | onShareTimeline() {}, |
| | | // 获取侧边栏列表 |
| | | getAssortList() { |
| | | this.setData({ |
| | |
| | | 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); |
| | | |
| | |
| | | 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; |
| | | }); |