nav-bar-evo.vue 397 B

1234567891011121314151617
  1. <script setup lang="ts">
  2. defineProps<{
  3. title?: string
  4. }>()
  5. const navBarProps = ref({
  6. fixed: true,
  7. safeAreaInsetTop: true,
  8. bordered: false,
  9. leftArrow: true,
  10. customClass: 'bg-transparent! text-white!',
  11. })
  12. </script>
  13. <template>
  14. <wd-config-provider :themeVars="{}">
  15. <wd-navbar fixed safeAreaInsetTop v-bind="{ ...navBarProps, title }"></wd-navbar>
  16. </wd-config-provider>
  17. </template>