uni.getSystemInfo({ success: function(e) { Vue.prototype.StatusBar = e.statusBarHeight; let custom = wx.getMenuButtonBoundingClientRect(); Vue.prototype.Custom = custom; Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight; } });
标签:uniapp,Vue,statusBarHeight,custom,型号,prototype,导航 From: https://www.cnblogs.com/wcq520/p/17517243.html