()
| 28 | SilentTh :[20, 20, 20, 20, 20, 20, 20, 20, 20] |
| 29 | }, |
| 30 | onLaunch() { |
| 31 | wx.getSystemInfo({ |
| 32 | success: (e) => { |
| 33 | this.globalData.StatusBar = e.statusBarHeight; |
| 34 | let capsule = wx.getMenuButtonBoundingClientRect(); |
| 35 | this.globalData.WindowWidth = e.windowWidth; |
| 36 | this.globalData.PixelRatio = 750 / e.windowWidth; |
| 37 | if (capsule) { |
| 38 | this.globalData.Custom = capsule; |
| 39 | this.globalData.CustomBar = capsule.bottom + capsule.top - e.statusBarHeight; |
| 40 | } else { |
| 41 | this.globalData.CustomBar = e.statusBarHeight + 50; |
| 42 | } |
| 43 | } |
| 44 | }); |
| 45 | }, |
| 46 | onShow() {}, |
| 47 | onHide() {} |
| 48 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected