|
|
@@ -1,4 +1,4 @@ |
|
|
|
const navigationBarHeight = (getApp().statusBarHeight + 50) + 'px' |
|
|
|
const navigationBarHeight = (getApp().statusBarHeight + 44) + 'px' |
|
|
|
const Http = require("../../../utils/HttpBasics"); |
|
|
|
const imgurl = require("../../../utils/imgurl"); |
|
|
|
const config = require("../../../config/config"); |
|
|
@@ -56,9 +56,9 @@ Page({ |
|
|
|
let that = this; |
|
|
|
wx.getSystemInfo({ |
|
|
|
success: function (res) { |
|
|
|
console.log(res.windowHeight); |
|
|
|
console.log(res.windowHeight, navigationBarHeight); |
|
|
|
that.setData({ |
|
|
|
windowHeight: res.windowHeight |
|
|
|
windowHeight: res.windowHeight + parseInt(navigationBarHeight) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}) |
|
|
|