From 7dc29ed74ebaa8a0e66f68264d9a13f95dc3af21 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 02 八月 2024 11:09:06 +0800
Subject: [PATCH] aa
---
wechat_staff/components/detailFooter/index.js | 26 +++++++++++---------------
1 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/wechat_staff/components/detailFooter/index.js b/wechat_staff/components/detailFooter/index.js
index 3cb0a22..6d78a1a 100644
--- a/wechat_staff/components/detailFooter/index.js
+++ b/wechat_staff/components/detailFooter/index.js
@@ -26,25 +26,21 @@
var app = getApp().globalData
this.setData({
bottomLift: app.bottomLift
- })
+ })
},
methods: {
handleShare() {
let map = [
- '/pages/detailDis/product',
- '/pages/detailDis/case',
- '/pages/detailDis/realpic',
- '/pages/consult/detail',
+ '/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'
- }
+ appId: 'wxcd2b89fd2ff065f8',
+ path: `${map[path]}?origin=b&id=${info.id}&userId=${wx.getStorageSync('member').id}`,
+ envVersion: 'trial'
})
},
handleEnjoy() {
@@ -56,7 +52,7 @@
flag: !info.isEnjoy
})
},
- handleCollec() {
+ handleCollec() {
const {
info
} = this.data
@@ -64,6 +60,7 @@
type: 'collec',
flag: !info.isCollection
})
+
},
handleDown() {
const {
@@ -81,8 +78,7 @@
isShowPoster: true,
showShare: false,
posterUrl: res.data
- })
-
+ })
})
},
saveCard() {
--
Gitblit v1.9.3