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

css样式误差, 感觉像是样式丢失了一样。 #12854

Closed
Johnson1103 opened this issue May 7, 2024 · 3 comments
Closed

css样式误差, 感觉像是样式丢失了一样。 #12854

Johnson1103 opened this issue May 7, 2024 · 3 comments

Comments

@Johnson1103
Copy link

重现链接

https://vant-ui.github.io/vant/#/zh-CN/dialog

Vant 版本

4.8.8

描述一下你遇到的问题。

直接使用文档里的案例。 显示效果是这样的:
image
然后明显能看出了。宽度高度,字体颜色的样式都不对劲

重现步骤

main.js里引入了css。大部分都是正常的。组件引入是在viteconfig里配置的自动导入。
image

设备/浏览器

No response

Copy link

github-actions bot commented May 7, 2024

Hello @Johnson1103. Please provide an online reproduction demo by codesandbox or a minimal GitHub repository. Issues marked with need reproduce will be closed if there is no activity within 3 days. For background, please refer to Why reproductions are required.

你好 @Johnson1103, 我们需要你提供一个在线的重现示例,以便于我们帮你排查问题。你可以通过点击 codesandbox 创建,或者提供一个最小化的 GitHub 仓库。如果 3 天内未跟进,此 issue 将会被自动关闭。背景请参考 为什么需要最小重现

@inottn
Copy link
Collaborator

inottn commented May 7, 2024

参考 #12709 这个看看

@Johnson1103
Copy link
Author

参考#12709这个看看

万分感谢。

@inottn inottn closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants