From 1dc51317dd1405d6142f87e2e61ed757548e1b5c Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Fri, 2 Aug 2019 12:26:37 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=99=90=E6=97=B6=E6=8A=A2=E8=B4=AD][?= =?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/rushToBuy/index.js | 2 ++ pages/rushToBuy/index.json | 3 ++- pages/rushToBuy/index.wxml | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/rushToBuy/index.js b/pages/rushToBuy/index.js index 02fffb5..bb64876 100644 --- a/pages/rushToBuy/index.js +++ b/pages/rushToBuy/index.js @@ -1,3 +1,4 @@ +const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' let config = require("../../config/config.js"); let Http = require("../../utils/HttpBasics"); const util = require("../../utils/util"); @@ -8,6 +9,7 @@ Page({ * 页面的初始数据 */ data: { + navigationBarHeight, linesUrl: imgurl.lines.url, loadingUrl: imgurl.loading.url, wmhome: imgurl.wmhome.url, diff --git a/pages/rushToBuy/index.json b/pages/rushToBuy/index.json index 823c0f3..ae49195 100644 --- a/pages/rushToBuy/index.json +++ b/pages/rushToBuy/index.json @@ -1,5 +1,6 @@ { - "usingComponents": { + "usingComponents": { + "navbar": "../../components/navbar/navbar" }, "navigationBarTitleText": "限时秒杀" } \ No newline at end of file diff --git a/pages/rushToBuy/index.wxml b/pages/rushToBuy/index.wxml index 5c8dfa2..4bea974 100644 --- a/pages/rushToBuy/index.wxml +++ b/pages/rushToBuy/index.wxml @@ -1,6 +1,7 @@ - + + - +