提交 1a6e0f0a authored 作者: lihuihui's avatar lihuihui

修改导航,修改学习须知

上级 2ce321a4
...@@ -57,7 +57,9 @@ export default { ...@@ -57,7 +57,9 @@ export default {
color: #ffffff; color: #ffffff;
display: flex; display: flex;
align-items: center; align-items: center;
position: relative;
.nav-left { .nav-left {
width: 30%;
display: flex; display: flex;
position: relative; position: relative;
height: 100%; height: 100%;
...@@ -78,7 +80,14 @@ export default { ...@@ -78,7 +80,14 @@ export default {
} }
} }
.bank-title{ .bank-title{
font-size:24px; position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
-o-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
font-size:.24rem;
color:rgba(102,102,102,1); color:rgba(102,102,102,1);
margin-left: 80px; margin-left: 80px;
} }
...@@ -86,10 +95,9 @@ export default { ...@@ -86,10 +95,9 @@ export default {
display: flex; display: flex;
color:#333333; color:#333333;
margin-left: auto; margin-left: auto;
font-size:18px; font-size:.18rem;
margin-right: 35px;
.logo-name{ .logo-name{
margin-right: 40px; font-size: .18rem;
line-height: 60px; line-height: 60px;
} }
} }
...@@ -97,7 +105,7 @@ export default { ...@@ -97,7 +105,7 @@ export default {
position: relative; position: relative;
padding: 0 20px; padding: 0 20px;
line-height: 60px; line-height: 60px;
font-size: 16px; font-size: .18rem;
color: #000; color: #000;
cursor: pointer; cursor: pointer;
.num { .num {
...@@ -114,11 +122,12 @@ export default { ...@@ -114,11 +122,12 @@ export default {
} }
} }
.logo-box{ .logo-box{
display: flex;
.bank-logor{ .bank-logor{
margin-left: 3px; margin-left: 20px;
} }
img{ img{
height: 26px; width: 50%;
} }
} }
......
<template> <template>
<!-- // 整体网站结构 --> <!-- // 整体网站结构 -->
<el-container :style="{height: containerStyle.height}"> <el-container :style="{height: containerStyle.height}">
<el-header height="80px"><navigation /></el-header> <el-header style="height:auto"><navigation /></el-header>
<el-container> <el-container>
<sidebar :obj="sidebar" /> <sidebar :obj="sidebar" />
<el-main><router-view></router-view></el-main> <el-main><router-view></router-view></el-main>
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
z-index: 1; z-index: 1;
background: #fff; background: #fff;
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
padding: 0 5px; padding: 10px 5px;
} }
.el-main { .el-main {
padding: 0; padding: 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论