Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Nav组件增加悬浮面板模式 #11534

Merged
merged 4 commits into from
Feb 6, 2025
Merged

feat: Nav组件增加悬浮面板模式 #11534

merged 4 commits into from
Feb 6, 2025

Conversation

tpto
Copy link
Contributor

@tpto tpto commented Jan 22, 2025

What

扩展了Nav组件的mode参数,设置mode为panel后,用悬浮面板展示Nav的二级、三级菜单。最大支持到三级。

Why

实现效果
image

How

调整amis renders中的Nav、 amis ui 中的Menu,增加mode参数。在amis ui的Menu中控制渲染,当mode:panel时,使用PanelMenu组件渲染导航的二级、三级菜单。

Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@github-actions github-actions bot added the feat label Jan 22, 2025
@hsm-lv hsm-lv merged commit 73fc1cc into baidu:master Feb 6, 2025
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants