fix error
This commit is contained in:
parent
ee1f3d44e5
commit
ee474b01c3
|
@ -836,16 +836,16 @@ function transdate(){
|
|||
$('.layout-content').css('margin-top',$('.kenjohn').height()-$('#orbit-bar').height());
|
||||
}
|
||||
if (parseInt($('.layout-content').css('margin-top')==0)){
|
||||
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top+10;
|
||||
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top+5;
|
||||
}else{
|
||||
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;
|
||||
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+5;
|
||||
}
|
||||
}else{
|
||||
theTop = 10;
|
||||
theTop = 5;
|
||||
}
|
||||
console.log(theTop);
|
||||
$("html, body").animate({
|
||||
scrollTop: theTop }, {duration: 500,easing: "swing",complete: function(){
|
||||
scrollTop: theTop }, {duration: 400,easing: "swing",complete: function(){
|
||||
console.log('finish');
|
||||
if(!stop){
|
||||
move_to_target(true);
|
||||
|
|
|
@ -17,10 +17,7 @@ body{
|
|||
.downIcon{
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 775px;
|
||||
@media (min-width:1026px) and (max-width:1280px){
|
||||
top: 735px;
|
||||
}
|
||||
bottom: 15%;
|
||||
//bottom: 10%;
|
||||
z-index: 2;
|
||||
color: #fff;
|
||||
|
|
|
@ -98,7 +98,7 @@ a#content{
|
|||
padding: 0.5em;
|
||||
&:hover{
|
||||
span {
|
||||
color:#0d5151!important;
|
||||
color:#288e8e!important;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
@ -144,9 +144,9 @@ a#content{
|
|||
position: absolute;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width:991px) and (max-width:1025px){
|
||||
@media screen and (min-width:$screen-xs) and (max-width:1025px){
|
||||
.ad-overlay{
|
||||
bottom: 31%;
|
||||
bottom: 50%;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
@ -159,9 +159,12 @@ a#content{
|
|||
@media screen and (min-width: 769px){
|
||||
height: 100vh;
|
||||
}
|
||||
@media screen and (max-width: 768px){
|
||||
height: 720px;
|
||||
@media screen and(min-width:$screen-xs) and (max-width:768px){
|
||||
height: 1000px;
|
||||
}
|
||||
@media screen and (max-width: $screen-xs){
|
||||
height: 720px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.jp-jplayer{
|
||||
|
|
Loading…
Reference in New Issue