Commit 588e5b7f authored by lixy's avatar lixy

关于欣新、营地列表

parent 36758352
...@@ -190,8 +190,8 @@ ...@@ -190,8 +190,8 @@
this.barFixed = true; this.barFixed = true;
let top = document.querySelector('#'+id).offsetTop; let top = document.querySelector('#'+id).offsetTop;
if(id == "history01"){ if(id == "history01"){
document.documentElement.scrollTop = top - 220;
this.tabIndex = 0; this.tabIndex = 0;
document.documentElement.scrollTop = top - 260;
} else if(id == "history02"){ } else if(id == "history02"){
this.tabIndex = 1; this.tabIndex = 1;
document.documentElement.scrollTop = top - 260; document.documentElement.scrollTop = top - 260;
......
...@@ -224,8 +224,12 @@ export default { ...@@ -224,8 +224,12 @@ export default {
width: 360px; width: 360px;
height: 372px; height: 372px;
float: left; float: left;
margin-right: 20px;
background-color: #fff background-color: #fff
} }
.campsiteDetail li:nth-child(3n) a{
margin-right: 0;
}
.campsiteDetail li:nth-child(3n+0) { margin-right:0px; } .campsiteDetail li:nth-child(3n+0) { margin-right:0px; }
.toDetail { .toDetail {
font-size: 16px; font-size: 16px;
......
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