50 lines
1.3 KiB
Vue
Raw Normal View History

2021-12-10 14:11:49 +08:00
<template>
2021-12-18 16:36:43 +08:00
<div class="go-project">
<n-layout has-sider position="absolute">
<n-space vertical>
2022-03-14 19:52:01 +08:00
<project-layout-sider></project-layout-sider>
2021-12-18 16:36:43 +08:00
</n-space>
<n-layout>
2022-03-14 19:52:01 +08:00
<layout-header-pro></layout-header-pro>
2021-12-18 16:36:43 +08:00
<n-layout
2021-12-21 14:57:31 +08:00
id="go-project-content-top"
2021-12-18 16:36:43 +08:00
class="content-top"
position="absolute"
:native-scrollbar="false"
>
<n-layout-content>
2022-03-14 19:52:01 +08:00
<layout-transition-main>
<router-view></router-view>
2022-03-14 19:52:01 +08:00
</layout-transition-main>
2021-12-18 16:36:43 +08:00
</n-layout-content>
</n-layout>
</n-layout>
</n-layout>
2021-12-10 14:11:49 +08:00
</div>
</template>
2021-12-18 16:36:43 +08:00
<script setup lang="ts">
2022-03-14 19:52:01 +08:00
import { ProjectLayoutSider } from './layout/components/ProjectLayoutSider'
import { LayoutHeaderPro } from '@/layout/components/LayoutHeaderPro'
import { LayoutTransitionMain } from '@/layout/components/LayoutTransitionMain/index'
2022-12-31 21:26:18 +08:00
import { goDialog } from '@/utils'
// 提示
goDialog({
message: '不要在官方后端上发布任何私密数据,任何人都看得到并进行删除!!!!',
isMaskClosable: true,
closeNegativeText: true,
transformOrigin: 'center',
onPositiveCallback: () => {}
})
2021-12-18 16:36:43 +08:00
</script>
2021-12-10 14:11:49 +08:00
2021-12-18 16:36:43 +08:00
<style lang="scss" scoped>
@include go(project) {
.content-top {
top: $--header-height;
margin-top: 1px;
}
}
</style>