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