From 816d84a76c1a2f16f88dba70664397961f55caa1 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 10:07:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_jiaxuan/pages/consult/detail.js | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/wechat_jiaxuan/pages/consult/detail.js b/wechat_jiaxuan/pages/consult/detail.js
index a1462ae..4d390e0 100644
--- a/wechat_jiaxuan/pages/consult/detail.js
+++ b/wechat_jiaxuan/pages/consult/detail.js
@@ -20,10 +20,15 @@
this.setData({
bottomLift: app.bottomLift
})
- this.getDetail(options.id)
+ this.getDetail(options.id, options.userId || '')
},
- getDetail(id) {
- getProductNewsInfo({ id }).then(res => {
+ handleDesign() {
+ wx.navigateTo({
+ url: '/pages/design/design',
+ })
+ },
+ getDetail(id, userId) {
+ getProductNewsInfo({ id, salesId: userId || null }).then(res => {
this.setData({ info: res.data })
wx.setNavigationBarTitle({
title: res.data.title
--
Gitblit v1.9.3