From 11bfca84187c8da2ae737767a5cf4c17382f68c3 Mon Sep 17 00:00:00 2001 From: chenbiao Date: Fri, 21 Sep 2018 10:37:52 +0800 Subject: [PATCH] add 服务 关于我们 --- contact.html | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ js/nav-footer.js | 14 +++++++++++--- services.html | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 205 insertions(+), 3 deletions(-) create mode 100644 contact.html create mode 100644 services.html diff --git a/contact.html b/contact.html new file mode 100644 index 0000000..ccd0210 --- /dev/null +++ b/contact.html @@ -0,0 +1,97 @@ + + + + + + 关于我们 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/js/nav-footer.js b/js/nav-footer.js index 3e0b25c..0a5fd09 100644 --- a/js/nav-footer.js +++ b/js/nav-footer.js @@ -18,10 +18,10 @@ $(function(){ '' + @@ -91,4 +91,12 @@ $(function(){ ' '; $('#header').html(headerHtmls); $('#footer').html(footHtmls); + /** + *弹窗切换 + **/ + $('#nav li').on('click', function () { + var _index = $(this).index(); + $('#nav>li').eq(_index).addClass('current').siblings().removeClass('current'); + + }); }); \ No newline at end of file diff --git a/services.html b/services.html new file mode 100644 index 0000000..e550fca --- /dev/null +++ b/services.html @@ -0,0 +1,97 @@ + + + + + + 服务 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- libgit2 0.21.4