uview-plus组件库全面升级更新,订单结算判断支付方式是否可用代码调整,公众号关注二维码修改
This commit is contained in:
@@ -34,11 +34,13 @@
|
||||
this.isH5 = true
|
||||
// #endif
|
||||
},
|
||||
emits: ['update:height'],
|
||||
computed: {
|
||||
style() {
|
||||
const style = {}
|
||||
// 状态栏高度,由于某些安卓和微信开发工具无法识别css的顶部状态栏变量,所以使用js获取的方式
|
||||
let sheight = getWindowInfo().statusBarHeight
|
||||
this.$emit('update:height', sheight)
|
||||
if (sheight == 0) {
|
||||
this.isH5 = true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user