remove unused
This commit is contained in:
1 parent
301dab1ca5
commit
ea1c3413a5
88 files changed
+29
-5766
No files matched your search
@@ -1,78 +0,0 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<el-aside class="aside">
|
||||
<navigator />
|
||||
</el-aside>
|
||||
<el-main class="main"> <router-view /> </el-main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import Navigator from '@/components/console/Navigator.vue';
|
||||
import { ElMain, ElAside } from 'element-plus';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'LayoutConsole',
|
||||
components: {
|
||||
Navigator,
|
||||
ElMain,
|
||||
ElAside
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.container {
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
max-width: initial;
|
||||
}
|
||||
|
||||
.header {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
$width: 300px;
|
||||
.aside {
|
||||
width: $width;
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
padding: 15px;
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main {
|
||||
width: calc(100% - $width);
|
||||
background-color: #f3f5f6;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.container {
|
||||
display: block;
|
||||
}
|
||||
.aside {
|
||||
display: none;
|
||||
}
|
||||
.header {
|
||||
display: block;
|
||||
background: white;
|
||||
padding: 15px;
|
||||
padding-top: 50px;
|
||||
height: fit-content;
|
||||
overflow: hidden;
|
||||
.logo {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.main {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,79 +0,0 @@
|
||||
<template>
|
||||
<el-container class="wrapper">
|
||||
<el-header class="header">
|
||||
<top-header />
|
||||
</el-header>
|
||||
<el-main class="main">
|
||||
<el-row>
|
||||
<el-col :span="22" :offset="1">
|
||||
<div class="left">
|
||||
<document-list />
|
||||
</div>
|
||||
<router-view />
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-main>
|
||||
<help-entry class="help" />
|
||||
<el-footer class="footer">
|
||||
<bottom-footer />
|
||||
</el-footer>
|
||||
</el-container>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import TopHeader from '@/components/common/TopHeader.vue';
|
||||
import BottomFooter from '@/components/common/BottomFooter.vue';
|
||||
import DocumentList from '@/components/document/List.vue';
|
||||
import { ElContainer, ElMain, ElFooter, ElHeader, ElRow, ElCol } from 'element-plus';
|
||||
import HelpEntry from '@/components/common/HelpEntry.vue';
|
||||
|
||||
export default {
|
||||
name: 'LayoutCourse',
|
||||
components: {
|
||||
TopHeader,
|
||||
BottomFooter,
|
||||
DocumentList,
|
||||
ElContainer,
|
||||
ElMain,
|
||||
ElFooter,
|
||||
ElHeader,
|
||||
ElRow,
|
||||
ElCol,
|
||||
HelpEntry
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.wrapper {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.header {
|
||||
padding: 0;
|
||||
height: initial;
|
||||
}
|
||||
|
||||
.main {
|
||||
// max-width: 2000px;
|
||||
// margin: auto;
|
||||
.left {
|
||||
float: left;
|
||||
width: 280px;
|
||||
height: 100%;
|
||||
padding: 30px;
|
||||
box-shadow: 1px 0 0 #eee;
|
||||
}
|
||||
@media (max-width: 1200px) {
|
||||
.left {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.help {
|
||||
position: fixed;
|
||||
right: 40px;
|
||||
bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
@@ -1,49 +0,0 @@
|
||||
<template>
|
||||
<el-container class="wrapper">
|
||||
<el-header class="header">
|
||||
<top-header />
|
||||
</el-header>
|
||||
<el-main class="main"> <router-view /> </el-main>
|
||||
<help-entry class="help" />
|
||||
<el-footer class="footer">
|
||||
<bottom-footer />
|
||||
</el-footer>
|
||||
</el-container>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import TopHeader from '@/components/common/TopHeader.vue';
|
||||
import BottomFooter from '@/components/common/BottomFooter.vue';
|
||||
import { ElContainer, ElMain, ElFooter, ElHeader } from 'element-plus';
|
||||
import HelpEntry from '@/components/common/HelpEntry.vue';
|
||||
|
||||
export default {
|
||||
name: 'LayoutService',
|
||||
components: {
|
||||
TopHeader,
|
||||
BottomFooter,
|
||||
ElContainer,
|
||||
ElMain,
|
||||
ElFooter,
|
||||
ElHeader,
|
||||
HelpEntry
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.wrapper {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.header {
|
||||
padding: 0;
|
||||
height: initial;
|
||||
}
|
||||
|
||||
.help {
|
||||
position: fixed;
|
||||
right: 40px;
|
||||
bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user