From 70acfd82932bd010bec11bad778024837f903784 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Fri, 2 Aug 2019 13:43:32 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=97=A8=E5=BA=97=E8=AF=A6=E6=83=85][?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0]:[=E8=BF=94=E5=9B=9E=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=8C=89=E9=92=AE]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/searchbar/detail/index.js | 2 ++ pages/index/searchbar/detail/index.json | 3 ++- pages/index/searchbar/detail/index.wxml | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/index/searchbar/detail/index.js b/pages/index/searchbar/detail/index.js index 729b631..e8a6423 100644 --- a/pages/index/searchbar/detail/index.js +++ b/pages/index/searchbar/detail/index.js @@ -1,3 +1,4 @@ +const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' const Http = require("../../../../utils/HttpBasics"); const imgurl = require("../../../../utils/imgurl"); const config = require("../../../../config/config"); @@ -9,6 +10,7 @@ Page({ * 页面的初始数据 */ data: { + navigationBarHeight, noMerchant: imgurl.noMerchant.url, noCoupon: imgurl.noCoupon.url, poterbg: imgurl.poterbg.url, diff --git a/pages/index/searchbar/detail/index.json b/pages/index/searchbar/detail/index.json index 1d86c6d..69afdf1 100644 --- a/pages/index/searchbar/detail/index.json +++ b/pages/index/searchbar/detail/index.json @@ -4,6 +4,7 @@ "navigationBarTextStyle": "black", "usingComponents": { "c-banner": "../../../../components/banner/index", - "c-coupons": "../../../../components/coupons/index" + "c-coupons": "../../../../components/coupons/index", + "navbar": "../../../../components/navbar/navbar" } } \ No newline at end of file diff --git a/pages/index/searchbar/detail/index.wxml b/pages/index/searchbar/detail/index.wxml index b536682..f5201c7 100644 --- a/pages/index/searchbar/detail/index.wxml +++ b/pages/index/searchbar/detail/index.wxml @@ -1,5 +1,6 @@ - - + + +