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

fix: h5 transparentTitle 失效的Bug

上级 a0d035b5
...@@ -159,8 +159,7 @@ export default { ...@@ -159,8 +159,7 @@ export default {
titleNView = Object.assign({}, { titleNView = Object.assign({}, {
type: this.navigationStyle === 'custom' ? 'none' : 'default' type: this.navigationStyle === 'custom' ? 'none' : 'default'
}, this.transparentTitle in titleNViewTypeList ? { }, this.transparentTitle in titleNViewTypeList ? {
type: titleNViewTypeList[this.transparentTitle], type: titleNViewTypeList[this.transparentTitle]
backgroundColor: 'rgba(0,0,0,0)'
} : null, typeof titleNView === 'object' ? titleNView : (typeof titleNView === 'boolean' ? { } : null, typeof titleNView === 'object' ? titleNView : (typeof titleNView === 'boolean' ? {
type: titleNView ? 'default' : 'none' type: titleNView ? 'default' : 'none'
} : null)) } : null))
......
...@@ -109,6 +109,7 @@ uni-page-head { ...@@ -109,6 +109,7 @@ uni-page-head {
uni-page-head .uni-page-head { uni-page-head .uni-page-head {
position: fixed; position: fixed;
left: 0; left: 0;
top: 0;
width: 100%; width: 100%;
height: 44px; height: 44px;
height: calc(44px + constant(safe-area-inset-top)); 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.
先完成此消息的编辑!
想要评论请 注册