From acf8eb9d7af7359b689122a5fe1ef1dd5d2de80c Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 25 七月 2024 13:49:21 +0800
Subject: [PATCH] 提交
---
wechat_jiaxuan/pages/consult/detail.js | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/wechat_jiaxuan/pages/consult/detail.js b/wechat_jiaxuan/pages/consult/detail.js
index c1b46f0..0419117 100644
--- a/wechat_jiaxuan/pages/consult/detail.js
+++ b/wechat_jiaxuan/pages/consult/detail.js
@@ -7,6 +7,7 @@
data: {
bottomLift: 0,
info: {},
+ detail: {},
showShare: false
},
@@ -21,9 +22,17 @@
})
this.getDetail(options.id)
},
+ handleDesign() {
+ wx.navigateTo({
+ url: '/pages/design/design',
+ })
+ },
getDetail(id) {
getProductNewsInfo({ id }).then(res => {
- this.setData({ detail: res.data })
+ this.setData({ info: res.data })
+ wx.setNavigationBarTitle({
+ title: res.data.title
+ })
})
},
openShare() {
--
Gitblit v1.9.3