提交 09e77065 编写于 作者: 雪洛's avatar 雪洛

fix: h5 transparentTitle 失效的Bug

上级 a0d035b5
......@@ -159,8 +159,7 @@ export default {
titleNView = Object.assign({}, {
type: this.navigationStyle === 'custom' ? 'none' : 'default'
}, this.transparentTitle in titleNViewTypeList ? {
type: titleNViewTypeList[this.transparentTitle],
backgroundColor: 'rgba(0,0,0,0)'
type: titleNViewTypeList[this.transparentTitle]
} : null, typeof titleNView === 'object' ? titleNView : (typeof titleNView === 'boolean' ? {
type: titleNView ? 'default' : 'none'
} : null))
......
......@@ -108,7 +108,8 @@ uni-page-head {
uni-page-head .uni-page-head {
position: fixed;
left: 0;
left: 0;
top: 0;
width: 100%;
height: 44px;
height: calc(44px + constant(safe-area-inset-top));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册