Commit cdb42feb authored by lixy's avatar lixy

tab定位

parent b96a5306
...@@ -175,5 +175,8 @@ ...@@ -175,5 +175,8 @@
height:px2rem(500px); height:px2rem(500px);
overflow: hidden; overflow: hidden;
} }
img{
object-fit:cover;
}
} }
</style> </style>
...@@ -285,7 +285,7 @@ ...@@ -285,7 +285,7 @@
if(this.searchBarFixed){ if(this.searchBarFixed){
document.documentElement.scrollTop = top1 - 105; document.documentElement.scrollTop = top1 - 105;
} else { } else {
document.documentElement.scrollTop = top-32; document.documentElement.scrollTop = top-37;
} }
this.searchBarFixed = true; this.searchBarFixed = true;
}, },
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
if(this.searchBarFixed){ if(this.searchBarFixed){
document.documentElement.scrollTop = top1 - 105; document.documentElement.scrollTop = top1 - 105;
} else { } else {
document.documentElement.scrollTop = top1-155; document.documentElement.scrollTop = top1-160;
} }
this.searchBarFixed = true; this.searchBarFixed = true;
}, },
...@@ -319,7 +319,7 @@ ...@@ -319,7 +319,7 @@
if(this.searchBarFixed){ if(this.searchBarFixed){
document.documentElement.scrollTop = top1 - 105; document.documentElement.scrollTop = top1 - 105;
} else { } else {
document.documentElement.scrollTop = top1-155; document.documentElement.scrollTop = top1-160;
} }
this.searchBarFixed = true; this.searchBarFixed = true;
}, },
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
.select-tab{ .select-tab{
width: 100%; width: 100%;
.select-tab-li-l{ .select-tab-li-l{
font-size:px2rem(32px); font-size:16px;
color: #999; color: #999;
padding: 0 px2rem(20px); padding: 0 px2rem(20px);
} }
......
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