''
liukangdong
2024-08-02 1cee3a660c5f8e5f4290ae894c2898c4966a834d
wechat_staff/components/detailFooter/index.js
@@ -1,5 +1,6 @@
import {
  getContentShareImg
  getContentShareImg,
  actionDo
} from '../../api/index'
Component({
  /**
@@ -37,6 +38,10 @@
        '/pages/consult/detail',//资讯详情
      ]
      const { info,  path} = this.data
      actionDo({
        actionType: 'share',
        id: info.id
      })
      wx.navigateToMiniProgram({
        appId: 'wxcd2b89fd2ff065f8',
        path: `${map[path]}?origin=b&id=${info.id}&userId=${wx.getStorageSync('member').id}`,
@@ -67,7 +72,7 @@
        info,
        path
      } = this.data
      let that = this
      getContentShareImg({
        articleId: `${info.id}_${path}`,
        type: '0',
@@ -128,6 +133,10 @@
      wx.setStorageSync('downloadConfig', {
        path: this.data.path,id: this.data.info.id
      })
      actionDo({
        actionType: 'download',
        id: this.data.info.id
      })
      wx.navigateTo({
        url: '/pages/download/index',
      }, 1000)