用户体验优化

This commit is contained in:
ronger 2020-09-21 15:05:10 +08:00
parent a1d5ec5c28
commit d491b887d4
4 changed files with 9 additions and 14 deletions

View File

@ -165,7 +165,7 @@
default: default:
_ts.$router.push( _ts.$router.push(
{ {
name: item path: '/'
} }
) )
} }

View File

@ -40,17 +40,14 @@
.el-main { .el-main {
padding: 20px 0; padding: 20px 0;
background-attachment: fixed; background-attachment: fixed;
min-height: 280px; min-height: 87.5vh;
margin-bottom: 6rem;
overflow-x: hidden; overflow-x: hidden;
} }
.el-footer { .el-footer {
position: fixed; position: relative;
bottom: 0;
width: 100%; width: 100%;
padding-top: 1rem; padding-top: 1rem;
padding-bottom: 1rem;
background: #fff; background: #fff;
border-top: 1px solid rgba(0, 40, 100, 0.12); border-top: 1px solid rgba(0, 40, 100, 0.12);
z-index: 80; z-index: 80;

View File

@ -14,7 +14,7 @@
<el-menu-item index="index">首页</el-menu-item> <el-menu-item index="index">首页</el-menu-item>
<el-menu-item index="topic">专题</el-menu-item> <el-menu-item index="topic">专题</el-menu-item>
<el-menu-item index="github">开源代码</el-menu-item> <el-menu-item index="github">开源代码</el-menu-item>
<el-menu-item index="open-source">资料下载</el-menu-item> <!-- <el-menu-item index="open-source">资料下载</el-menu-item>-->
</el-menu> </el-menu>
</el-col> </el-col>
</el-row> </el-row>
@ -180,7 +180,7 @@
default: default:
_ts.$router.push( _ts.$router.push(
{ {
name: item path: '/'
} }
) )
} }

View File

@ -92,17 +92,15 @@
.el-main { .el-main {
padding: 20px 0; padding: 20px 0;
background-attachment: fixed; background-attachment: fixed;
min-height: 280px; min-height: 87.5vh;
margin-bottom: 60px;
overflow-x: hidden; overflow-x: hidden;
} }
.el-footer { .el-footer {
position: fixed; position: relative;
bottom: 0; /*bottom: 0;*/
width: 100%; width: 100%;
padding-top: 1rem; padding-top: 1.2rem;
padding-bottom: 1rem;
background: #fff; background: #fff;
border-top: 1px solid rgba(0, 40, 100, 0.12); border-top: 1px solid rgba(0, 40, 100, 0.12);
z-index: 80; z-index: 80;