Skip to content

Commit

Permalink
出事页面配置效果
Browse files Browse the repository at this point in the history
  • Loading branch information
dian-yu-luo committed Jun 3, 2023
1 parent 28f3a72 commit 92b81f7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
<template>
<a-layout>
<a-layout-sider>
中间值
<a-layout-sider style="background-color: rgba(0,81,255,0.57);">

</a-layout-sider>
<a-layout>
<a-layout-header>Header</a-layout-header>
<a-layout-content>Content</a-layout-content>
<a-layout-footer>Footer</a-layout-footer>
<a-layout-header style="background-color: rgba(188,245,179,0.69);">
<header-view></header-view>
</a-layout-header>
<a-layout-content>
<router-view></router-view>
</a-layout-content>
<a-layout-footer style="background-color: azure">Footer</a-layout-footer>
</a-layout>
</a-layout>
</template>
<style>
.ant-layout-sider {
background-color: lightgreen;
}
.ant-layout-header {
background-color: blue;
color: white;
}
</style>
</style>
<script setup>
import HeaderView from "@/views/HeaderView.vue";
</script>
13 changes: 13 additions & 0 deletions src/views/HeaderView.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script setup>
</script>

<template>
<div>
<h1>不可被察觉 不可被认知,明月会给出解释</h1>
</div>
</template>

<style >
</style>

0 comments on commit 92b81f7

Please sign in to comment.