lohir
2024-10-17 ac6bbef6786c74e7a86852b1b8bff7f23e8592d8
src/layout/components/Header/index.vue
@@ -29,10 +29,10 @@
<script setup>
import { ref, watchEffect } from 'vue';
import { useRoute,useRouter } from 'vue-router';
import { useRoute } from 'vue-router';
const route = useRoute();
console.log(route);
const menuList = ref([
  {
    name: '首页',
@@ -63,7 +63,7 @@
<style lang="scss" scoped>
.header-container {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.5)
  box-shadow: 0 1px 20px 0 rgb(0 0 0 / 0.1);
}
@media (min-width: 1836px) {
@@ -96,4 +96,4 @@
    opacity: 1;
  }
}
</style>
</style>