2026-02-02 14:12:23 +08:00
|
|
|
<template>
|
2026-02-04 10:01:50 +08:00
|
|
|
<div class="home background-pink">
|
2026-02-03 11:11:04 +08:00
|
|
|
<left-nav />
|
2026-02-02 14:12:23 +08:00
|
|
|
<div class="right-main">
|
2026-02-03 11:11:04 +08:00
|
|
|
<top-nav />
|
2026-02-02 14:12:23 +08:00
|
|
|
<div class="bottom-view"><router-view></router-view></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { computed } from 'vue'
|
2026-02-03 11:11:04 +08:00
|
|
|
import LeftNav from './left-nav.vue'
|
|
|
|
|
import TopNav from './top-nav.vue'
|
2026-02-02 14:12:23 +08:00
|
|
|
import { useGlobalStore } from '@/stores'
|
|
|
|
|
const globalStore = useGlobalStore()
|
|
|
|
|
const loading = computed(() => globalStore.state.loading)
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.home {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
display: flex;
|
2026-02-03 11:11:04 +08:00
|
|
|
user-select: none;
|
2026-02-02 14:12:23 +08:00
|
|
|
> .right-main {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
> .bottom-view {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow: hidden;
|
2026-02-05 15:14:50 +08:00
|
|
|
// background-color: #fff;
|
|
|
|
|
// display: flex;
|
2026-02-02 14:12:23 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|