From 20377762f3ce1e635f9c25a9ca2926514b33bb97 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Mon, 22 Apr 2019 15:09:59 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=97=A8=E5=BA=97][=E4=BF=AE=E6=94=B9]:[?= =?UTF-8?q?=E9=97=A8=E5=BA=97=E5=88=97=E8=A1=A8=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=A2=9E=E5=8A=A0=E4=BA=8B=E4=BB=B6]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/searchbar/index.js | 9 +++++++++ pages/index/searchbar/index.wxml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/index/searchbar/index.js b/pages/index/searchbar/index.js index 54bffe7..7f0afac 100644 --- a/pages/index/searchbar/index.js +++ b/pages/index/searchbar/index.js @@ -31,6 +31,15 @@ Page({ }) that.getList(1, that.data.businessId); }, + /** + * 跳转到门店列表的详情页面 + */ + gotoDetail(e){ + console.log(e) + wx.navigateTo({ + url: '/', + }) + }, /** * 生命周期函数--监听页面加载 */ diff --git a/pages/index/searchbar/index.wxml b/pages/index/searchbar/index.wxml index af959b0..8039e52 100644 --- a/pages/index/searchbar/index.wxml +++ b/pages/index/searchbar/index.wxml @@ -18,7 +18,7 @@