@@ -182,4 +182,16 @@ $(".banner-slider").slick({
$("#date").datepicker();
});
+ // // gototop 下滑效果
+$(".arrow").hide();
+$(window).scroll(function(){
+ var y = window.scrollY;
+
+ if(y>10){
+ $(".arrow").show();
+ }else{
+ $(".arrow").hide();
+ }
+});
@@ -186,4 +186,17 @@ $(".feedback-slider1").slick({
$(document).ready(function () {
@@ -76,7 +76,7 @@ body .btn-main:hover {
body .arrow {
position: fixed;
- right: 20px;
+ right: 3vw;
bottom: 50px;
width: 45px;
height: 40px;
@@ -64,7 +64,7 @@ body {
.arrow {