|
|
@@ -1,24 +1,25 @@
|
|
|
<template>
|
|
|
- <a-layout :class="['layout-top', isBottom ? 'layout-top-bottom' : 'layout-top-no-bottom']">
|
|
|
- <a-layout-header class="m-layout-header">
|
|
|
- <Header />
|
|
|
- </a-layout-header>
|
|
|
- <a-layout class="middleLayout">
|
|
|
- <a-layout-sider class="m-layout-left"
|
|
|
- width="160"
|
|
|
- v-model:collapsed="collapsed"
|
|
|
- @collapse="collapse"
|
|
|
- collapsible>
|
|
|
- <Menu @chooseMenu="chooseMenu"
|
|
|
- :collapsed="collapsed" />
|
|
|
- </a-layout-sider>
|
|
|
- <a-layout-content :style="{ background: '#0E0E0F', flex: 1, }">
|
|
|
- <!-- <Drawer :title="'挂牌'" :visible="visible"></Drawer> -->
|
|
|
- <!-- <Main /> -->
|
|
|
- <router-view />
|
|
|
- </a-layout-content>
|
|
|
+ <a-layout :class="['layout-top', isBottom ? 'layout-top-bottom' : 'layout-top-no-bottom']">
|
|
|
+ <a-layout-header class="m-layout-header">
|
|
|
+ <Header />
|
|
|
+ </a-layout-header>
|
|
|
+ <a-layout class="middleLayout">
|
|
|
+ <a-layout-sider
|
|
|
+ class="m-layout-left"
|
|
|
+ width="160"
|
|
|
+ v-model:collapsed="collapsed"
|
|
|
+ @collapse="collapse"
|
|
|
+ collapsible
|
|
|
+ >
|
|
|
+ <Menu @chooseMenu="chooseMenu" :collapsed="collapsed" />
|
|
|
+ </a-layout-sider>
|
|
|
+ <a-layout-content :style="{ background: '#0E0E0F', flex: 1, }">
|
|
|
+ <!-- <Drawer :title="'挂牌'" :visible="visible"></Drawer> -->
|
|
|
+ <!-- <Main /> -->
|
|
|
+ <router-view />
|
|
|
+ </a-layout-content>
|
|
|
+ </a-layout>
|
|
|
</a-layout>
|
|
|
- </a-layout>
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
import { defineComponent, ref, provide } from 'vue';
|
|
|
@@ -73,9 +74,9 @@ export default defineComponent({
|
|
|
if (value?.children.length) {
|
|
|
let tempIndex = 0;
|
|
|
// 天津麦顿 第一次进入 默认是 订单交易 商品掉期
|
|
|
- if (isOemByEnum(OemType.tian_jing_mai_dun)) {
|
|
|
- tempIndex = 2;
|
|
|
- }
|
|
|
+ // if (isOemByEnum(OemType.tian_jing_mai_dun)) {
|
|
|
+ // tempIndex = 2;
|
|
|
+ // }
|
|
|
// 默认第一个tab页
|
|
|
name = value.children[tempIndex].code;
|
|
|
index.value = [tempIndex.toString()];
|
|
|
@@ -326,8 +327,15 @@ export default defineComponent({
|
|
|
.inlineflex;
|
|
|
}
|
|
|
.ant-menu-inline-collapsed > .ant-menu-item,
|
|
|
- .ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item,
|
|
|
- .ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title,
|
|
|
+ .ant-menu-inline-collapsed
|
|
|
+ > .ant-menu-item-group
|
|
|
+ > .ant-menu-item-group-list
|
|
|
+ > .ant-menu-item,
|
|
|
+ .ant-menu-inline-collapsed
|
|
|
+ > .ant-menu-item-group
|
|
|
+ > .ant-menu-item-group-list
|
|
|
+ > .ant-menu-submenu
|
|
|
+ > .ant-menu-submenu-title,
|
|
|
.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title {
|
|
|
padding: 0 20px !important;
|
|
|
}
|