Skip to content

[BUG]半屏弹窗组件真机与开发者工具中所展现的样式不符. #158

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

Closed
Abbotton opened this issue Mar 9, 2021 · 2 comments
Closed

Comments

@Abbotton
Copy link

Abbotton commented Mar 9, 2021

Bug描述

半屏弹窗组件,小程序开发工具里面底部扩展按钮是水平排列的.
而真机调试时底部扩展按钮是垂直排列叠在一起的.
请问默认样式就是这样还是兼容性问题?

复现方式

真机: vivo-V2001A(vivo x50),
微信版本v8.0.1,
开发者工具: stable v1.05.2102010
扫描weui官方组件库小程序即可看到.

版本信息

  • weui 版本 [useExtendedLib 引入则直接填写 useExtendedLib] :useExtendedLib
@Abbotton
Copy link
Author

Abbotton commented Mar 9, 2021

实测通过自定义样式可以调整为一行显示,但还是想得到官方的回复.

.weui-half-screen-dialog__ft {
  display: flex !important;
}

@Tidyzq
Copy link
Contributor

Tidyzq commented Apr 8, 2021

感谢反馈。尝试了一下似乎是因为屏幕宽度较小,导致原本应该在一行的按钮被挤成了两行。你的这个修复方法确实有效,我会按照你这个修改下。

@Tidyzq Tidyzq closed this as completed in 55eca46 Apr 8, 2021
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

2 participants