Files
lingji-work-fe/src/components/_base/navbar/index.vue

50 lines
1.1 KiB
Vue
Raw Normal View History

2025-06-16 14:42:26 +08:00
<template>
2025-07-10 15:05:02 +08:00
<div class="navbar-wrap">
<div class="left-wrap">
2025-07-01 16:00:35 +08:00
<a-space class="cursor-pointer" @click="router.push('/')">
2025-06-17 11:18:39 +08:00
<img src="@/assets/logo.svg" alt="" />
2025-06-16 14:42:26 +08:00
</a-space>
</div>
2025-07-10 15:05:02 +08:00
<div class="flex-1">
<NavbarMenu />
2025-06-16 14:42:26 +08:00
</div>
2025-07-10 15:05:02 +08:00
<RightSide />
2025-06-16 14:42:26 +08:00
</div>
</template>
2025-07-10 15:05:02 +08:00
<script setup>
import NavbarMenu from './components/navbar-menu';
import RightSide from './components/right-side';
import router from '@/router';
</script>
2025-07-01 16:00:35 +08:00
<style scoped lang="scss">
2025-07-10 15:05:02 +08:00
.navbar-wrap {
2025-06-16 14:42:26 +08:00
display: flex;
justify-content: space-between;
height: 100%;
background-color: var(--color-bg-2);
border-bottom: 1px solid var(--color-border);
2025-07-10 15:05:02 +08:00
.left-wrap {
2025-06-16 14:42:26 +08:00
display: flex;
align-items: center;
2025-07-10 15:05:02 +08:00
padding-left: 20px;
2025-07-01 17:52:41 +08:00
}
2025-07-16 18:29:05 +08:00
.arco-dropdown-option-suffix {
display: none;
}
.enterprises-doption {
.arco-dropdown-option-content {
padding: 0 !important;
border-radius: 8px;
}
&:not(.arco-dropdown-option-disabled):hover {
background-color: transparent;
.arco-dropdown-option-content {
background: var(--BG-200, #f2f3f5);
}
}
}
2025-07-01 17:52:41 +08:00
}
2025-07-01 16:00:35 +08:00
</style>