mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 完成新开页的设计
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user