提交 7e260e83 编写于 作者: tao.wu's avatar tao.wu

修改安卓头部样式问题

上级 7e89b88f
......@@ -67,8 +67,8 @@
methods: {
// 从APP获取电池栏高度并设置高度
setHeaderHeight(){
this.statusBarHeight = 20 * window.devicePixelRatio; // 给一个默认值,20 * 2
this.titleHeight = 44 * window.devicePixelRatio; // title高度默认是44px
// this.statusBarHeight = 20 * window.devicePixelRatio; // 给一个默认值,20 * 2
// this.titleHeight = 44 * window.devicePixelRatio; // title高度默认是44px
this.$rocNative.getStatusBarHeight().then(res=>{
const dpr = window.devicePixelRatio;
if(this.$rocNative.isIOS){
......
......@@ -174,7 +174,6 @@ export default {
_self.showFixed = true;
} else {
_self.showFixed = false;
}
}
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册