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

FEATURE: 关于布局,希望有两外两种模式 #5253

Closed
3 tasks done
cbombonera opened this issue Dec 27, 2024 · 6 comments · Fixed by #5270
Closed
3 tasks done

FEATURE: 关于布局,希望有两外两种模式 #5253

cbombonera opened this issue Dec 27, 2024 · 6 comments · Fixed by #5270

Comments

@cbombonera
Copy link

Version

Vben Admin V5

Description

之前有提过,不过是混合很多问题提的,作者说点点就出来
实在是点不出来

1.上顶部
下左菜单 下右内容
和 混合模式有点相似,但是 头部不需要 顶级菜单,菜单还是在右侧
很多场景会需要,比如客户的logo 标题很长

  1. 混合模式 左侧菜单 支持 双排

点不出来,也许布局是有的,望告知

Proposed Solution

同上

Alternatives Considered

No response

Additional Context

No response

Validations

  • Read the docs
  • Ensure the code is up to date. (Some issues have been fixed in the latest version)
  • I have searched the existing issues and checked that my issue does not duplicate any existing issues.
@sosovia
Copy link

sosovia commented Dec 27, 2024

客户的logo 标题很长 是的这个怎么处理呢。感觉框架统一一点会好点。自己改麻烦。

@likui628
Copy link
Collaborator

@cbombonera 最好是给个效果图

@cbombonera
Copy link
Author

@cbombonera 最好是给个效果图

第一种
image

第二种

image

@mynetfan
Copy link
Collaborator

mynetfan commented Dec 30, 2024

第二种我看明白了,有人提过。 #5219
你的第一种我没有看懂,不就是默认的垂直布局吗?

@mynetfan mynetfan mentioned this issue Dec 30, 2024
16 tasks
@mynetfan
Copy link
Collaborator

mynetfan commented Dec 30, 2024

第二种实现: #5263

@cbombonera
Copy link
Author

cbombonera commented Dec 30, 2024

第二种我看明白了,有人提过。 #5219 你的第一种我没有看懂,不就是默认的垂直布局吗?

vben的垂直布局 这样侧边栏logo 比如侧边是200px 那么logo或者其他文字 工具在侧边也是最大200
image

而我说的布局是下图 vben的混合模式就是这样的布局啊,但是混合模式 是头部是顶级菜单
想要的需求 就是 混合模式的布局,但是 头部不是 顶级菜单,侧边栏是 菜单即可
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants