WholeProcessPlatform/frontend/src/layout/index.vue
2026-03-27 14:50:35 +08:00

34 lines
651 B
Vue

<script setup lang="ts">
import { computed } from "vue";
import { AppMain, Navbar } from "./components/index";
import { useAppStore } from "@/store/modules/app";
const appStore = useAppStore();
const classObj = computed(() => ({
withoutAnimation: appStore.sidebar.withoutAnimation,
}));
</script>
<template>
<div :class="classObj" class="app-wrapper">
<navbar />
<div class="main-container">
<!--主页面-->
<app-main />
</div>
</div>
</template>
<style lang="scss" scoped>
@use '@/styles/mixin.scss' as mixin;
.app-wrapper {
// @include clearfix;
position: relative;
height: 100%;
width: 100%;
}
</style>