Commit 25f1748468748d3d0e352d0de901addfed9a9cd1

Authored by liuqimichale
1 parent 8398ceab

软件平台

css/color/color7.css
... ... @@ -2,9 +2,9 @@
2 2 color:#36BFC4;
3 3  
4 4 }
5   -.header .nav li.current a{
6   - border-bottom: 2px solid #fff;
7   -}
  5 +/*.header .nav li.current a{*/
  6 + /**/
  7 +/*}*/
8 8  
9 9 .mail-success .mail-head .button .btn::before ,.mail-success .mail-head .button .btn:after,.mail-success .mail-head .button span::before,.mail-success .mail-head .button span::after,.error .error-left .button span::after ,.error .error-left .button span::before,.error .error-left .button .btn:after,.error .error-left .button .btn::before ,#blog-single .single-news .news-body .date,#single-pf .owl-nav button:hover,.color-plate .icon,#scrollUp,.section-title h2:before,.section-title h2::after,#slider .button .btn::before,#slider .button .btn:after,#slider .button span::before,#slider .button span::after,#Services .single-service i,#blog .single-news .news-body .date,#team .team-hover .social li a:hover,.p-table4 .button .btn::before,.p-table4 .button .btn:after,.p-table4 .button span::before,.p-table4 .button span::after,#contact .contact-left .p1::before,#contact .contact-right,.footer .single-footer .button,.footer .copyright,.slicknav_menu .slicknav_btn{
10 10 background:#36BFC4;
... ...
index.html
... ... @@ -41,6 +41,11 @@
41 41 <!--<link rel="stylesheet" href="css/color/color9.css">-->
42 42  
43 43 <!--<link type="text/css" rel="stylesheet" href="" id="colors">-->
  44 + <style>
  45 + #nav>li:nth-child(1){
  46 + border-bottom: 2px solid #fff;
  47 + }
  48 + </style>
44 49  
45 50 </head>
46 51 <body>
... ...
js/nav-footer.js
... ... @@ -17,7 +17,7 @@
17 17 '<nav class="navbar navbar-default">' +
18 18 '<div class="collapse navbar-collapse">' +
19 19 '<ul id="nav" class="nav navbar-nav">' +
20   - '<li class="current"><a href="index.html">首页</a></li>' +
  20 + '<li class=""><a href="index.html">首页</a></li>' +
21 21 '<li><a href="portfolio.html">产品介绍</a></li>' +
22 22 '<li><a href="services.html">服务</a></li>' +
23 23 '<li><a href="contact.html">关于我们</a></li>' +
... ... @@ -90,15 +90,5 @@
90 90 ' </div>';
91 91 $('#header').html(headerHtmls);
92 92 $('#footer').html(footHtmls);
93   - /**
94   - *弹窗切换
95   - **/
96   - $(document).delegate('#nav li','click',function () {
97   - var _index = $(this).index();
98   - // debugger
99   - console.log(_index);
100   - console.log( $('#nav>li').eq(_index))
101   - console.log( $('#nav>li').eq(_index).siblings().html())
102   - $('#nav>li').eq(_index).addClass('current').siblings().removeClass('current');
103   - });
  93 +
104 94  
... ...
portfolio.html
... ... @@ -40,7 +40,11 @@
40 40 <!--<link rel="stylesheet" href="css/color/color9.css">-->
41 41  
42 42 <!--<link rel="stylesheet" href="#" id="colors">-->
43   -
  43 + <style>
  44 + #nav>li:nth-child(2){
  45 + border-bottom: 2px solid #fff;
  46 + }
  47 + </style>
44 48 </head>
45 49 <body>
46 50  
... ...