From cdd2fc68ad94407c8660be4592c31f9c00d46b8f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 25 七月 2024 14:19:33 +0800
Subject: [PATCH] 提交

---
 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