| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <template>
- <a-layout class="a-layout" >
- <SiderBar />
- <a-layout >
- <Navbar />
- <span style="padding: 0 24px 24px;margin-top: 24px;overflow: hidden;overflow-y: scroll" >
- <RouterView></RouterView>
- </span>
- </a-layout>
- </a-layout>
- </template>
- <script lang="ts" setup >
- import Navbar from './navbar.vue'
- import SiderBar from './components/Sidebar/index.vue'
- </script>
- <style>
- .a-layout {
- /* width: 100vw; */
- height: 100vh;
- }
- #components-layout-demo-top-side-2 .logo {
- float: left;
- width: 120px;
- height: 31px;
- margin: 16px 24px 16px 0;
- background: rgba(255, 255, 255, 0.3);
- }
- .ant-row-rtl #components-layout-demo-top-side-2 .logo {
- float: right;
- margin: 16px 0 16px 24px;
- }
- .site-layout-background {
- background: #fff;
- }
- </style>
|