feat: 完成新开页的设计

This commit is contained in:
MTrun
2021-12-21 14:57:31 +08:00
parent 35a05c046b
commit f9d0547fc3
14 changed files with 262 additions and 44 deletions
+27
View File
@@ -0,0 +1,27 @@
<template>
<div class="go-chart">
<n-layout>
<HeaderPro />
<n-layout-content>
<TransitionMain>
<router-view />
</TransitionMain>
</n-layout-content>
</n-layout>
</div>
</template>
<script setup lang="ts">
import { HeaderPro } from '@/layout/components/HeaderPro'
import { requireFallbackImg } from '@/utils'
import { TransitionMain } from '@/layout/components/TransitionMain/index'
</script>
<style lang="scss" scoped>
$height: 100vh;
@include go('chart') {
height: $height;
overflow: hidden;
@include background-image('background-image');
}
</style>