xuzhiheng 5 年之前
父節點
當前提交
3bc649f102

+ 6 - 2
src/web/staticres/course/js/course_detail.js

@@ -46,20 +46,24 @@ $(function () {
             $(".tabbar").css({
                 "position": "fixed",
                 "top": 0,
+                "left": 0,
                 "background-color": "#fff",
-                "width": "980px",
+                "width": "100%",
                 "height": "72px",
                 "line-height": "72px",
                 "z-index": "999"
             });
+            $(".c_wrap .c_middle .seats").addClass("seat");
             $('.tabbar .handle').show();
         } else {
             $(".tabbar").css({
                 "position": "static",
-                "width": "980px",
+                "left": 0,
+                "width": "100%",
                 "height": "50px",
                 "line-height": "50px",
             });
+            $(".c_wrap .c_middle .seats").removeClass("seat");
             $('.tabbar .handle').hide();
         }
     })

+ 6 - 9
src/web/staticres/js/public-nav.js

@@ -10,11 +10,11 @@ $(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").css({"color":"#252627"});
+			$navLi.find("a:not(.link)").css({"color":"#252627"});
 		}else{
-			$navLi.find("a").css({"color":"#fff"});
+			$navLi.find("a:not(.link)").css({"color":"#fff"});
 		}
-		$(this).find("a").css({
+		$(this).find("a:not(.link)").css({
 			"color": "#2cb7ca"
 		});
 		$slider.css({
@@ -35,9 +35,6 @@ $(function () {
 		$(".public-nav .items").css("display","none");
 	});
 
-	$(".public-nav .items span").on("click",function(){
-		window.location.href=$(this).attr("attrhref");
-	})
 });
 //
 function selcetIndexNav(number) {
@@ -54,11 +51,11 @@ 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").css({"color":"#252627"});
+		el.find("a:not(.link)").css({"color":"#252627"});
 	}else{
-		el.find("a").css({"color":"#fff"});
+		el.find("a:not(.link)").css({"color":"#fff"});
 	}
-	el.eq($index).find("a").css("color", "#2cb7ca");
+	el.eq($index).find("a:not(.link)").css("color", "#2cb7ca");
 	if(!$index) {
 		$index = 0;
 	} else {

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

@@ -147,9 +147,13 @@ input:-ms-input-placeholder {
   border-bottom-right-radius: 5px;
   transition: all 0.5s;
 }
-.more .items span{
+
+.more .items.course .link{
   white-space: nowrap;
   line-height: 60px;
   cursor: pointer;
   font-size: 15px;
+}
+.more .items.course .link:hover {
+  color: rgba(44,183,202);
 }

+ 2 - 2
src/web/templates/common/pchead.html

@@ -38,8 +38,8 @@
 				</li>
 				<li class="more">
 				    <a>增值服务</a>
-					<div class="items" style="display: none">
-						<span attrhref="/front/course/list">招投标课程</span>
+					<div class="items course" style="display: none">
+						<a class="link" href="/front/course/list">招投标课程</a>
 					</div>
 				</li>
 				<li class="slider"></li>

+ 31 - 8
src/web/templates/course/pc/course_detail.html

@@ -112,6 +112,27 @@
     .course_detail .c_middle .box i {
       font-weight: inherit;
     }
+    .seat{
+        width: 980px;
+        margin-left: -605px;
+        left: 50%;
+    }
+    #course_detail .c_top .price_info .p_sale .more {
+        color: #686868;
+    }
+    #course_detail .c_middle .tips {
+        padding: 30px 30px 36px;
+    }
+    #course_detail .c_wrap .title{
+        position: relative;
+        padding-right: 70px;
+    }
+    #course_detail .c_wrap .title .t_status{
+        position: absolute;
+        right: 0;
+        top: 50%;
+        margin-top: -10px;
+    }
 </style>
 <body>
 {{include "/common/pchead.html"}}
@@ -182,14 +203,16 @@
 	            </div>
 	            <div class="c_middle">
 	                <div class="clearfix tabbar">
-	                    <a href="javascript:;" class="tabbar_item active" data-id="a1">课程介绍</a>
-	                    <a href="javascript:;" class="tabbar_item" data-id="a2">课程大纲</a>
-	                    <a href="javascript:;" class="tabbar_item" data-id="a3">购买须知</a>
-	                    <a href="javascript:;" class="tabbar_item" data-id="a4">客户服务</a>
-	                    <div class="handle">
-	                        <a  class="buy_btn">立即购买</a>
-	                        <a href="/front/course/helpPage" class="help_btn"><i class="iconfont icon-bangzhu"></i><span>帮助中心</span></a>
-	                    </div>
+                        <div class="w seats">
+                            <a href="javascript:;" class="tabbar_item active" data-id="a1">课程介绍</a>
+                            <a href="javascript:;" class="tabbar_item" data-id="a2">课程大纲</a>
+                            <a href="javascript:;" class="tabbar_item" data-id="a3">购买须知</a>
+                            <a href="javascript:;" class="tabbar_item" data-id="a4">客户服务</a>
+                            <div class="handle">
+                                <a  class="buy_btn">立即购买</a>
+                                <a href="/front/course/helpPage" class="help_btn"><i class="iconfont icon-bangzhu"></i><span>帮助中心</span></a>
+                            </div>
+                        </div>
 	                </div>
 	                <div class="box">
 						<h2 id="a1">课程介绍</h2>

+ 5 - 1
src/web/templates/course/pc/course_help.html

@@ -28,7 +28,11 @@
 		})
 	</script>
 </head>
-
+<style type="text/css">
+    .help .help_right .con_list .list_main {
+        border-radius: 10px;
+    }
+</style>
 <body>
     <!-- header -->
 	{{include "/common/pchead.html"}}

+ 4 - 0
src/web/templates/course/pc/course_list.html

@@ -103,6 +103,10 @@
             margin-top: 24px;
             margin-bottom: 24px;
         }
+        .pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
+            background-color: #fff;
+            color: #fff !important;
+        }
     </style>
     <body>
     <!-- header -->

+ 7 - 0
src/web/templates/course/pc/reseverCourse.html

@@ -105,6 +105,13 @@
 		input:-ms-input-placeholder { /* Internet Explorer 10+ */ 
 		    color: #999999; 
 		}
+        .modal-backdrop.in {
+            opacity: .65;
+            filter: alpha(opacity=65);
+        }
+        .modal-footer {
+            padding: 0px 34px 55px;
+        }
 	</style>
     <body>
 		<!-- header -->