|
|
|
@ -55,7 +55,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
methods: { |
|
|
|
|
sceneInfo(s) { |
|
|
|
|
console.log(s) |
|
|
|
|
console.log(s,'sssssssssssss') |
|
|
|
|
var scene = []; |
|
|
|
|
switch (s) { |
|
|
|
|
case 1001: |
|
|
|
@ -248,7 +248,7 @@ export default {
|
|
|
|
|
setMenuHeight() { |
|
|
|
|
uni.getSystemInfo({ |
|
|
|
|
success: res => { |
|
|
|
|
console.log(res,'resaaaaa') |
|
|
|
|
// console.log(res,'resaaaaa') |
|
|
|
|
this.globalData.navTopHeight = res.statusBarHeight; |
|
|
|
|
this.globalData.CustomBar = res.statusBarHeight + 45; |
|
|
|
|
this.globalData.systemInfo = res; |
|
|
|
@ -259,7 +259,7 @@ export default {
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
let menuButtonObj = uni.getMenuButtonBoundingClientRect(); |
|
|
|
|
console.log(menuButtonObj,'menuButtonObj') |
|
|
|
|
// console.log(menuButtonObj,'menuButtonObj') |
|
|
|
|
this.globalData.menuTop = menuButtonObj.top; |
|
|
|
|
this.globalData.menuHeight = menuButtonObj.height; |
|
|
|
|
this.globalData.topHeight = menuButtonObj.top + menuButtonObj.height; |
|
|
|
|