当前位置:网站首页>[ruoyi] enable Mini navigation bar

[ruoyi] enable Mini navigation bar

2022-07-06 02:46:00 sayyy

Preface

  • ruoyi 4.6.0

Mini navigation bar

 Insert picture description here

  • Each time you click the collapse button on the navigation bar, you can achieve the above effect
  • Cannot make the navigation bar collapse by default after the user logs in

Enable Mini navigation bar

1. increase 2 Two system parameters

 Insert picture description here

  • sys.index.navBarStyle = mini-navbar
  • sys.index.logoStyle = hide

2. stay templates/index.html Enable sys.index.navBarStyle

...
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow: hidden" th:classappend="${@config.getKey('sys.index.navBarStyle')}" >
...

3. stay templates/index.html Enable sys.index.logoStyle

...
<li class="logo hidden-xs" th:classappend="${@config.getKey('sys.index.logoStyle')}">
...

Reference resources

http://doc.ruoyi.vip/ruoyi/document/qdsc.html# Parameters use

原网站

版权声明
本文为[sayyy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060241156067.html