2026-02-02 14:12:23 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="home">
|
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
|
|
|
background-color: rgba(248, 247, 245, 1);
|
|
|
|
|
background-image: url('@/assets/images/home-bg.png');
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
user-select: none;
|
2026-02-02 14:12:23 +08:00
|
|
|
> .right-main {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
> .bottom-view {
|
|
|
|
|
flex: 1;
|
2026-02-03 11:11:04 +08:00
|
|
|
// background-color: #fff;
|
2026-02-02 14:12:23 +08:00
|
|
|
overflow: hidden;
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|