|
@@ -0,0 +1,39 @@
|
|
|
+<template>
|
|
|
+ <v-toolbar
|
|
|
+ class="banner"
|
|
|
+ density="compact"
|
|
|
+ style="padding-left: 0px;height: 50px;font-size: 14px;"
|
|
|
+ >
|
|
|
+ <div class="innerBox d-flex justify-space-between">
|
|
|
+ <div class="d-flex">
|
|
|
+ <div class="nav-logo" style="cursor: pointer;" @click="handleLogoClick">
|
|
|
+ <v-img src="@/assets/logo.png" aspect-ratio="16/9" cover :width="90" style="height: 40px"></v-img>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="menuList ml-10">
|
|
|
+ <div v-for="val in menuList" :key="val.name">
|
|
|
+ <component :is="val.path"></component>
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
+ </div>
|
|
|
+ <!-- <div class="d-flex">
|
|
|
+ <span>右侧</span>
|
|
|
+ </div> -->
|
|
|
+ </div>
|
|
|
+ </v-toolbar>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup>
|
|
|
+// import product from './components/product.vue'
|
|
|
+// import solution from './components/solution.vue'
|
|
|
+import { useRouter } from 'vue-router'; const router = useRouter()
|
|
|
+defineOptions({name: 'entrances-navBar'})
|
|
|
+const handleLogoClick = () => { router.push({ path: '/'}) }
|
|
|
+
|
|
|
+// const menuList = [
|
|
|
+// { name: 'product', path: product },
|
|
|
+// { name: 'solution', path: solution },
|
|
|
+// ]
|
|
|
+</script>
|
|
|
+<style lang="scss" scoped>
|
|
|
+@import '@/styles/entrances/navBar.scss'
|
|
|
+</style>
|