🎨 页脚展示效果调整

This commit is contained in:
x ronger 2020-10-18 17:52:30 +08:00
parent e21fb6d829
commit ef297115c3
2 changed files with 27 additions and 15 deletions

View File

@ -1,19 +1,29 @@
<template> <template>
<el-row class="footer"> <el-row class="footer">
<el-col style="text-align: center;"> <el-col>
<el-col :xs="24" :sm="24" :xl="12"> <el-col style="text-align: right;margin-bottom: 0.5rem;">
<span>{{ slogan }}</span> <el-col>
<span>{{ slogan_en }}</span> <span>{{ slogan }}</span>
<span>{{ slogan_en }}</span>
</el-col>
</el-col> </el-col>
<el-col :xs="24" :sm="24" :xl="12"> <el-col :span="12" style="text-align: left;">
<el-col class="row align-items-center"> <el-link class="footer-link" rel="nofollow" :underline="false" href="/guides/markdown" style="vertical-align: baseline;"><span>Markdown 教程</span></el-link>
<el-col class="col-auto"> <el-link class="footer-link" rel="nofollow" :underline="false" href="/" style="vertical-align: baseline;"><span>社区规章</span></el-link>
Copyright © 2020 <el-link class="footer-link" rel="nofollow" :underline="false" href="/" style="vertical-align: baseline;"><span>意见反馈</span></el-link>
<el-link rel="nofollow" :underline="false" href="/" style="vertical-align: baseline;"><span>{{ systemName }}</span> <el-link class="footer-link" rel="nofollow" :underline="false" href="/" style="vertical-align: baseline;"><span>关于我们</span></el-link>
</el-link> </el-col>
. <el-col :span="12" style="text-align: right;">
<el-link rel="nofollow" :underline="false" href="http://www.beian.miit.gov.cn/" style="vertical-align: baseline;"><span>{{ beiAn }}</span> <el-col>
</el-link> <el-col class="row align-items-center">
<el-col class="col-auto">
Copyright © 2020
<el-link rel="nofollow" :underline="false" href="/" style="vertical-align: baseline;"><span>{{ systemName }}</span>
</el-link>
.
<el-link rel="nofollow" :underline="false" href="http://www.beian.miit.gov.cn/" style="vertical-align: baseline;"><span>{{ beiAn }}</span>
</el-link>
</el-col>
</el-col> </el-col>
</el-col> </el-col>
</el-col> </el-col>
@ -43,4 +53,7 @@
align-items: center; align-items: center;
display: flex; display: flex;
} }
.footer .footer-link {
margin-left: 2rem;
}
</style> </style>

View File

@ -6,7 +6,7 @@
<el-main> <el-main>
<nuxt :nuxt-child-key="$route.name"/> <nuxt :nuxt-child-key="$route.name"/>
</el-main> </el-main>
<el-footer> <el-footer height="5rem">
<footer-view/> <footer-view/>
</el-footer> </el-footer>
<div v-if="isPostArticle && isShow" style="position: fixed;bottom: 10vh;right: 3vw;"> <div v-if="isPostArticle && isShow" style="position: fixed;bottom: 10vh;right: 3vw;">
@ -98,7 +98,6 @@
.el-footer { .el-footer {
position: relative; position: relative;
/*bottom: 0;*/
width: 100%; width: 100%;
padding-top: 1.2rem; padding-top: 1.2rem;
background: #fff; background: #fff;