35 lines
589 B
Vue
35 lines
589 B
Vue
<template>
|
|
<el-container class="app-container">
|
|
<el-header class="page-header">
|
|
<jinshen-header />
|
|
</el-header>
|
|
<el-main class="main-content">
|
|
<slot />
|
|
</el-main>
|
|
<el-footer class="page-footer">
|
|
<jinshen-footer />
|
|
</el-footer>
|
|
</el-container>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.app-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.page-header {
|
|
padding: 0px;
|
|
}
|
|
|
|
.main-content {
|
|
flex: 1;
|
|
padding: 20px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.page-footer {
|
|
padding: 0px;
|
|
}
|
|
|
|
</style> |