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