uview-plus组件库全面升级更新,订单结算判断支付方式是否可用代码调整,公众号关注二维码修改

This commit is contained in:
2025-10-21 10:44:31 +08:00
parent 5d98b7efc2
commit 5f3a307fec
395 changed files with 31264 additions and 2477 deletions

View File

@@ -5,6 +5,11 @@ export const props = defineMixin({
bgColor: {
type: String,
default: () => defProps.statusBar.bgColor
}
},
// 状态栏获取得高度
height: {
type: Number,
default: () => defProps.statusBar.height
}
}
})

View File

@@ -10,6 +10,7 @@
export default {
// statusBar
statusBar: {
bgColor: 'transparent'
bgColor: 'transparent',
height: 0
}
}

View File

@@ -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 {