From b2d360d9113b6955287108ca9e90d76a1f3c1419 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期日, 29 九月 2024 15:05:11 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_jiaxuan/pages/detailDis/product.js | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/wechat_jiaxuan/pages/detailDis/product.js b/wechat_jiaxuan/pages/detailDis/product.js
index 2bc3305..89f8e81 100644
--- a/wechat_jiaxuan/pages/detailDis/product.js
+++ b/wechat_jiaxuan/pages/detailDis/product.js
@@ -142,15 +142,19 @@
})
},
handleDesign() {
- const { member } = this.data
+ const { member, origin, info } = this.data
+ let path = '/pages/design/design'
+ if(origin != 'b' && info.users && info.users.id){
+ path = `/pages/design/design?name=${info.users.iamUsername}`
+ }
if (!member.phone) {
- wx.setStorageSync('tempPath', '/pages/design/design')
+ wx.setStorageSync('tempPath', path)
return wx.navigateTo({
url: '/pages/auth/auth',
})
}
wx.navigateTo({
- url: '/pages/design/design',
+ url: path,
})
},
openShare() {
--
Gitblit v1.9.3