_Header.cshtml 2.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. 
  2. <div id="vber_header" style="" class="header align-items-stretch">
  3. <div class="container-fluid d-flex align-items-stretch justify-content-between">
  4. <div class="d-flex align-items-center d-lg-none ms-n3 me-1" title="显示侧边栏">
  5. <div class="btn btn-icon btn-active-light-primary w-30px h-30px w-md-40px h-md-40px" id="vber_aside_mobile_toggle">
  6. <!--Svg Icon | path: icons/duotone/Text/Menu.svg-->
  7. <span class="svg-icon svg-icon-2x mt-1">
  8. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
  9. <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  10. <rect x="0" y="0" width="24" height="24" />
  11. <rect fill="#000000" x="4" y="5" width="16" height="3" rx="1.5" />
  12. <path d="M5.5,15 L18.5,15 C19.3284271,15 20,15.6715729 20,16.5 C20,17.3284271 19.3284271,18 18.5,18 L5.5,18 C4.67157288,18 4,17.3284271 4,16.5 C4,15.6715729 4.67157288,15 5.5,15 Z M5.5,10 L18.5,10 C19.3284271,10 20,10.6715729 20,11.5 C20,12.3284271 19.3284271,13 18.5,13 L5.5,13 C4.67157288,13 4,12.3284271 4,11.5 C4,10.6715729 4.67157288,10 5.5,10 Z" fill="#000000" opacity="0.3" />
  13. </g>
  14. </svg>
  15. </span>
  16. </div>
  17. </div>
  18. <div class="d-flex align-items-center flex-grow-1 flex-lg-grow-0">
  19. <a href="@Url.Action("Index","Home")" class="d-lg-none">
  20. <img alt="Logo" src="/img/logo/logo.png" class="h-30px" />
  21. </a>
  22. </div>
  23. <div class="d-flex align-items-stretch justify-content-between flex-lg-grow-1">
  24. <div class="d-flex align-items-stretch" id="vber_header_nav">
  25. @await Html.PartialAsync("_Header.LeftNavbar.cshtml")
  26. </div>
  27. <div class="d-flex align-items-stretch flex-shrink-0">
  28. @await Html.PartialAsync("_Header.RightNavbar.cshtml")
  29. </div>
  30. </div>
  31. </div>
  32. </div>