index.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <div class="flex flex-row h-16 w-full drop-shadow border-l dark:border-l-0 border-gray-200" style="background-color: var(--header-bg-color)">
  3. <div class="flex flex-row justify-between w-full">
  4. <div class="flex flex-row min-w-[17rem]">
  5. <div class="h-full flex items-center w-8 ml-2 hover:cursor-pointer" @click="store.changeExpaned">
  6. <Icon name="list-bullet" class="w-6 h-8" />
  7. </div>
  8. <div class="w-96 flex items-center pl-3 sm:pl-0">
  9. <Breadcrumbs />
  10. </div>
  11. </div>
  12. <div class="flex w-52 sm:min-w-[18rem] flex-row item-center pl-1 sm:pl-0 justify-end sm:justify-between mr-4">
  13. <div class="w-3/5 hidden sm:flex">
  14. <!-- 搜索 -->
  15. <MenuSearch />
  16. <!-- 多语言 -->
  17. <Lang />
  18. <!-- 暗黑主题 -->
  19. <Theme />
  20. <Notification />
  21. </div>
  22. <Profile />
  23. </div>
  24. </div>
  25. </div>
  26. </template>
  27. <script setup lang="ts">
  28. import { useAppStore } from '/admin/stores/modules/app'
  29. import Notification from './notification.vue'
  30. import MenuSearch from './menuSearch.vue'
  31. const store = useAppStore()
  32. </script>