|
@@ -31,7 +31,7 @@
|
|
<HomeSide v-if="ifShowHomeSide" :key="sideKey" />
|
|
<HomeSide v-if="ifShowHomeSide" :key="sideKey" />
|
|
<el-container class="main-body">
|
|
<el-container class="main-body">
|
|
<router-view></router-view>
|
|
<router-view></router-view>
|
|
- <el-footer>© 启明泰和 2019</el-footer>
|
|
|
|
|
|
+ <el-footer class="footer">© 启明泰和 2019</el-footer>
|
|
</el-container>
|
|
</el-container>
|
|
</el-container>
|
|
</el-container>
|
|
|
|
|
|
@@ -244,6 +244,13 @@ body > .el-container {
|
|
|
|
|
|
.main-body {
|
|
.main-body {
|
|
min-height: calc(100vh - 60px);
|
|
min-height: calc(100vh - 60px);
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.footer {
|
|
|
|
+ justify-self: flex-end;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
|
|
|