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

u-navbar在非tabbar页面中使用自定义插槽, 会导致自定义导航栏高度丢失 #1102

Open
timeIsMemory opened this issue Oct 27, 2024 · 1 comment

Comments

@timeIsMemory
Copy link

Snipaste_2024-10-27_11-15-39

版本

2.0.37

转载链接

http://127.0.0.1/

重现步骤

<view class="content">正文</view>
<style lang="scss" scoped> .container { .nav-slot { display: flex; justify-content: space-between; align-items: center; border-radius: 100px; padding: 6rpx 14rpx; // opacity: 0.8; border: solid 0.5px #dadbde; } } </style>

期望的结果是什么?

正文出现在自定义导航栏下面

实际的结果是什么?

自定义导航栏高度丢失, 正文被盖住

@timeIsMemory
Copy link
Author

随便再提一句,在tabbar上的页面又没这个问题

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