xuzhiheng преди 5 години
родител
ревизия
20b95e4110
променени са 3 файла, в които са добавени 9 реда и са изтрити 4 реда
  1. 7 2
      src/web/staticres/js/public-nav.js
  2. 1 1
      src/web/staticres/pccss/public-nav-1200.css
  3. 1 1
      src/web/templates/course/pc/course_list.html

+ 7 - 2
src/web/staticres/js/public-nav.js

@@ -10,13 +10,17 @@ $(function () {
 		    //当前宽度
 		$thisIndex = $(this).index();
 		if((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)||$href.indexOf("supsearch")>-1||$href.indexOf("bidsearchforent")>-1||$href.indexOf("promotional/topics")>-1||$href.indexOf("list")>-1||$href.indexOf("article/content")>-1||$href.indexOf("article/bdprivate")>-1||$href.indexOf("article/mailprivate")>-1||$href.indexOf("article/bdcontent")>-1||$href.indexOf("/jypc/toPushView")>-1||$href.indexOf("/jyblog")>-1||$href.indexOf("/dataExport")>-1||$href.indexOf("/front/dataService.html")>-1||$href.indexOf("/front/course")>-1||$href.indexOf("/front/dataexport")>-1){
-			$navLi.find("a:not(.link)").css({"color":"#252627"});
+            $navLi.find("a:not(.link)").css({"color":"#252627"});
 		}else{
 			$navLi.find("a:not(.link)").css({"color":"#fff"});
+			$navLi.find(".link").css({"color":"#000"});
 		}
 		$(this).find("a:not(.link)").css({
 			"color": "#2cb7ca"
 		});
+        $(this).find(".link").css({
+        	"color": "#000"
+        });
 		$slider.css({
 			"width": $thisWidth + "px",
 			left: $thisIndex * $thisWidth + $thisIndex * 20 + "px", //20是,margin偏移
@@ -51,9 +55,10 @@ function seclectNavLi(el, $index) {
 	/*获取当前这个元素的css*/
 	var $thisCss = el.eq($index).width();
 	if((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)||$href.indexOf("supsearch")>-1||$href.indexOf("bidsearchforent")>-1||$href.indexOf("promotional/topics")>-1||$href.indexOf("list")>-1||$href.indexOf("article/content")>-1||$href.indexOf("article/bdprivate")>-1||$href.indexOf("article/mailprivate")>-1||$href.indexOf("article/bdcontent")>-1||$href.indexOf("/jyblog")>-1||$href.indexOf("/dataExport")>-1||$href.indexOf("/front/dataService.html")>-1||$href.indexOf("/front/course")>-1||$href.indexOf("/front/dataexport")>-1){
-		el.find("a:not(.link)").css({"color":"#252627"});
+        el.find("a:not(.link)").css({"color":"#252627"});
 	}else{
 		el.find("a:not(.link)").css({"color":"#fff"});
+        el.find(".link").css({"color":"#000"});
 	}
 	el.eq($index).find("a:not(.link)").css("color", "#2cb7ca");
 	if(!$index) {

+ 1 - 1
src/web/staticres/pccss/public-nav-1200.css

@@ -155,5 +155,5 @@ input:-ms-input-placeholder {
   font-size: 15px;
 }
 .more .items.course .link:hover {
-  color: rgba(44,183,202);
+  color: rgba(44,183,202)!important;
 }

+ 1 - 1
src/web/templates/course/pc/course_list.html

@@ -103,7 +103,7 @@
             margin-top: 24px;
             margin-bottom: 24px;
         }
-        .pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
+        .pagination>.page>a:focus, .pagination>.page>a:hover, .pagination>.page>span:focus, .pagination>.page>span:hover {
             background-color: #fff;
             color: #fff !important;
         }