-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
van-nav-bar fixed失效 #12178
Comments
Hello @1943413160jiang. Please provide an online reproduction demo by clicking this link or a minimal GitHub repository. Issues marked with 你好 @1943413160jiang, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。可以通过点击 此处 创建或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。 |
As the issue was labeled with 由于该 issue 被标记为 "需要重现",但在 3 天内没有回应,因此该 issue 将被关闭。如果你有任何进一步的问题,请随时发表评论并重新打开该 issue。背景请参考 为什么需要最小重现。 |
.van-nav-bar--fixed {position: fixed;} 被 .van-hairline--bottom { position: relative }覆盖了 |
请问有解决办法吗 |
把main.js里面 import 'vant/lib/index.css' 的引入放到其他css引入的 下面 |
+1 |
重现链接
无
Vant 版本
最新版4.x
描述一下你遇到的问题。
van-nav-bar在nuxt3本地可以fixed固定在顶部,但是打包之后无法固定就失效了
重现步骤
项目中遇到的
设备/浏览器
google
The text was updated successfully, but these errors were encountered: