From 7751c8e6aa0aced5403954ef871cb996949cbafc Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 26 七月 2024 17:15:33 +0800
Subject: [PATCH] lll

---
 wechat_staff/components/detailFooter/index.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/wechat_staff/components/detailFooter/index.js b/wechat_staff/components/detailFooter/index.js
index 108ad93..3cb0a22 100644
--- a/wechat_staff/components/detailFooter/index.js
+++ b/wechat_staff/components/detailFooter/index.js
@@ -29,6 +29,24 @@
     })
   },
   methods: {
+    handleShare() {
+      let map = [
+        '/pages/detailDis/product',
+        '/pages/detailDis/case',
+        '/pages/detailDis/realpic',
+        '/pages/consult/detail',
+      ]
+      const { info,  path} = this.data
+      wx.navigateToMiniProgram({
+        appId: 'wx208dd1edc0be24ee',
+        path: map[path],
+        envVersion: 'trial',
+        extraData: {
+          id: info.id,
+          origin: 'b'
+        }
+      })
+    },
     handleEnjoy() {
       const {
         info

--
Gitblit v1.9.3