Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

顶部显示没有遮住 #3

Open
andyz168 opened this issue Feb 21, 2021 · 3 comments
Open

顶部显示没有遮住 #3

andyz168 opened this issue Feb 21, 2021 · 3 comments

Comments

@andyz168
Copy link

image
在manifest.json设置这个,是显示状态栏,但是还是有部分没遮住
"statusbar" : { "immersed" : false },
image

@andyz168
Copy link
Author

andyz168 commented Feb 21, 2021

components\fix-window
這裏有個top改為0px就好了
`.fix-window-button {
width: 30px;
height: 30px;
opacity: 0.5;
position: fixed;
top: 40px;
left: 20px;
z-index: 999;
}

.fix-window-top {
width: 100%;
position: fixed;
top: 25px;
left: 0;
z-index: 999;
}`

.fix-window--popup {
position: fixed;
top: 60px;
left: 0;
/* transform: translate(-50%, -50%); */
transition-duration: 0.3s;
z-index: 998;
}

@andyz168
Copy link
Author

topwindow在pages.json中 设置无效
topwindow获取不到navigationBarTitleText

@andyz168
Copy link
Author

andyz168 commented Feb 22, 2021

topwindow在pages.json中 设置无效,是因为有条件编译
topwindow获取不到navigationBarTitleText
`

	<fix-window />
	<!-- #endif -->

`
怎么获取到pages.json的值
navigationBarTitleText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant