From 8ab86de45b9ddf1ebde415f262f4b40727f53989 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 25 七月 2024 10:18:07 +0800
Subject: [PATCH] ''

---
 wechat_staff/components/detailFooter/index.js |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/wechat_staff/components/detailFooter/index.js b/wechat_staff/components/detailFooter/index.js
index 996192b..7fb1767 100644
--- a/wechat_staff/components/detailFooter/index.js
+++ b/wechat_staff/components/detailFooter/index.js
@@ -56,7 +56,7 @@
       } = this.data
       let that = this
       getContentShareImg({
-        articleId: path + '&' + info.id,
+        articleId: `${info.id}&${path}&${wx.getStorageSync('member').id}`,
         type: '1',
         // pageUrl: path,
         imgurl: info.coverImage,
@@ -95,16 +95,11 @@
       })
     },
     batchDown() {
-      console.log('鐐硅В浜嗕笅杞�');
-      this.triggerEvent('down')
-      setTimeout(() => {
-        eventBus.emit('batchDown', [1,2,3])
+      const downloadList = this.data.info.imageurlList || []
+      wx.setStorageSync('downloadList', downloadList)
+      wx.navigateTo({
+        url: '/pages/download/index',
       }, 1000)
-      setTimeout(() => {
-        wx.navigateTo({
-          url: '/pages/download/index',
-        }, 1000)
-      })
     },
     closeCard() {
       this.setData({ isShowPoster: false })

--
Gitblit v1.9.3