|
@@ -7,11 +7,11 @@ |
|
|
uni.getSystemInfo({ |
|
|
uni.getSystemInfo({ |
|
|
success: function(e) { |
|
|
success: function(e) { |
|
|
// #ifdef MP-WEIXIN |
|
|
// #ifdef MP-WEIXIN |
|
|
Vue.prototype.StatusBar = e.statusBarHeight; |
|
|
|
|
|
|
|
|
Vue.prototype.StatusBar = e.statusBarHeight; // 状态栏高度 |
|
|
let custom = wx.getMenuButtonBoundingClientRect(); |
|
|
let custom = wx.getMenuButtonBoundingClientRect(); |
|
|
Vue.prototype.Custom = custom; |
|
|
Vue.prototype.Custom = custom; |
|
|
Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight; |
|
|
|
|
|
Vue.prototype.windowHeight = e.safeArea.height |
|
|
|
|
|
|
|
|
Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight;// 底部菜单栏高度 |
|
|
|
|
|
Vue.prototype.windowHeight = e.safeArea.height // 内容区高度 |
|
|
// #endif |
|
|
// #endif |
|
|
Vue.mixin({ |
|
|
Vue.mixin({ |
|
|
data() { |
|
|
data() { |
|
|