|
@@ -3,7 +3,7 @@
|
|
|
<Headers class="headers"></Headers>
|
|
|
<div class="content d-flex">
|
|
|
<side class="content-sticky" v-if="!isInWhiteList(route.path)"></side>
|
|
|
- <div class="content-box d-flex flex-column" :style="`width: ${ !isInWhiteList(route.path) ? 'calc(100vw - 230px)' : '100%'}`">
|
|
|
+ <div class="content-box d-flex flex-column" :style="`width: ${ !isInWhiteList(route.path) ? 'calc(100% - 230px)' : '100%'}`">
|
|
|
<div v-if="!isInWhiteList(route.path)" class="breadcrumbs_sticky">
|
|
|
<div class=" d-flex align-center justify-space-between">
|
|
|
<v-breadcrumbs :items="system.breadcrumbs" elevation="3">
|
|
@@ -24,17 +24,15 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <Slider class="slider"></Slider> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
defineOptions({ name: 'enterprise-layout-index' })
|
|
|
import Headers from './company/navBar.vue'
|
|
|
-// import Slider from './company/slider.vue'
|
|
|
import side from './company/side.vue'
|
|
|
import { useRouter, useRoute } from 'vue-router'
|
|
|
-import { watch, ref, computed } from 'vue'
|
|
|
+import { watch, computed } from 'vue'
|
|
|
import { useSystem } from '@/store/system'
|
|
|
import { useUserStore } from '@/store/user'
|
|
|
|
|
@@ -112,6 +110,7 @@ const toPath = (item) => {
|
|
|
$top: 50px;
|
|
|
.parent {
|
|
|
background-color: var(--default-bgc);
|
|
|
+ min-width: 1200px;
|
|
|
}
|
|
|
.headers {
|
|
|
position: sticky;
|
|
@@ -131,7 +130,7 @@ $top: 50px;
|
|
|
}
|
|
|
}
|
|
|
.full {
|
|
|
- height: calc(100vh - $top);
|
|
|
+ height: calc(100vh - $top - 25px);
|
|
|
width: 100%;
|
|
|
flex: 1;
|
|
|
position: relative;
|