From 0c79fc8074a09e3875be13e976d66b7d0b80c866 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 26 Sep 2019 15:57:44 +0800 Subject: [PATCH] =?UTF-8?q?[=E8=90=A5=E9=94=80=E7=89=A9=E6=96=99][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9]:[=E4=BF=AE=E6=94=B9=E7=89=A9=E6=96=99?= =?UTF-8?q?=E7=9A=84=E6=8E=88=E6=9D=83]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/index/index.js b/pages/index/index.js index 4e5365d..b55d8da 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -378,6 +378,11 @@ Page({ wx.redirectTo({ url: `/pages/getuserinfo/index?id=${options.id}&frommd=md` }); + }// 门店详情 + else if (options && options.id && app.globalData.type == 'md') { + wx.redirectTo({ + url: `/pages/index/searchbar/detail/index?id=${options.id}` + }); } else if (app.globalData.type == 'uc') { wx.switchTab({ url: '/index/user'