From c0ee88791542ddd33368c13ac8fcff520c01b463 Mon Sep 17 00:00:00 2001 From: Lee-1203 <342694918@qq.com> Date: Thu, 31 Mar 2022 14:01:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=A0=B7=E5=BC=8F=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- about.html | 47 ++++++++++++++++++++++++++++++++++++----------- js/javascript.js | 21 +++++++++++++++++++++ product.html | 28 ++++++++++++++++++++++++---- service-yfw.html | 2 +- service-ywfw.html | 2 +- service-zxfw.html | 2 +- 6 files changed, 84 insertions(+), 18 deletions(-) diff --git a/about.html b/about.html index dd22a33..c29f4f3 100644 --- a/about.html +++ b/about.html @@ -66,22 +66,22 @@ -
+
-
+
公司介绍 @@ -95,9 +95,9 @@
-
+
-

产品中心

+

公司大事件

科技创新引领数据
@@ -231,7 +231,7 @@
-
+
@@ -471,7 +471,7 @@
-
+
  • @@ -582,4 +582,29 @@
+ \ No newline at end of file diff --git a/js/javascript.js b/js/javascript.js index d0311db..6205860 100644 --- a/js/javascript.js +++ b/js/javascript.js @@ -116,6 +116,27 @@ jQuery(function($){ $(this).addClass("active"); }); + // 关于我们锚点 + $('.about-btn').click(function(){ + $('html,body').animate({scrollTop:$('.about-bg').offset().top - 85}, 1000); + $('.about-nav>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.memorabilia-btn').click(function(){ + $('html,body').animate({scrollTop:$('.memorabilia-bg').offset().top - 85}, 1000); + $('.about-nav>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.join-btn').click(function(){ + $('html,body').animate({scrollTop:$('.join-bg').offset().top - 85}, 1000); + $('.about-nav>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.contact-btn').click(function(){ + $('html,body').animate({scrollTop:$('.contact-bg').offset().top - 85}, 1000); + $('.about-nav>a').removeClass("active"); + $(this).addClass("active"); + }); // 大事件滚动 var memorabiliaThumbnailSwiper = new Swiper('.memorabilia-thumbnail-swiper',{ diff --git a/product.html b/product.html index eb2b783..a134302 100644 --- a/product.html +++ b/product.html @@ -66,7 +66,7 @@
-
+
@@ -462,4 +462,24 @@
+ \ No newline at end of file diff --git a/service-yfw.html b/service-yfw.html index aea7f45..800906a 100644 --- a/service-yfw.html +++ b/service-yfw.html @@ -66,7 +66,7 @@
-
+
当前位置 diff --git a/service-ywfw.html b/service-ywfw.html index 7b3bfa7..e3e57d0 100644 --- a/service-ywfw.html +++ b/service-ywfw.html @@ -66,7 +66,7 @@
-
+
当前位置 diff --git a/service-zxfw.html b/service-zxfw.html index 7c27562..06c1fd6 100644 --- a/service-zxfw.html +++ b/service-zxfw.html @@ -66,7 +66,7 @@
-
+
当前位置