Commit effec7fc by nieyangyang

修改pc端的css

parent 35683af7
...@@ -206,10 +206,14 @@ header .header-content .nav { ...@@ -206,10 +206,14 @@ header .header-content .nav {
line-height: 70px; line-height: 70px;
} }
header .header-content .nav a { header .header-content .nav a {
display: inline-block;
width: 66px;
text-align: center;
color: #000; color: #000;
position: relative;
} }
header .header-content .nav li { header .header-content .nav li {
margin-left: 55px; padding-right: 55px;
} }
header .header-content .nav li.active a, header .header-content .nav li:hover a { header .header-content .nav li.active a, header .header-content .nav li:hover a {
color: #1994FC; color: #1994FC;
...@@ -222,8 +226,9 @@ header .header-content .nav li.active a:after, header .header-content .nav li:ho ...@@ -222,8 +226,9 @@ header .header-content .nav li.active a:after, header .header-content .nav li:ho
background: #177BE3; background: #177BE3;
border-radius: 2px; border-radius: 2px;
position: absolute; position: absolute;
bottom: 16px; left: 25%;
margin-left: 4px; bottom: 15px;
margin-left: -4px;
z-index: 1; z-index: 1;
} }
......
...@@ -48,9 +48,15 @@ header { ...@@ -48,9 +48,15 @@ header {
display: flex; display: flex;
font-size: 16px; font-size: 16px;
line-height: 70px; line-height: 70px;
a { color: #000; } a {
display: inline-block;
width: 66px;
text-align: center;
color: #000;
position: relative;
}
li{ li{
margin-left: 55px; padding-right: 55px;
&.active a,&:hover a, { &.active a,&:hover a, {
color: $themeColor; color: $themeColor;
//新增 //新增
...@@ -62,8 +68,9 @@ header { ...@@ -62,8 +68,9 @@ header {
background: #177BE3; background: #177BE3;
border-radius: 2px; border-radius: 2px;
position: absolute; position: absolute;
bottom: 16px; left: 25%;
margin-left: 4px; bottom: 15px;
margin-left: -4px;
z-index: 1; z-index: 1;
} }
//结束 //结束
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment