Commit cdb42feb authored by lixy's avatar lixy

tab定位

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