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

希望增加二级导航,最好支持n级导航 #33

Open
KongerBest opened this issue Jul 18, 2020 · 5 comments
Open

希望增加二级导航,最好支持n级导航 #33

KongerBest opened this issue Jul 18, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@KongerBest
Copy link

如标题

@ChrAlpha
Copy link
Owner

目前移动端导航已使用抽屉菜单,再增加层级可能就需要重新处理层次逻辑以及展开方式。如有好的想法欢迎 PR。

@ChrAlpha ChrAlpha added the enhancement New feature or request label Jul 18, 2020
@KongerBest
Copy link
Author

image
这种可以实现吗,Volantis主题中以实现,在电脑和手机中都可以顺利展开

@ChrAlpha
Copy link
Owner

当然,这是一种很好的实现。

但有两点:

  • 目前「Cards」主题抽屉是绝对布局,浮于所有内容上方,而该处理是相对布局(特别是二级以后更为明显),相对按钮向下展开。
  • 目前「Cards」主题抽屉会铺满宽度,而该处理会收紧至内容最大宽度。

如是更改将会导致较大变动,可能需要再考虑一下。

@KongerBest
Copy link
Author

可以将移动端改为从侧面展开,展开后向下布局吗

@tkomgg
Copy link

tkomgg commented Aug 25, 2020

目前移动端导航已使用抽屉菜单,再增加层级可能就需要重新处理层次逻辑以及展开方式。如有好的想法欢迎 PR。

有个想法,移动端点击按钮可树型展开,高亮当前所在位置,类似openwrt系统那样的方式。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants