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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tpto
Copy link

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant