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

[Bug]: 弹出层与tabbar #33

Open
baosj627 opened this issue Nov 19, 2024 · 6 comments
Open

[Bug]: 弹出层与tabbar #33

baosj627 opened this issue Nov 19, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@baosj627
Copy link

模块

stdf (STDF 组件)

版本

stdf

描述缺陷

F7DE7A1F-7F93-41AB-A863-221DDA9FE6FB
像日历这种弹出层跟tabbar应该做个适配吧

复现

web上

你的想法

No response

@baosj627 baosj627 added the bug Something isn't working label Nov 19, 2024
@dufu1991
Copy link
Member

TabBar 组件并没有自己决定位置,而是由你自己决定。Popup 默认的 z-index 是 600,请查看你给 TabBar 布局的 z-index 是不是超过了这个值?

image

@baosj627
Copy link
Author

baosj627 commented Nov 19, 2024

我给的500不行

@baosj627
Copy link
Author

44C744C1-92BA-4CDF-ABD2-7B1AF5F09210
138A7F1B-87BC-4877-B6EA-7417DE34D835
E93449E7-C2F2-4ADC-BCE9-762A528B857B
给按钮加了injClass顶上来的

@dufu1991
Copy link
Member

你是用 create-stdf 创建的初始项目吗?

@baosj627
Copy link
Author

你是用 create-stdf 创建的初始项目吗?

是的,不过我加了framework7的路由

@dufu1991
Copy link
Member

我理解了你的意思,当底部有固定 TabBar 的时候,希望日历这类弹出层距离底部有一个间距,避免弹出层与 TabBar 重叠,其实这个是支持的。日历 Calendar 是在 Popup 的基础上封装的,而 Popup 是支持传入 py 这个 API 设置底部间距的。其他在 Popup 之上的组件也都是支持的。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants