export function getStatusBarHeight() { try { return uni.getSystemInfoSync().statusBarHeight || 0 } catch (error) { return 0 } } export function upxToPx(value) { try { return uni.upx2px(value) } catch (error) { return 0 } }