修改密码优化,固定 Header 样式修复

This commit is contained in:
Elune
2019-07-11 14:27:40 +08:00
parent a7e22ced51
commit d368bf5b64
4 changed files with 18 additions and 23 deletions

View File

@@ -1,26 +1,21 @@
<template>
<div>
<section class="app-main">
<!--<CodeFund />-->
<transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews">
<router-view :key="key"/>
</keep-alive>
</transition>
</section>
<section class="app-main">
<transition name="fade-transform" mode="out-in">
<keep-alive :include="cachedViews">
<router-view :key="key"/>
</keep-alive>
</transition>
<div v-if="$store.state.settings.showFooter" id="el-main-footer">
<span v-html="$store.state.settings.footerTxt"/>
<span> </span>
<a href="http://www.beian.miit.gov.cn" target="_blank">{{ $store.state.settings.caseNumber }}</a>
</div>
</div>
</section>
</template>
<script>
// import CodeFund from '@/components/CodeFund'
export default {
name: 'AppMain',
// components: { CodeFund },
computed: {
cachedViews() {
return this.$store.state.tagsView.cachedViews
@@ -39,7 +34,6 @@ export default {
min-height: calc(100vh - 84px);
width: 100%;
position: relative;
padding-bottom: 18px;
overflow: hidden;
}
@@ -48,13 +42,13 @@ export default {
}
.hasTagsView {
.app-main {
min-height: calc(100vh - 84px);
}
.app-main {
min-height: calc(100vh - 84px);
}
.fixed-header+.app-main {
padding-top: 85px;
}
.fixed-header+.app-main {
padding-top: 85px;
}
}
</style>