12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <template>
- <div class="floating">
- <div class="layout_fillet-logo">
- <Logo v-if="!isCollapse"/>
- <CollapseIcon/>
- </div>
- <div class="layout_flex_1-y">
- <MenuV2 type="fillet"/>
- </div>
- </div>
- </template>
- <script setup lang="ts">
- import {computed} from "vue";
- import Logo from '../HeaderV2/Logo.vue'
- import {useSystemStore} from "@/pinia/system-store";
- import MenuV2 from "@/layout/MenuV2/MenuV2.vue";
- import CollapseIcon from "@/layout/compoents/CollapseIcon.vue";
- const systemStore = useSystemStore()
- const isCollapse = computed<boolean>(() => systemStore.getCollapse)
- </script>
- <style lang="scss">
- .floating {
- height: 100%;
- width: 100%;
- background-color: var(--el-menu-bg-color);
- display: flex;
- flex-direction: column;
- .el-menu {
- border-right: 0 !important;
- position: relative;
- }
- .menu {
- overflow: auto;
- }
- }
- .layout_fillet-logo {
- display: flex;
- padding: 5px 10px 0 10px;
- align-items: center;
- justify-content: space-between;
- }
- :deep(.el-sub-menu__title) {
- padding: 0 16px;
- }
- </style>
|