| | |
| | | import { |
| | | getContentShareImg |
| | | } from '../../api/index' |
| | | const { HYEventBus } = require('hy-event-store') |
| | | const eventBus = new HYEventBus() |
| | | Component({ |
| | | /** |
| | | * 组件的属性列表 |
| | |
| | | } = this.data |
| | | let that = this |
| | | getContentShareImg({ |
| | | articleId: `${info.id}&${path}&${wx.getStorageSync('member').id}`, |
| | | articleId: `${info.id}_${path}`, |
| | | type: '1', |
| | | // pageUrl: path, |
| | | imgurl: info.coverImage, |
| | |
| | | batchDown() { |
| | | const downloadList = this.data.info.imageurlList || [] |
| | | wx.setStorageSync('downloadList', downloadList) |
| | | wx.setStorageSync('downloadConfig', { |
| | | path: this.data.path,id: this.data.info.id |
| | | }) |
| | | wx.navigateTo({ |
| | | url: '/pages/download/index', |
| | | }, 1000) |