瀏覽代碼

feat: 公用头部逻辑修改

zhangyuhan 4 年之前
父節點
當前提交
4ada2716ba
共有 58 個文件被更改,包括 817 次插入721 次删除
  1. 4 0
      src/jfw/front/big-member.go
  2. 1 0
      src/seo.json
  3. 13 2
      src/web/staticres/big-member/css/page_index.css
  4. 15 72
      src/web/staticres/js/public-nav.js
  5. 8 9
      src/web/templates/_error.html
  6. 18 19
      src/web/templates/active/topics.html
  7. 8 3
      src/web/templates/big-member/pc/page_buy_commit.html
  8. 116 70
      src/web/templates/big-member/pc/page_index.html
  9. 177 26
      src/web/templates/common/pchead.html
  10. 4 5
      src/web/templates/course/pc/applyInvoice.html
  11. 5 6
      src/web/templates/course/pc/codePay.html
  12. 2 5
      src/web/templates/course/pc/course_detail.html
  13. 1 2
      src/web/templates/course/pc/course_help.html
  14. 2 3
      src/web/templates/course/pc/course_list.html
  15. 1 4
      src/web/templates/course/pc/orderPay.html
  16. 4 6
      src/web/templates/course/pc/order_detail.html
  17. 5 6
      src/web/templates/course/pc/paySuccess.html
  18. 12 13
      src/web/templates/course/pc/publicToPublic.html
  19. 3 6
      src/web/templates/course/pc/refund.html
  20. 32 33
      src/web/templates/course/pc/reseverCourse.html
  21. 6 7
      src/web/templates/course/pc/viewInvoice.html
  22. 2 2
      src/web/templates/login/forgetPwd.html
  23. 2 3
      src/web/templates/order/pc/datareport/detail.html
  24. 1 1
      src/web/templates/order/pc/orderPay.html
  25. 3 3
      src/web/templates/order/pc/paySuccess.html
  26. 1 2
      src/web/templates/pc/aboutus.html
  27. 1 2
      src/web/templates/pc/advservices.html
  28. 24 27
      src/web/templates/pc/biddetail.html
  29. 8 9
      src/web/templates/pc/biddetail_bd.html
  30. 1 4
      src/web/templates/pc/biddetail_rec.html
  31. 63 65
      src/web/templates/pc/biddingsearch_enterprise.html
  32. 6 7
      src/web/templates/pc/billing_list.html
  33. 1 2
      src/web/templates/pc/businesscooperation.html
  34. 17 18
      src/web/templates/pc/check_invoice.html
  35. 31 32
      src/web/templates/pc/classifylist.html
  36. 2 3
      src/web/templates/pc/createOrderPage.html
  37. 16 17
      src/web/templates/pc/dataExport_invoice.html
  38. 4 5
      src/web/templates/pc/dataExport_noDataErr.html
  39. 9 10
      src/web/templates/pc/dataExport_sieve.html
  40. 5 6
      src/web/templates/pc/dataService.html
  41. 1 2
      src/web/templates/pc/entniche_orderDetail.html
  42. 11 11
      src/web/templates/pc/index.html
  43. 21 22
      src/web/templates/pc/invoice.html
  44. 8 9
      src/web/templates/pc/invoice_error.html
  45. 5 10
      src/web/templates/pc/jyblog.html
  46. 5 10
      src/web/templates/pc/jyblogdetail.html
  47. 3 4
      src/web/templates/pc/member_orderDetail.html
  48. 2 3
      src/web/templates/pc/myOrder.html
  49. 13 15
      src/web/templates/pc/orderDetail.html
  50. 4 5
      src/web/templates/pc/paysuccess.html
  51. 6 7
      src/web/templates/pc/proproject.html
  52. 16 16
      src/web/templates/pc/subscribe.html
  53. 1 1
      src/web/templates/pc/subscribe_new.html
  54. 48 49
      src/web/templates/pc/supsearch.html
  55. 18 19
      src/web/templates/pc/vip_orderDetail.html
  56. 11 11
      src/web/templates/pchelper/pushView.html
  57. 7 8
      src/web/templates/structuredata/pc/index.html
  58. 3 4
      src/web/templates/structuredata/pc/info.html

+ 4 - 0
src/jfw/front/big-member.go

@@ -2,6 +2,7 @@ package front
 
 import (
 	"jfw/public"
+	"jfw/config"
 	qutil "qfw/util"
 
 	"github.com/go-xweb/xweb"
@@ -19,6 +20,7 @@ func init() {
 }
 
 func (s *BigMemberAction) VIPViewPage(htmlName string) {
+    s.T["logid"] = config.Seoconfig["bigmember"].(string)
 	userid, _ := s.GetSession("userId").(string)
 	power, _ := Power(userid)
 	s.T["member_status"] = power
@@ -26,6 +28,7 @@ func (s *BigMemberAction) VIPViewPage(htmlName string) {
 }
 
 func (s *BigMemberAction) PcVIPViewPage(htmlName string) {
+    s.T["logid"] = config.Seoconfig["bigmember"].(string)
 	userid, _ := s.GetSession("userId").(string)
 	power, _ := Power(userid)
 	s.T["member_status"] = power
@@ -33,6 +36,7 @@ func (s *BigMemberAction) PcVIPViewPage(htmlName string) {
 }
 
 func (s *BigMemberAction) WxVIPViewPage(htmlName string) error {
+    s.T["logid"] = config.Seoconfig["bigmember"].(string)
 	userid, _ := s.GetSession("userId").(string)
 	power, _ := Power(userid)
 	s.T["member_status"] = power

+ 1 - 0
src/seo.json

@@ -423,6 +423,7 @@
     "baiduSEM-p": "24",
     "course": "25",
     "wjmm": "26",
+    "bigmember": "27",
     "module": {
         "subscribe": "订阅页",
         "/list/": "标签页",

+ 13 - 2
src/web/staticres/big-member/css/page_index.css

@@ -78,7 +78,7 @@
   position: fixed;
   z-index: 666;
   min-width: 48px;
-  bottom: 58px;
+  bottom: 108px;
   right: initial;
   left: calc(50% + 680px);
   transition: all 0.75s;
@@ -292,7 +292,8 @@
   position: absolute;
   left: 0;
   z-index: 2;
-  background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(#FEE7D9), to(#EFC197));
+  background-color: #EFC197;
+  background-image: linear-gradient(to right, #FEE7D9, #EFC197);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
 }
@@ -443,6 +444,7 @@
   min-width: 1200px;
   top: 0;
   z-index: 666;
+  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.16);
 }
 
 .page--big--index .jy-table thead tr {
@@ -534,16 +536,25 @@
   text-align: center;
   color: #9C520E;
   background: linear-gradient(90deg, #FEE7D9 1.04%, #EFC197 100%);
+  transition: all 0.65s ease;
   border-radius: 37px;
   padding: 14px 36px;
   white-space: nowrap;
   cursor: pointer;
 }
 
+.page--big--index .index-side-box .click-button-box:hover {
+  background: linear-gradient(90deg, #EABA82 0%, #F9D2A5 99%);
+}
+
 .page--big--index .index-side-box .content-side-box {
   height: 387px;
 }
 
+.page--big--index *[data-go-buy][disabled="disabled"] {
+  cursor: not-allowed;
+}
+
 .page--big--index .footer-banner {
   position: fixed;
   z-index: 665;

+ 15 - 72
src/web/staticres/js/public-nav.js

@@ -1,36 +1,22 @@
 "use strict";
 var $href ="";
 $(function () {
-
-	var $navLi = $(".public-nav .jynav li").not(".slider");
 	$href = window.location.href;
-	$navLi.hover(function () {
-		var $slider = $(".public-nav .jynav .slider"),
-		    $thisWidth = $(this).width(),
-		    //当前宽度
-		$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||$href.indexOf("/orderPay")>-1||$href.indexOf("structed/")>-1){
-            $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偏移
-			"background-color":"#2cb7ca"
-		});
-		// $(".public-nav .items").css("display","none");
-		// if($(this).hasClass("more")){
-		// 	$(this).find(".items").css("display","");
-		// }
-	});
+    var $navLi = $("#public-nav.public-nav .jynav li").not(".slider");
+    $navLi.on('mouseover', function () {
+        // 添加hover状态
+        $(this).addClass('hover').parents('.jynav').addClass('hover')
+        scrollToThis.apply($(this)[0])
+        // 原有逻辑未知效果
+        $(".public-nav .items").css("display","none");
+        if($(this).hasClass("more")){
+        	$(this).find(".items").css("display","");
+        }
+    }).on('mouseout', function () {
+        // 切换hover效果
+        $(this).removeClass('hover').parents('.jynav').removeClass('hover')
+        scrollToThis.apply($("#public-nav .jynav li.active")[0])
+    })
 	$(".public-nav .jynav li").mouseover(function(){
 		if($(this).hasClass("more")){
 			$(this).find(".items").css("display","");
@@ -38,47 +24,4 @@ $(function () {
 	}).mouseout(function () {
 		$(".public-nav .items").css("display","none");
 	});
-
 });
-//
-function selcetIndexNav(number) {
-	var $navLi = $(".public-nav .jynav li").not(".slider");
-	var $nav = $(".public-nav .jynav");
-	seclectNavLi($navLi, number)
-	$nav.mouseleave(function() {
-		seclectNavLi($navLi, number)
-	})
-}
-
-function seclectNavLi(el, $index) {
-	var $slider = $(".public-nav .jynav .slider");
-	/*获取当前这个元素的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||$href.indexOf("/orderPay")>-1||$href.indexOf("structed/")>-1){
-        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) {
-		$index = 0;
-	} else {
-		if($index < 0) {
-			throw Error("dot pass -Number")
-		}
-	}
-	if($index==8){
-		$slider.css({
-			"width": $thisCss + "px",
-			left: $index * $thisCss + $index * 20 + "px",
-			"background-color":""
-		})
-	}else{
-		$slider.css({
-			"width": $thisCss + "px",
-			left: $index * $thisCss + $index * 20 + "px",
-			"background-color":"#2cb7ca"
-		})
-	}
-}

+ 8 - 9
src/web/templates/_error.html

@@ -119,7 +119,7 @@
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -127,7 +127,7 @@
 	margin-top: -5px;
 }
 .j-wx-code>.code-text{
-	text-align: center;	
+	text-align: center;
 }
 .j-wx-code>.code-bottom{
 	width: 470px;
@@ -155,7 +155,6 @@
 var s="%d,%s,%d,%s,%s,%s";
 $(function(){
 	$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-	selcetIndexNav(8)
 	$("#bidLogin").on("show.bs.modal", function () {
 		$(".public-nav").css({"padding-right":"17px"});
 	})
@@ -187,7 +186,7 @@ $(function(){
 			"background-color":"#2cb7ca"
 		});
 	});
-	
+
 });
 //
 function selcetIndexNav(number) {
@@ -401,7 +400,7 @@ $("body").click(function(event){
 	}else{
 		//点击body隐藏
 		$(".infoList").hide();
-	}	
+	}
 })
 $(function(){
 	commonMouseEvent();
@@ -414,7 +413,7 @@ function commonMouseEvent(){
 		//$(this).css({
 		//	'boxShadow': '0px 0px 10px rgba(0,0,0, .15)'
 		//});
-		
+
 	}).mouseout(function(){
 		//$(this).css({
 		//	'boxShadow': 'none'
@@ -449,7 +448,7 @@ function infoListCss(){
 	    'border-width': '6px',
 	    'border-color': 'transparent transparent #e0e0e0 transparent'
 	})
-		
+
 	$('.two').css({
 		'display': 'inline-block',
 	    'width': '0px',
@@ -577,7 +576,7 @@ function infoListCss(){
 		<div class="jy_QRtext">一键订阅关键词<br>招标信息自动推送</div>
 			<img id=bc_bottoming src="/images/yj-background.png"/>
 			<img style="position:absolute;left:39px;margin-top:6px;width:123px;" id="bottomimg" src="/wxswordfish/images/QRcode.png"/>
-		</div>		
+		</div>
 	</div>
 	<div class="hidden">
 		<div class="j-bottom-t">
@@ -668,4 +667,4 @@ function backTopAdjust(){
 </script>
 </div>
 </body>
-</html>
+</html>

+ 18 - 19
src/web/templates/active/topics.html

@@ -7,6 +7,7 @@
 <meta name="Description" content="剑鱼标讯,众多投标人的共同选择,招标信息覆盖全国746家政府和行业招标网站,每天实时更新数据超过30000条,手机打开微信3秒即可完成订阅,所有功能全部免费,剑鱼标讯在手,投标无忧!"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/css/active/reset_pc.css" />
@@ -18,8 +19,6 @@
 <script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js"></script>
 <script type="text/javascript">
 	$(function() {
-		$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-		selcetIndexNav(8)
 		$("#bidLogin").on("show.bs.modal", function () {
 			$(".public-nav").css({"padding-right":"17px"});
 		})
@@ -44,7 +43,7 @@
 				});
 			}
 		}
-		
+
 
 		$(window).on("scroll", function() {
 			var $winScroll = $(window).scrollTop(),
@@ -345,7 +344,7 @@
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px !important;
@@ -353,7 +352,7 @@
 	margin-top: 90px;
 }
 .j-wx-code>.code-text{
-	text-align: center;	
+	text-align: center;
 }
 .topics-cf{
 	width: 1200px !important;
@@ -401,7 +400,7 @@
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-active-code>.code-wxm>img{
 	width: 200px;
@@ -438,12 +437,12 @@
 img{
     -webkit-transition: ease .4s;
     transition: ease .4s;
-    -webkit-transform-origin:50% 50%; 
-    transform-origin:50% 50%; 
+    -webkit-transform-origin:50% 50%;
+    transform-origin:50% 50%;
 }
 .hover{
-    -webkit-transform: scale(1.1); 
-    transform: scale(1.1); 
+    -webkit-transform: scale(1.1);
+    transform: scale(1.1);
 }
 .j-com-2-2-imgs{
 	position: absolute;
@@ -499,7 +498,7 @@ img{
 }
 .j-com-2-5-imgs li:nth-child(4){
 	margin-right:-1px;
-	
+
 }
 .j-com-2-7{
 	position: relative;
@@ -656,7 +655,7 @@ var currentNavActive = null;
 $(".j-nav-link").hover(function(){
 	currentNavActive = $(".j-nav-link.active");
 	currentNavActive.removeClass("active");
-	
+
 },function(){
 	if(currentNavActive == null){
 		return;
@@ -678,7 +677,7 @@ $("body").click(function(event){
 	}else{
 		//点击body隐藏
 		$(".infoList").hide();
-	}	
+	}
 })
 $('#bidcommunity').on('show.bs.modal', function (e) {
 	$(".j-head").css("right",17);
@@ -703,7 +702,7 @@ function commonMouseEvent(){
 		$(this).css({
 			'boxShadow': '0px 0px 10px rgba(0,0,0, .15)'
 		});
-		
+
 	}).mouseout(function(){
 		$(this).css({
 			'boxShadow': 'none'
@@ -738,7 +737,7 @@ function infoListCss(){
 	    'border-width': '6px',
 	    'border-color': 'transparent transparent #e0e0e0 transparent'
 	})
-		
+
 	$('.two').css({
 		'display': 'inline-block',
 	    'width': '0px',
@@ -801,7 +800,7 @@ function zbsqClose(){
 						<li onclick="_czc.push(['_trackEvent', '大数据', '环保绿化', 'topics-free'])">环保绿化</li>
 						<li onclick="_czc.push(['_trackEvent', '大数据', '能源电力', 'topics-free'])">能源电力</li>
 						<li style="color:#ffcc00;" onclick="_czc.push(['_trackEvent', '大数据', '更多行业', 'topics-free'])">更多行业</li>
-			
+
 					</ul>
 				</div>
 			</div>
@@ -957,7 +956,7 @@ function zbsqClose(){
 			</div>
 		</div>
 	</div>
-	
+
 	<div class="j-com-4" style="display:none;">
 		<ul class="clear-both-a">
 			<li>
@@ -1136,7 +1135,7 @@ function layerClose(){
 	$("#myModal-div").fadeOut("normal");
 }
 
-//	
+//
 </script>
 </body>
-</html>
+</html>

+ 8 - 3
src/web/templates/big-member/pc/page_buy_commit.html

@@ -7,6 +7,7 @@
     <meta content="使用剑鱼标讯,可以精准匹配招标信息,只需要微信关注剑鱼标讯公众号,然后自行设定所关注的招标关键词和地区,满足订阅需求的招标信息就会在两个小时内自动推送。" name="Description"/>
     <meta content="webkit" name="renderer">
     <meta content="telephone=no" name="format-detection"/>
+    <meta content="大会员" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <link href='{{Msg "seo" "cdn"}}/css/reset.css?v={{Msg "seo" "version"}}' rel="stylesheet" type="text/css"/>
     <link href='{{Msg "seo" "cdn"}}/css/subscribe.css?v={{Msg "seo" "version"}}' rel="stylesheet" type="text/css"/>
@@ -181,10 +182,14 @@
 <script src='{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}' type="text/javascript"></script>
 <script src='{{Msg "seo" "cdn"}}/js/jquery.cookie.js?v={{Msg "seo" "version"}}' type="text/javascript"></script>
 <script>
-    // 切换头部导航
-    var myPageNavIsNormal = true
-    selcetIndexNav(1)
+    $(function () {
+        try {
+            haslogin({{.T.logid}});
+        } catch (e) {}
+    });
+    $("#public-nav").css('background-color', '#fff')
     $(function() {
+
         // 参数
         var getParams = {
             level:3,

+ 116 - 70
src/web/templates/big-member/pc/page_index.html

@@ -1,12 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
-    <title>招标订阅_剑鱼标讯,全行业招标信息智能推送领导者</title>
+    <title>大会员_剑鱼标讯,全行业招标信息智能推送领导者</title>
     <meta content="IE=edge,Chrome=1" http-equiv="X-UA-Compatible"/>
     <meta content="招标订阅,招标项目,中标项目,招标信息,剑鱼标讯" name="Keywords"/>
     <meta content="使用剑鱼标讯,可以精准匹配招标信息,只需要微信关注剑鱼标讯公众号,然后自行设定所关注的招标关键词和地区,满足订阅需求的招标信息就会在两个小时内自动推送。" name="Description"/>
     <meta content="webkit" name="renderer">
     <meta content="telephone=no" name="format-detection"/>
+    <meta content="大会员" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <link href='{{Msg "seo" "cdn"}}/css/reset.css?v={{Msg "seo" "version"}}' rel="stylesheet" type="text/css"/>
     <link href='{{Msg "seo" "cdn"}}/css/subscribe.css?v={{Msg "seo" "version"}}' rel="stylesheet" type="text/css"/>
@@ -34,6 +35,14 @@
         #zc__sdk__sys__btn {
          display: none;
         }
+        body #public-nav[data-theme] .iner .jynav li:hover > a,
+        body #public-nav[data-theme] .iner .jynav li.hover > a,
+        body #public-nav[data-theme] .iner .jynav li.active > a {
+            color: #A96516;
+        }
+        body #public-nav .iner .jynav .slider {
+            background-color: #A96516;
+        }
     </style>
 <body>
 {{include "/common/pchead.html"}}
@@ -438,8 +447,12 @@
 <script src='{{Msg "seo" "cdn"}}/js/swiper.min.js'></script>
 
 <script>
-    $(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
-
+    $(function () {
+        try {
+            haslogin({{.T.logid}});
+        } catch (e) {}
+    });
+    // $(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
     (function (w, d, e, x) {
         w[e] = function () { w.cbk = w.cbk || []; w.cbk.push(arguments); }
         x = d.createElement('script');
@@ -469,16 +482,15 @@
     })
     var openCustomDig = false
     // 切换头部导航
-    var myPageNavIsNormal = true
-    selcetIndexNav(1)
+    // var myPageNavIsNormal = true
 
-    $(".index-side-box img").on('load', function () {
-        if ($(this).attr('width') && $(this).attr('height')) {
-            return
-        }
-        console.log($(this).attr('alt'), $(this)[0].naturalWidth / 2)
-        console.log(`alt="${$(this).attr('alt')}" width="${$(this)[0].naturalWidth / 2}" height="${$(this)[0].naturalHeight / 2}"`)
-    })
+    // $(".index-side-box img").on('load', function () {
+    //     if ($(this).attr('width') && $(this).attr('height')) {
+    //         return
+    //     }
+    //     console.log($(this).attr('alt'), $(this)[0].naturalWidth / 2)
+    //     console.log(`alt="${$(this).attr('alt')}" width="${$(this)[0].naturalWidth / 2}" height="${$(this)[0].naturalHeight / 2}"`)
+    // })
     var isCloseFooterBanner = false
     function getUserInfo () {
         $.post("/jypay/user/getSimpleData?t="+new Date().getTime(),{},function(r){
@@ -519,22 +531,49 @@
 
     // 购买跳转
     $('*[data-go-buy]').on('click', function () {
-        sessionStorage.setItem('pc_big_buy_type', $(this).attr('data-go-buy'))
-        location.href = '/big/pc/page/buy_commit'
+        if (loginflag) {
+            sessionStorage.setItem('pc_big_buy_type', $(this).attr('data-go-buy'))
+            location.href = '/big/pc/page/buy_commit'
+        } else {
+            openLoginDig()
+        }
     })
+    ;(function ($) {
+        var isMember = -1
+        try {
+            isMember = Number({{.T.member_status}})
+        } catch (e) {
+            isMember = -1
+        }
+        if (isMember > 0) {
+            $('*[data-go-buy]').off('click').attr('disabled', 'disabled')
+        }
+    })(jQuery);
 
     function toggleOpen () {
-        zc('frame_status', function(data) {
-            console.log(data)
-            openCustomDig = data === 'expand'
-        })
+        if (loginflag) {
+            zc('frame_status', function(data) {
+                console.log(data)
+                if (data && data.code === '000002') {
+                    window.waitOpenCustomDig = true
+                    return initCustom()
+                }
+                openCustomDig = data === 'expand'
+            })
+        } else {
+            openLoginDig()
+        }
     }
 
     $(window).on('click', function (e) {
         var openDom = $(e.target).hasClass('open-customer') || $(e.target).parents().hasClass('open-customer')
         console.log(openDom, openCustomDig)
         if (openDom) {
-           toggleOpen()
+            if (!loginflag) {
+                openLoginDig()
+            } else {
+                toggleOpen()
+            }
         } else {
             // 收起客服
             if (openCustomDig) {
@@ -545,7 +584,61 @@
             }
         }
     })
+    function initCustom () {
+        $.post("/jypay/user/getSimpleData?t="+new Date().getTime(),{},function(r) {
+            console.log(r, 'r')
+            var ajaxUserInfo = {
+                headImage: '',
+                nickName: '默认昵称',
+                userId: '',
+            }
+
+            if (r) {
+                Object.keys(ajaxUserInfo).forEach(function (v) {
+                    if (r[v] && r[v] !== '') {
+                        ajaxUserInfo[v] = r[v]
+                    }
+                })
+            }
 
+            zc("frame_manual", function (res) {
+                console.log("初始化成功")
+                zc('config', {
+                    // custom:true,
+                    auto_expand: window.waitOpenCustomDig || false,
+                    show_face: 1,
+                    async: 1,
+                    partnerid: ajaxUserInfo.userId,
+                    uname: ajaxUserInfo.nickName,
+                    face: ajaxUserInfo.headImage
+                })
+                zc("dynamic_ready")
+                if (window.waitOpenCustomDig) {
+                    toggleOpen()
+                }
+            })
+        }).fail(function () {
+            console.log('xxx')
+            var ajaxUserInfo = {
+                headImage: '',
+                nickName: '默认昵称',
+                userId: '',
+            }
+            zc("frame_manual", function (res) {
+                console.log("初始化成功")
+                zc('config', {
+                    // custom:true,
+                    auto_expand: false,
+                    show_face: 1,
+                    async: 1,
+                    partnerid: ajaxUserInfo.userId,
+                    uname: ajaxUserInfo.nickName,
+                    face: ajaxUserInfo.headImage
+                })
+                zc("dynamic_ready")
+            })
+        })
+    }
     $(function () {
         $(".icon-close-box").on('click',function () {
             $(this).parent().hide()
@@ -576,7 +669,7 @@
         $(window).scroll(function () {
             // 侧边栏显示控制
             if (typeof goBackTop_disBottom !== 'number') {
-                goBackTop_disBottom = 482
+                goBackTop_disBottom = 484
             }
             var sideDom = $("div[data-backside]")
             if (sideDom.attr('data-backside').length < 1) {
@@ -623,56 +716,9 @@
             }, 10);
         }
         /* 客服咨询 */
-        $.post("/jypay/user/getSimpleData?t="+new Date().getTime(),{},function(r) {
-            console.log(r, 'r')
-            var ajaxUserInfo = {
-                headImage: '',
-                nickName: '默认昵称',
-                userId: '',
-            }
-
-            if (r) {
-                Object.keys(ajaxUserInfo).forEach(function (v) {
-                    if (r[v] && r[v] !== '') {
-                        ajaxUserInfo[v] = r[v]
-                    }
-                })
-            }
-
-            zc("frame_manual", function (res) {
-                console.log("初始化成功")
-                zc('config', {
-                    // custom:true,
-                    auto_expand: false,
-                    show_face: 1,
-                    async: 1,
-                    partnerid: ajaxUserInfo.userId,
-                    uname: ajaxUserInfo.nickName,
-                    face: ajaxUserInfo.headImage
-                })
-                zc("dynamic_ready")
-            })
-        }).fail(function () {
-            console.log('xxx')
-            var ajaxUserInfo = {
-                headImage: '',
-                nickName: '默认昵称',
-                userId: '',
-            }
-            zc("frame_manual", function (res) {
-                console.log("初始化成功")
-                zc('config', {
-                    // custom:true,
-                    auto_expand: false,
-                    show_face: 1,
-                    async: 1,
-                    partnerid: ajaxUserInfo.userId,
-                    uname: ajaxUserInfo.nickName,
-                    face: ajaxUserInfo.headImage
-                })
-                zc("dynamic_ready")
-            })
-        })
+        if (loginflag) {
+            initCustom()
+        }
     });
 </script>
 <!--S-百度统计-->

+ 177 - 26
src/web/templates/common/pchead.html

@@ -11,35 +11,133 @@
 		letter-spacing: -0.8;
 		text-decoration:none
 	}
+    /* hover效果 */
+    #public-nav .iner .jynav li:not(.slider) {
+        padding: 0 10px;
+        margin-right: 0;
+        box-sizing: content-box;
+    }
+    #public-nav .iner .jynav li.more {
+        margin-right: 10px;
+    }
+    #public-nav .iner .jynav li a {
+        color: #fff;
+    }
+    #public-nav .iner .jynav .slider {
+        display: none;
+        background-color: #2cb7ca;
+    }
+    #public-nav .iner .jynav li a.link {
+        color: #1D1D1D;
+    }
+    #public-nav[data-theme] .iner .jynav li:hover > a,
+    #public-nav[data-theme] .iner .jynav li.hover > a,
+    #public-nav[data-theme] .iner .jynav li.active > a {
+        color: #2cb7ca;
+    }
+    #public-nav .iner ul.jynav.hover li:not(.hover) > a {
+        color: #fff;
+    }
+    #public-nav[data-theme="light"] .iner .jynav li a {
+        color: #1D1D1D;
+    }
+    #public-nav[data-theme="light"] .iner ul.jynav.hover li:not(.hover) > a {
+        color: #1D1D1D;
+    }
+    /* 渐变文字 */
+    .text-gradient {
+        display: inline-block;
+        position: relative;
+    }
+    .text-gradient[data-text]::after {
+        content: attr(data-text);
+        color: inherit;
+        position: absolute;
+        left: 0;
+        z-index: 2;
+        background-color: #EFC197;
+        background-image: linear-gradient(to right, #FEE7D9, #EFC197);
+        -webkit-background-clip: text;
+        -webkit-text-fill-color: transparent;
+    }
+    .badge-box {
+        font-size: 12px;
+        line-height: 18px;
+        position: absolute;
+        width: 48px;
+        height: 18px;
+        top: 8px;
+        right: -24px;
+        background-color: #EFC197;
+        background: linear-gradient(90deg, #FEE7D9 2.08%, #EFC197 100%);
+        border-radius: 10px 10px 10px 0;
+    }
+
+    .badge-box .text-gradient::after {
+        content: unset;
+    }
+    /* light theme */
+    #public-nav[data-theme="light"] .badge-box {
+        background-color: #1B1A2A;
+        background: linear-gradient(90deg, #2F2B39 2.08%, #1B1A2A 100%);
+    }
+    #public-nav[data-theme="light"] .badge-box .text-gradient {
+        color: #1D1D1D;
+    }
+    #public-nav[data-theme="light"] .badge-box .text-gradient::after {
+        content: attr(data-text);
+    }
+    #public-nav[data-theme] .logo {
+        position: relative;
+        display: inline-block;
+    }
+    #public-nav[data-theme] .logo img {
+        position: absolute;
+        left: 0;
+        top: 0;
+        opacity: 0;
+    }
+    #public-nav[data-theme="dark"] .logo img[data-theme='dark'] {
+        opacity: 1;
+    }
+    #public-nav[data-theme="light"] .logo img[data-theme='light'] {
+        opacity: 1;
+    }
 </style>
 
 <section class="public-nav" id="public-nav">
 	<div class="iner clearfix">
-		<a class="logo" href="/"><img src="{{Msg "seo" "cdn"}}/images/pc/logo.png?v={{Msg "seo" "version"}}" /></a>
+		<a class="logo" href="/">
+            <img data-theme="dark"  src='{{Msg "seo" "cdn"}}/images/pc/logo.png?v={{Msg "seo" "version"}}' />
+            <img data-theme="light" src='{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png?v={{Msg "seo" "version"}}' />
+        </a>
 		<div class="fr">
 			<ul class="jynav">
-				<li>
+				<li name="首页">
 					<a href="/">首页</a>
 				</li>
-                <li>
+                <li style="position: relative" name="大会员">
+                    <div class="badge-box">
+                        <div class="text-gradient" data-text="黑科技">黑科技</div>
+                    </div>
                     <a href="/big/page/index">大会员</a>
                 </li>
-				<li>
+				<li  name="招标订阅">
 					<a href="/front/subscribe.html">招标订阅</a>
 				</li>
-				<li>
+				<li  name="拟建项目">
 					<a href="/list/stype/NJ.html">拟建项目</a>
 				</li>
-				<li>
+				<li name="招标搜索">
 					<a href="/jylab/supsearch/index.html">招标搜索</a>
 				</li>
-				<li>
+				<li name="数据导出">
 					<a href="javascript:" datahref="/front/dataExport/toSieve" id="dataExport">数据导出</a>
 				</li>
-                <li>
+                <li name="数据服务">
                     <a href="/front/dataService.html">数据服务</a>
 				</li>
-				<li class="more">
+				<li class="more" name="增值服务">
 				  <a>增值服务</a>
 					<div class="items course" style="display: none">
                       <div class="item item_line">
@@ -54,13 +152,6 @@
 			</ul>
 			<div class='useronline' id="login" style="float:left;"></div>
 		</div>
-<!--		<div class="search" style="display:none !important;">-->
-<!--			<form method="post" action="/jylab/supsearch/index.html" id="zbSeatchIndex" style="position:relative;">-->
-<!--				<input class="ser" autocomplete="off"  type="text" name="keywords" placeholder="请输入您要查询的招标信息 " id="" value="" />-->
-<!--				<input type="hidden" name="searchvalue">-->
-<!--				<input class="btn" type="button" onclick="zbSeatch('zbSeatchIndex')" />-->
-<!--			</form>-->
-<!--		</div>-->
 	</div>
 </section>
 
@@ -135,6 +226,74 @@
   </div>
 </div>
 <script type="text/javascript">
+    // 切换底部滑块line
+    function index(el) {
+        if (!el) return -1;
+        var i = 0;
+        do {
+            i++;
+        } while (el = el.previousElementSibling);
+        return i;
+    }
+    function setNavTheme (type) {
+        document.getElementById("public-nav").setAttribute('data-theme', type || 'light')
+    }
+    function scrollToThis () {
+        try {
+            var $slider = document.querySelector(".public-nav .jynav .slider"),
+                $thisWidth = this.offsetWidth || 0,
+                $thisIndex = index(this) - 1;
+            if ($thisWidth == 0) {
+                $slider.style.width = $thisWidth + "px"
+            } else {
+                $slider.style.display = 'inherit'
+                $slider.style.width = $thisWidth + "px"
+                $slider.style.left = $thisIndex * $thisWidth + "px"
+            }
+        } catch (e) {
+            document.querySelector(".public-nav .jynav .slider").style.display = 'none'
+            console.log('获取dom 失败', e)
+        }
+    }
+    function trySelectNav (name) {
+        try {
+            var activeDom = document.querySelector("#public-nav .jynav li[name='"+ name +"']")
+            activeDom.className = 'active ' + activeDom.className
+            scrollToThis.apply(activeDom)
+        } catch (e) {
+            document.querySelector(".public-nav .jynav .slider").style.display = 'none'
+            console.log('select nav error', e)
+        }
+    }
+    ;(function () {
+        var $href = window.location.href;
+        // theme判断 light(黑字,主色Logo)/默认dark(白字,透明Logo)
+        var isEnableCheck = document.getElementsByTagName('meta')['enable-header']
+        if (isEnableCheck) {
+            var lightThemeRegs = ['supsearch', 'bidsearchforent', 'promotional/topics',
+                'list', 'article/content', 'article/bdprivate', 'article/mailprivate',
+                'article/bdcontent', '/jypc/toPushView', '/jyblog', '/dataExport',
+                '/front/dataService.html', '/front/course', '/front/dataexport', '/orderPay',
+                'structed/', '/big/page/', '/big/pc/page/', '/proposedProject', '/jyxspc'
+            ]
+            var isLightTheme = lightThemeRegs.some(function (v) {
+                return $href.indexOf(v) !== -1
+            })
+            if (isLightTheme || isEnableCheck.getAttribute('theme') === 'light') {
+                setNavTheme('light')
+            } else {
+                setNavTheme('dark')
+            }
+            trySelectNav(isEnableCheck.content)
+        } else {
+            if ((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)) {
+                setNavTheme('light')
+            } else {
+                setNavTheme('dark')
+            }
+            // trySelectNav('首页')
+        }
+    })();
 
 $(function(){
 	//
@@ -168,14 +327,6 @@ $(function(){
 			$.cookie("selectNum",1, { expires: 1 });
 		};
 	});
-	//
-	$(window).scroll(function(){
-		if($(this).scrollTop() > 0){
-			$("#backTop").show();
-		}else{
-			$("#backTop").hide();
-		}
-	});
 })
 
 $("#dataExport").click(function(){
@@ -246,7 +397,7 @@ function infoListCss(){
 		'width':'130px',
 		'box-shadow':' 0 0 20px rgba(0,0,0, .2)'
 	})
-	$('.one').css({
+	$('.userInfo .one').css({
 		'display': 'inline-block',
 	    'width': '0px',
 	    'height': '0px',
@@ -258,7 +409,7 @@ function infoListCss(){
 	    'border-color': 'transparent transparent #e0e0e0 transparent'
 	})
 
-	$('.two').css({
+	$('.userInfo .two').css({
 		'display': 'inline-block',
 	    'width': '0px',
 	    'height': '0px',

+ 4 - 5
src/web/templates/course/pc/applyInvoice.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>开发票</title>
+    <meta content="增值服务" name="enable-header"/>
 	{{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css?v={{Msg "seo" "venrsion"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "venrsion"}}">
@@ -180,7 +181,7 @@
 		                        <div class="fl invoice_control_select" id="unit_get_method"></div>
 								<input type="text" style="display:none;" name="rcWay" >
 		                    </div>
-		                    
+
 		                    <div class="clearfix invoice_control" id="sjrBox">
 		                        <div class="fl invoice_control_label">收件人:</div>
 		                        <div class="fl invoice_control_input" name="" id="">
@@ -241,13 +242,11 @@
     <script src="{{Msg "seo" "cdn"}}/course/js/custom_select.js?v={{Msg "seo" "venrsion"}}"></script>
     <script src="{{Msg "seo" "cdn"}}/course/js/invoice.js?v={{Msg "seo" "venrsion"}}"></script>
 	<script>
-		var orderCode = {{.T.orderCode}}; 
+		var orderCode = {{.T.orderCode}};
 		$(function(){
 			$("#public-nav").css("background","#fff");
-			$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
 			$(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 			$("section[id='drder']").css("padding-top", "80px");
-			selcetIndexNav(6);
 			haslogin({{.T.logid}});
 			$(document).off("keydown");
 			//
@@ -258,4 +257,4 @@
 	</script>
 </body>
 
-</html>
+</html>

+ 5 - 6
src/web/templates/course/pc/codePay.html

@@ -5,6 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>扫码支付</title>
+        <meta content="light" theme="light" name="enable-header"/>
 	{{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/bootstrap.min.css?v={{Msg "seo" "venrsion"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "venrsion"}}">
@@ -22,7 +23,7 @@
 			   -moz-border-radius: 6px;
 			        border-radius: 6px;
 			position: relative;
-			 
+
 		}
 		.j-wx-code>.code-close{
 			width: 40px;
@@ -55,7 +56,7 @@
 			text-align: center;
 			margin-bottom: -6px;
 			margin-top: -16px;
-			
+
 		}
 		.j-wx-code>.code-wxm>img{
 			width: 200px;
@@ -185,7 +186,7 @@
 								$("#surplus_second").parent().text("二维码已过期,请重新刷新页面获取二维码");
 							}
 						}
-						
+
 						setInterval(function(){
 							$.post("/jypay/isPaySuccess",{"code": r.data.orderCode},function(r){
 								if(r.success){
@@ -196,7 +197,7 @@
 					}
 				}
 			})
-			
+
 			// 获取上个页面传来的参数
 			function getParam(name) {
 				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
@@ -211,8 +212,6 @@
 		})
 		$(function(){
 			$("#public-nav").css("background","#fff");
-			$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-			selcetIndexNav(6);
 			haslogin({{.T.logid}});
 		})
     </script>

+ 2 - 5
src/web/templates/course/pc/course_detail.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>招投标课程详情</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css">
@@ -213,7 +214,7 @@
 	                        <span class="p_value">¥<strong></strong> 元/人</span>
 	                    </div>
 	                    <div class="p_sale">
-	
+
 	                    </div>
 	                </div>
 	                <div class="clearfix type_info">
@@ -279,10 +280,6 @@
 <script>
     $(function(){
         $("#public-nav").css("background","#fff");
-        $(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-		setTimeout(function(){
-        	selcetIndexNav(6);
-		},500)
 		haslogin({{.T.logid}});
 		$(document).off("keydown");
     })

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

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>帮助中心</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
 	{{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css?v={{Msg "seo" "venrsion"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "venrsion"}}">
@@ -21,9 +22,7 @@
 	<script>
 		$(function(){
 			$("#public-nav").css("background","#fff");
-			$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
 			$(".public-nav").css("border-bottom", "1px solid #e0e0e0");
-			selcetIndexNav(6);
 			haslogin({{.T.logid}});
 		})
 	</script>

+ 2 - 3
src/web/templates/course/pc/course_list.html

@@ -6,6 +6,7 @@
         <meta http-equiv="X-UA-Compatible" content="IE=edge">
         <meta name="viewport" content="width=device-width, initial-scale=1">
         <title>招投标课程</title>
+        <meta content="增值服务" theme="light" name="enable-header"/>
         {{include "/common/pnc.html"}}
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css">
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "version"}}">
@@ -221,11 +222,9 @@
         $(function(){
             $(document).off("keydown");
             $("#public-nav").css("background","#fff");
-            $(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-            selcetIndexNav(6);
 			haslogin({{.T.logid}});
             FastClick.attach(document.body);
-            
+
             // 实现tab切换
             $('.tabs .tabs-wrap').on('click', '.tab', function () {
                 $(".course-list").html("");

+ 1 - 4
src/web/templates/course/pc/orderPay.html

@@ -5,6 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>订单支付</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css?v={{Msg "seo" "venrsion"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/order_pay.css?v={{Msg "seo" "venrsion"}}">
@@ -252,12 +253,8 @@
     var interval_t = 0;
     $(function () {
         $("#public-nav").css("background", "#fff");
-        $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
         $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
         $("section[id='drder']").css("padding-top", "80px");
-        setTimeout(function () {
-            selcetIndexNav(6);
-        }, 300)
         haslogin({{.T.logid}});
         $(document).off("keydown");
         reloadMore(orderCode)

+ 4 - 6
src/web/templates/course/pc/order_detail.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>订单详情</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/bootstrap.min.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "version"}}">
@@ -79,7 +80,7 @@
                 <!-- 订单信息 -->
                 <div class="b_list">
                     <div class="list_thead">
-                        <span class="fl">订单信息</span>  
+                        <span class="fl">订单信息</span>
                         <!-- 当退款状态时显示订单编号 -->
                     </div>
                     <div class="clearfix list_tbody">
@@ -184,10 +185,7 @@
         var orderId = {{.T.orderId}}
         $(function(){
                 $("#public-nav").css("background","#fff");
-                $(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-                setTimeout(function () {
-                    selcetIndexNav(6);
-                },500);
+
             haslogin({{.T.logid}});
             $("#myModal").hide();
             $(document).off("keydown");
@@ -221,4 +219,4 @@
         })
     </script>
 </body>
-</html>
+</html>

+ 5 - 6
src/web/templates/course/pc/paySuccess.html

@@ -6,6 +6,7 @@
         <meta http-equiv="X-UA-Compatible" content="IE=edge">
         <meta name="viewport" content="width=device-width, initial-scale=1">
         <title>支付成功</title>
+        <meta content="增值服务" theme="light" name="enable-header"/>
 		{{include "/common/pnc.html"}}
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/bootstrap.min.css?v={{Msg "seo" "version"}}">
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "version"}}">
@@ -27,7 +28,7 @@
 			   -moz-border-radius: 6px;
 			        border-radius: 6px;
 			position: relative;
-			 
+
 		}
 		.j-wx-code>.code-close{
 			width: 40px;
@@ -60,7 +61,7 @@
 			text-align: center;
 			margin-bottom: -6px;
 			margin-top: -16px;
-			
+
 		}
 		.j-wx-code>.code-wxm>img{
 			width: 200px;
@@ -114,7 +115,7 @@
                 </div>
                 <div class="c_bottom">
                     <p class="order_item">
-                        <span>订单编号</span> 
+                        <span>订单编号</span>
                         <span id="orderCode">6278781990899909</span>
                     </p>
                     <p  class="order_item">
@@ -211,11 +212,9 @@
 					return context == null || context == "" || context == "undefined" ? "" : context;
 				}
 			})
-			
+
 			$(function(){
 				$("#public-nav").css("background","#fff");
-				$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-				selcetIndexNav(6);
 				haslogin({{.T.logid}});
 			})
 			function formatDate(date,hms) {

+ 12 - 13
src/web/templates/course/pc/publicToPublic.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>公对公转账</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
 	{{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/bootstrap.min.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
@@ -29,7 +30,7 @@
 			   -moz-border-radius: 6px;
 			        border-radius: 6px;
 			position: relative;
-			 
+
 		}
 		.j-wx-code>.code-close{
 			width: 40px;
@@ -62,7 +63,7 @@
 			text-align: center;
 			margin-bottom: -6px;
 			margin-top: -16px;
-			
+
 		}
 		.j-wx-code>.code-wxm>img{
 			width: 200px;
@@ -101,7 +102,7 @@
 		#transfer .img_modal {
 		  display: none;
 		}
-		
+
 		#transfer .img_modal .img_screen {
 		  position: fixed;
 		  width: 100%;
@@ -114,7 +115,7 @@
 		  background-color: #000;
 		  opacity: 0.6;
 		}
-		
+
 		#transfer .img_modal .img_box {
 		  position: fixed;
 		  top: 50%;
@@ -125,7 +126,7 @@
 		  margin-left: -512px;
 		  z-index: 1000;
 		}
-		
+
 		#transfer .img_modal .img_box img {
 		  width: 100%;
 		  height: 100%;
@@ -142,7 +143,7 @@
 				right: 0;
 				z-index: 999;
 				background-color:#000 ;
-				opacity: 0.6; 
+				opacity: 0.6;
 			}
 			.img_box{
 				position: fixed;
@@ -253,13 +254,11 @@
     <script src="{{Msg "seo" "cdn"}}/js/publicToPublic.js?v={{Msg "seo" "version"}}"></script>
     <script>
         $(function () {
-            
+
 			$("#public-nav").css("background","#fff");
-			$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-			selcetIndexNav(6);
 			haslogin({{.T.logid}});
             $(document).off("keydown");
-			
+
             function unScroll() {
 				var top = $(document).scrollTop();
 				$(document).on('scroll.unable', function (e) {
@@ -320,7 +319,7 @@
 					}
 				})
             })
-			
+
 			var orderCode = getParam("code");
 			$.ajax({
 				type: 'get',
@@ -335,7 +334,7 @@
 					}
 				}
 			})
-			
+
 			// 获取上个页面传来的参数
 			function getParam(name) {
 				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
@@ -347,7 +346,7 @@
 				r = null;
 				return context == null || context == "" || context == "undefined" ? "" : context;
 			}
-            
+
         })
 		//
 		function inputFile(t){

+ 3 - 6
src/web/templates/course/pc/refund.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>我的订单退款</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/bootstrap.min.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "version"}}">
@@ -40,7 +41,7 @@
 	            <!-- 订单信息 -->
 	            <div class="r_list">
 	                <div class="clearfix list_thead">
-	                    <span class="fl">订单信息</span>  
+	                    <span class="fl">订单信息</span>
 	                    <span class="order_id"></span>
 	                </div>
 	                <div class="list_tbody" id="order_info">
@@ -49,7 +50,7 @@
 	            <!-- 退款操作 -->
 	            <div class="r_list">
 	                <div class="list_thead">
-	                    <span>退款操作</span>  
+	                    <span>退款操作</span>
 	                </div>
 	                <div class="list_tbody" style="padding-bottom: 170px;">
 	                    <div class="clearfix refund_control">
@@ -88,12 +89,8 @@
         // 退款原因
         var refund_reason = ""
         $("#public-nav").css("background","#fff");
-        $(".logo img").attr("src","/images/swordfish/sf_01_new.png");
 		$(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 		$("section[id='drder']").css("padding-top", "80px");
-        setTimeout(function () {
-            selcetIndexNav(6);
-        },500);
 
         haslogin({{.T.logid}});
 		$(document).off("keydown");

+ 32 - 33
src/web/templates/course/pc/reseverCourse.html

@@ -6,6 +6,7 @@
         <meta http-equiv="X-UA-Compatible" content="IE=edge">
         <meta name="viewport" content="width=device-width, initial-scale=1">
         <title>预定课程信息</title>
+        <meta content="增值服务" theme="light" name="enable-header"/>
 		{{include "/common/pnc.html"}}
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "version"}}">
         <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/iconfont.css?v={{Msg "seo" "version"}}">
@@ -24,7 +25,7 @@
 			   -moz-border-radius: 6px;
 			        border-radius: 6px;
 			position: relative;
-			 
+
 		}
 		.j-wx-code>.code-close{
 			width: 40px;
@@ -57,7 +58,7 @@
 			text-align: center;
 			margin-bottom: -6px;
 			margin-top: -16px;
-			
+
 		}
 		.j-wx-code>.code-wxm>img{
 			width: 200px;
@@ -93,17 +94,17 @@
 		.onlyDiscount{
 			display: none;
 		}
-		input::-webkit-input-placeholder { /* WebKit browsers */ 
-		    color: #999999; 
-		} 
-		input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ 
-		    color: #999999; 
-		} 
-		input::-moz-placeholder { /* Mozilla Firefox 19+ */ 
-		    color: #999999; 
-		} 
-		input:-ms-input-placeholder { /* Internet Explorer 10+ */ 
-		    color: #999999; 
+		input::-webkit-input-placeholder { /* WebKit browsers */
+		    color: #999999;
+		}
+		input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
+		    color: #999999;
+		}
+		input::-moz-placeholder { /* Mozilla Firefox 19+ */
+		    color: #999999;
+		}
+		input:-ms-input-placeholder { /* Internet Explorer 10+ */
+		    color: #999999;
 		}
         .modal-backdrop.in {
             opacity: .65;
@@ -229,21 +230,21 @@
 		<script>
 			$(function(){
 				function centerModals() {
-					$('.modal').each(function(i) { 
-						var $clone = $(this).clone().css('display', 'block').appendTo('body'); 
-						var top = Math.round(($clone.height() - $clone.find('.modal-content').height()) / 2); 
-						top = top > 50 ? top : 0; 
-						$clone.remove(); 
-						$(this).find('.modal-content').css("margin-top", top - 50); 
-					}); 
+					$('.modal').each(function(i) {
+						var $clone = $(this).clone().css('display', 'block').appendTo('body');
+						var top = Math.round(($clone.height() - $clone.find('.modal-content').height()) / 2);
+						top = top > 50 ? top : 0;
+						$clone.remove();
+						$(this).find('.modal-content').css("margin-top", top - 50);
+					});
 				}
                 $(document).off("keydown");
-				
-				// 在模态框出现的时候调用垂直居中方法 
-				$('.modal').on('show.bs.modal', centerModals); 
-				// 在窗口大小改变的时候调用垂直居中方法 
+
+				// 在模态框出现的时候调用垂直居中方法
+				$('.modal').on('show.bs.modal', centerModals);
+				// 在窗口大小改变的时候调用垂直居中方法
 				$(window).on('resize', centerModals);
-				
+
 				//
 				var courseId = {{.T.courseId}}
 				var oneReduce = 0; //每单立减
@@ -382,7 +383,7 @@
 					var finallyPrices = (price * text - oneReduce - manyReduce).toFixed(2);
 				    $('#lastPrice').html(parseFloat(finallyPrices));
 				})
-				
+
 				// 确定支付
 				$('.pay_btn button').click(function(){
                     $('.pay_btn button').attr("disabled","disabled");
@@ -391,7 +392,7 @@
 					var phone = $(".phone").val().replace(/(^\s*)|(\s*$)/g, "");
 					var email = $(".email").val().replace(/(^\s*)|(\s*$)/g, "");
 					var pay_way = "";
-					
+
 					if($('.gdg').hasClass('active')){
 						// 跳转到公对公转账
 						pay_way = "transferAccounts";
@@ -408,7 +409,7 @@
 					}
 					var allprice = Math.round($('#lastPrice').text()* 100);
 					setSessionStorage(company,name,phone,email,pay_way);
-					
+
 					var param = {
 						"company": company,
 						"name": name,
@@ -421,7 +422,7 @@
 						"courseName": courseName,
 						"courseType": courseType,
 						"courseAddress": courseArea,
-						"coursePrice": coursePrice, 
+						"coursePrice": coursePrice,
 					}
 					// console.log(param);
 					$.ajax({
@@ -445,7 +446,7 @@
 						}
 					})
 				})
-				
+
 				function setSessionStorage(company,name,phone,email,pay_way){
 					sessionStorage.setItem("course_company_"+courseId, company);
 					sessionStorage.setItem("course_name_"+courseId, name);
@@ -455,7 +456,7 @@
 					sessionStorage.setItem("course_singleprice_"+courseId, price);
 					sessionStorage.setItem("course_peopleNum_"+courseId, text);
 				}
-				
+
 				function getSessionStorage(){
 					if(sessionStorage.getItem("course_company_"+courseId)!==undefined&&sessionStorage.getItem("course_company_"+courseId)!==null){
 						var company = sessionStorage.getItem("course_company_"+courseId);
@@ -513,8 +514,6 @@
 			})
 			$(function(){
 				$("#public-nav").css("background","#fff");
-				$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-				selcetIndexNav(6);
 				haslogin({{.T.logid}});
 			})
 		</script>

+ 6 - 7
src/web/templates/course/pc/viewInvoice.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>查看发票</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
 	{{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/iconfont/iconfont.css?v={{Msg "seo" "venrsion"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/reset_pc.css?v={{Msg "seo" "venrsion"}}">
@@ -39,7 +40,7 @@
 	            <!-- 订单信息 -->
 	            <div class="ci_list">
 	                <div class="list_thead">
-	                    <span>订单编号:{{.T.orderCode}}</span>  
+	                    <span>订单编号:{{.T.orderCode}}</span>
 	                </div>
 	                <div class="list_tbody">
 	                    <p>发票类型:-</p>
@@ -51,7 +52,7 @@
 	            <!-- 发票信息 -->
 	            <div class="ci_list" id="invinfo" style="display:none;">
 	                <div class="list_thead">
-	                    <span>发票信息</span>  
+	                    <span>发票信息</span>
 	                </div>
 	                <div class="list_tbody">
 	                </div>
@@ -59,7 +60,7 @@
 	            <!-- 邮寄地址 -->
 	            <div class="ci_list" id="invaddess" style="display:none;">
 	                <div class="list_thead">
-	                    <span>邮寄地址</span>  
+	                    <span>邮寄地址</span>
 	                </div>
 	                <div class="list_tbody">
 	                </div>
@@ -72,15 +73,13 @@
     {{include "/common/pcbottom.html"}}
 	{{include "/common/baiducc.html"}}
 	<script>
-		var orderCode = {{.T.orderCode}}; 
+		var orderCode = {{.T.orderCode}};
 		$(function(){
 			$("#public-nav").css("background","#fff");
-			$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
 			$(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 			$("section[id='drder']").css("padding-top", "80px");
-			selcetIndexNav(6);
 			haslogin({{.T.logid}});
-			
+
 			reloadInvoice();
 			$(document).off("keydown");
 		})

+ 2 - 2
src/web/templates/login/forgetPwd.html

@@ -4,6 +4,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -110,9 +111,8 @@
 <script type="text/javascript">
 var myPageNavIsNormal = true;
 $(function(){
-  $(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
 	haslogin({{.T.logid}});
 });
 </script>
 </body>
-</html>
+</html>

+ 2 - 3
src/web/templates/order/pc/datareport/detail.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>订单详情</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     <script>
         var myPageNavIsNormal = true;
     </script>
@@ -128,10 +129,8 @@
     <script>
         $(function () {
             $("#public-nav").css("background", "#fff");
-            $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
             $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
             $("section[id='drder']").css("padding-top", "80px");
-            selcetIndexNav(7);
             haslogin({{.T.logid}});
 
             var orderCode = {{.T.orderId}};
@@ -253,4 +252,4 @@
         }
     </script>
 </body>
-</html>
+</html>

+ 1 - 1
src/web/templates/order/pc/orderPay.html

@@ -5,6 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>订单支付</title>
+        <meta content="light" theme="light" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/order/iconfont/iconfont.css?v={{Msg "seo" "venrsion"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/order/css/order_pay.css?v={{Msg "seo" "venrsion"}}">
@@ -91,7 +92,6 @@
     $(function () {
         //nav样式
         $("#public-nav").css("background", "#fff");
-        $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
         $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
         $("section[id='drder']").css("padding-top", "80px");
         //获取支付信息

+ 3 - 3
src/web/templates/order/pc/paySuccess.html

@@ -5,6 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>支付成功</title>
+        <meta content="light" theme="light" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/order/css/reset_pc.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/order/css/pay_success.css?v={{Msg "seo" "version"}}1">
@@ -41,10 +42,10 @@
             {{if eq .T.orderType "member"}}
             <p class="c_t_price" id="orderMoney"></p>
             <div class="qrcode">
-              <img class="qrcodeImg" src="https://www.jianyu360.com/front/downloadJyApp/qr?page=member_pc_order&source=pc_scan"> 
+              <img class="qrcodeImg" src="https://www.jianyu360.com/front/downloadJyApp/qr?page=member_pc_order&source=pc_scan">
               <div class="download">扫码下载剑鱼标讯APP</div>
             </div>
-            {{end}}  
+            {{end}}
         </div>
         <div class="c_bottom">
             <p class="order_item">
@@ -80,7 +81,6 @@
     var myPageNavIsNormal = true;
     $(function () {
         $("#public-nav").css("background", "#fff");
-        $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
         haslogin({{.T.logid}});
         var orderType={{.T.orderType}};
         if (orderType=="member"){

+ 1 - 2
src/web/templates/pc/aboutus.html

@@ -307,7 +307,6 @@ function initBC(){
 }
 $(function(){
 	haslogin({{.T.logid}});
-	selcetIndexNav(8)
 	$("#scandownload").hover(function(){
 		$(".download>span").show();
 	},function(){
@@ -375,4 +374,4 @@ $(function(){
 <!--百度统计end-->
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>

+ 1 - 2
src/web/templates/pc/advservices.html

@@ -14,7 +14,6 @@
 		$(function(){
 			//
 			haslogin({{.T.logid}});
-			selcetIndexNav(8)
 		})
 	</script>
 </head>
@@ -52,4 +51,4 @@
 {{include "/common/pcbottom.html"}}
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>

+ 24 - 27
src/web/templates/pc/biddetail.html

@@ -7,6 +7,7 @@
 <meta name="Description" content="{{.T.obj.description}}"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
@@ -101,7 +102,7 @@ body{
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -109,7 +110,7 @@ body{
 	margin-top: -5px;
 }
 .j-wx-code>.code-text{
-	text-align: center;	
+	text-align: center;
 }
 .j-wx-code>.code-bottom{
 	width: 470px;
@@ -160,7 +161,7 @@ body{
 }
 .adv-pccontent-right{
 	position:absolute;
-	top:0px; 
+	top:0px;
 	right:-5px;
 	width:200px;
 	height:200px;
@@ -220,10 +221,6 @@ if(refer.indexOf("NJ")>0){
 }else{
 	$(".j-nav .j-nav-link:eq(2)").addClass("active");
 }
-$(function(){
-	$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-	selcetIndexNav(8)
-})
 //
 function isWechat() {
     var ua = navigator.userAgent.toLowerCase();
@@ -241,14 +238,14 @@ function isWechat() {
 		<div class="com-title" id="com-title">
 <!--			<span style="border-bottom:1px solid #2cb7ca">{{.T.obj.title}}</span>-->
 			{{.T.obj.title}}
-			
+
 		</div>
 		<div class="com-statusbar" id="statusbar">
 			{{if not .T.isForceShare}}
 			<span class="com-guanzhu">
 				<img src="{{Msg "seo" "cdn"}}/images/guanzhu.png">
 				<font>关注项目</font>
-				<div class="scanqr"> 
+				<div class="scanqr">
 					<span>微信扫一扫</span>
 					<img class="img" id="wxCode" src="/front/share/{{.T.shareid}}" alt="微信订阅号">
 					<span>扫码关注此项目<br>实时查看最新公告</span>
@@ -256,14 +253,14 @@ function isWechat() {
 			</span>
 			<span class="com-wxshare">
 				<img src="{{Msg "seo" "cdn"}}/images/wxshare.png">微信分享
-				<div class="scanqr"> 
+				<div class="scanqr">
 					<span>微信扫一扫</span>
 					<img class="img" src="/biddetail/normal/qr/{{.T.obj._id}}" alt="微信分享">
 				</div>
 			</span>
 			{{end}}
 		</div>
-		
+
 		<div class="com-prebuilt hidden">
 			<div class="preb-title">项目基本信息</div>
 			<div class="preb-basic">
@@ -359,7 +356,7 @@ function isWechat() {
 			<a href="{{.T.obj.url}}" target="_blank" class="com-original hidden">
 				<img src="{{Msg "seo" "cdn"}}/images/pc_15.png">查看原文
 			</a>
-			<!--#onekey{padding:8px 40px;}-->	
+			<!--#onekey{padding:8px 40px;}-->
 			<!--<div class="onekey" data-toggle="modal" data-target="#myModal">一键报告排版问题</div>-->
 			<!--<div class="clicklike hidden">
 				<div class="jyuseful">
@@ -597,7 +594,7 @@ $(function(){
 			var average = uli/tdno.find("td").length ;
 			$("#"+sparr[m]).parent("td").css("width",average);
 		}
-		
+
 	}
 	{{if .T.obj.projectinfo.attachments}}
 	var attachments = {{.T.obj.projectinfo.attachments}}
@@ -627,17 +624,17 @@ $(function(){
 			}
 		}
 		//}
-		
+
 		$(".preb-enclosure").append(pdfhtml)
 	}
-	
+
 	//
 	{{end}}
 	//
 	{{if .T.obj.infoformat}}
 	{{if eq .T.obj.infoformat 2}}
 	$(".com-prebuilt").removeClass("hidden");
-	
+
 	{{else}}
 	$(".com-original").removeClass("hidden");
 	{{end}}
@@ -664,7 +661,7 @@ $(function(){
 			window.open('javascript:window.name', '<script>location.replace("'+url+'")<\/script>');
 		}
 	});
-	
+
 	//var sds = {{.T.keywords}};
 	sds = urlkds.replace(/\++/g," ");
 	var projectName = {{.T.obj.projectname}};
@@ -709,13 +706,13 @@ $(function(){
 						var prebExamcont = $(this).text();
 						prebExamcont = keyWordHighlight(prebExamcont,wordsArray[i],"<span class='jykeyword jykeyword-border'>$1</span>");
 						$(this).html(prebExamcont);
-					})				
+					})
 			}
 		}
 	}
-		
+
 	$(".com-detail").html(content);
-	
+
 	$("#com-title").html(titleCopy);
 	//
 
@@ -774,7 +771,7 @@ $(function(){
 		$(".animathistory_ent").each(function(){
 			if($(this).parents(".winner").attr("dataNum") == that.attr("dataNum")){
 				return true
-			}			
+			}
 			$(this).fadeOut(1000);
 		})
         $(this).find(".animathistory_ent").fadeIn(1000);
@@ -1083,7 +1080,7 @@ var thishtlists = function(){
 				hthtml += listtitle
 			}
 				hthtml +='</a></div></div>'
-			
+
 			$(".animathistory .htcontent").append(hthtml);
 		}
 			$(".htlist").find("a").mouseover(function(){
@@ -1249,7 +1246,7 @@ function upordown(type){
 		        url:'/swordfish/praise',
 		        data:{type:type,aosup:aosup,aosdown:aosdown,id:{{.T.obj._id}}},
 		        cache:false,
-		        dataType:'json', 
+		        dataType:'json',
 		        success:function(data){
 					if(data.flag == "T"){
 						$.cookie("up{{.T.obj._id}}",'', { expires: -1 })
@@ -1264,7 +1261,7 @@ function upordown(type){
 		        },
 				error: function(){
 					isReqing = false;
-				}    
+				}
 		    });
 		}
 	}else{
@@ -1294,7 +1291,7 @@ function upordown(type){
 		        url:'/swordfish/praise',
 		        data:{type:type,aosup:aosup,aosdown:aosdown,id:{{.T.obj._id}}},
 		        cache:false,
-		        dataType:'json', 
+		        dataType:'json',
 		        success:function(data){
 					if(data.flag == "T"){
 						$.cookie("up{{.T.obj._id}}",cookieup,{expires:300});
@@ -1308,7 +1305,7 @@ function upordown(type){
 		        },
 				error: function(){
 					isReqing = false;
-				}     
+				}
 		    });
 		}
 	}
@@ -1325,4 +1322,4 @@ function getQueryString(name){
 {{include "/common/baiducc.html"}}
 <!--百度统计end-->
 </body>
-</html>
+</html>

+ 8 - 9
src/web/templates/pc/biddetail_bd.html

@@ -7,6 +7,7 @@
 <meta name="Description" content="{{.T.obj.description}}"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
@@ -51,7 +52,7 @@ body{
 }
 .adv-pccontent-right{
 	position:absolute;
-	top:0px; 
+	top:0px;
 	right:-5px;
 	width:200px;
 	height:200px;
@@ -117,7 +118,7 @@ body{
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -125,7 +126,7 @@ body{
 	margin-top: -5px;
 }
 .j-wx-code>.code-text{
-	text-align: center;	
+	text-align: center;
 }
 .j-wx-code>.code-bottom{
 	width: 470px;
@@ -160,8 +161,6 @@ var semHref = "/article/content/"+{{.T.obj._id}}+".html"
 $(function(){
 	//history.replaceState("","",semHref)
 	$("#bidLogin").modal("show");
-	$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-	selcetIndexNav(8)
 })
 </script>
 
@@ -173,7 +172,7 @@ $(function(){
 		</div>
 		<div class="com-statusbar" id="statusbar">
 		</div>
-		
+
         <div class="middle">
             <img src="/images/pc/sem.jpg" alt="" width="910" height="920">
         </div>
@@ -252,7 +251,7 @@ $(function(){
 	$(".payQRcode .reward-close").click(function(){
 		$(".payQRcode").hide();
 	});
-	
+
 	$(window).scroll(function(){
 		if($(this).scrollTop() > 0){
 			$("#backTop").show();
@@ -260,7 +259,7 @@ $(function(){
 			$("#backTop").hide();
 		}
 	});
-	
+
 })
 var publishtime = {{.T.obj.publishtime}};
 var type = {{.T.obj.subtype}};
@@ -293,4 +292,4 @@ if(publishtime != ""){
 {{include "/common/baiducc.html"}}
 <!--百度统计end-->
 </body>
-</html>
+</html>

+ 1 - 4
src/web/templates/pc/biddetail_rec.html

@@ -7,6 +7,7 @@
 <meta name="Description" content="{{.T.obj.description}}"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
@@ -239,10 +240,6 @@ if(refer.indexOf("NJ")>0){
 }else{
 	$(".j-nav .j-nav-link:eq(2)").addClass("active");
 }
-$(function(){
-	$(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
-	selcetIndexNav(8)
-})
 //
 function isWechat() {
     var ua = navigator.userAgent.toLowerCase();

+ 63 - 65
src/web/templates/pc/biddingsearch_enterprise.html

@@ -6,6 +6,7 @@
 		<meta name="Description" content="{{Msg "seo" "qfw.swordfishsl.description"}}"/>
 		<meta name="renderer" content="webkit">
 		<meta content="telephone=no" name="format-detection"/>
+        <meta content="招标搜索" theme="light" name="enable-header"/>
 		{{include "/common/pnc.html"}}
 		<link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 		<link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -73,7 +74,7 @@
 				text-align: center;
 				margin-bottom: -6px;
 				margin-top: -16px;
-				
+
 			}
 			.j-wx-code>.code-wxm>img{
 				width: 200px;
@@ -145,7 +146,7 @@
 			    font-family: 微软雅黑;
 			    font-weight: bold;
 			}
-			
+
 			.layheader div:nth-child(1){
 				font-size:20px;
 				width:272px;
@@ -195,7 +196,7 @@
 			    line-height: 26px;
 				margin-top: -133px;
 			}
-			
+
 			#labwelcomebody .code-close:hover{
 				 -webkit-transform: scale(1.2);
 	   				-moz-transform: scale(1.2);
@@ -333,7 +334,7 @@
 							</div>
 						</div>
 					</div>
-					
+
 					<!--整体页面切换tab-->
 					<div class="control-tabBtn">
 						<span class="bidbutdir" style="left:187px;"></span>
@@ -449,7 +450,7 @@
 				<!--全文搜索 列表-->
 				<div class="lucene">
 					<ul id="ul_list">
-						
+
 					</ul>
 				</div>
 				<!--全文搜索 表格 展示中标企业搜索数据-->
@@ -478,7 +479,7 @@
 					</table>
 					<table>
 						<tbody class="formTable" id="formTable">
-						
+
 						</tbody>
 					</table>
           <div class="shade_table" style="">
@@ -486,7 +487,7 @@
               查看更多&gt;
             </div>
           </div>
-				</div>	
+				</div>
 			</div>
 			<div class="hasNoData" style="display: none;">
 				<img style="width: 216px;margin: 45px auto;" src="{{Msg "seo" "cdn"}}/images/pc_12.png" id="hasNoData">
@@ -527,9 +528,6 @@
 		var oInput=document.getElementById("searchinput");
 		moveEnd(oInput)
 		priceTime();
-		$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-		
-		selcetIndexNav(3);
 		$(".searchname").focus();
 		new JyWebScoket.qrToLab();
 		var recList = "";
@@ -623,7 +621,7 @@
             });
         });
     }
-	
+
 	$(".searchSlideText").scroll(function(){
 		var d = $(this).scrollTop() / 40;
 		var s = parseInt(d);
@@ -638,7 +636,7 @@
 			firstItem = s;
 		}
 	});
-	
+
 	//方向键选择
 	$(".searchname").keydown(function(event){
 		var key = event.keyCode;
@@ -699,7 +697,7 @@
 			selected = true;
 			scIndex = index;
 		}
-		
+
 		$(".searchSlideText li").css("background", "");
 		$(".searchSlideText").find("li:eq("+index+")").css("background", "#f4f4f7");
 	})
@@ -730,14 +728,14 @@
 					$("#backTop").hide();
 				}
 			});
-			
+
 			//判断用户是否搜索中标企业,调整二维码样式
 			if(searchvalue != "" && searchvalue.length > 0){
 				$("#t-clear").show();
 				$(".wx-inner-title").html("扫码关注企业");
 				$(".wx-inner-bottom").html('扫码即可实时接收<span style="color:#2cb7ca">'+'"'+searchvalue+'"'+'</span>的中标信息!');
 			}
-			
+
 			//地区回显样式设置
 			if(areas != ""){
 				$("#regionBtn").removeClass("active");
@@ -762,11 +760,11 @@
 					$(this).addClass("secondActice");
 				}
 			});
-			
+
 			//点击搜索 数据回显页面样式设置
 			if(mainList != "" && mainList != null && searchvalue != "" && searchvalue != null){
 				$(".seaTender-inner").css({'border':'0'});
-				$(".lucene-table").css({'padding':'0px','border-bottom':'0px','display':'block'});	
+				$(".lucene-table").css({'padding':'0px','border-bottom':'0px','display':'block'});
 				$(".tabTitle").addClass("hidden");
 				$("#searchInner .searchControl .seaTender-inner .tabContainer .lucene-table table thead tr").css('border-top','4px solid #2cb7ca');
 				$(".lucene").attr("style","display:none");
@@ -780,8 +778,8 @@
 				$(".pagination").hide();
 				$(".hasNoData").show();
 			}
-			
-			
+
+
 			//价格回显样式设置
 			if({{.T.pricetype}} == "y"){
 				$(".Price-content").find("span:first-child").removeClass("active");
@@ -789,9 +787,9 @@
 				$("#minprice").css({"border-color":"#2cb7ca"});
 				$("#maxprice").css({"border-color":"#2cb7ca"});
 			}
-				
+
 			//筛选关闭和打开
-			//根据cookie值设置筛选是否显示 
+			//根据cookie值设置筛选是否显示
 			var rsw = localStorage.getItem("entstore");
 			if(rsw=="U"){
 				$("#screenBtn").addClass("down");
@@ -800,7 +798,7 @@
 				$("#screenBtn").removeClass("down");
 				$(".searchTender").hide();
 			}
-				
+
 			//记录用户刷选按钮状态
 			$("#screenBtn").click(function(){
 				if($(this).attr("class").indexOf("down")>0){
@@ -809,7 +807,7 @@
 					localStorage.setItem("entstore", "D");
 				}
 			})
-					
+
 			//价格
 			$("#minprice").click(function(){
 				$(".pricebut").show();
@@ -839,7 +837,7 @@
 				priceCss();
 				beforeSubmit();
 			})
-			
+
 			//设置输入价格的格式
 			var reg = /^[\u4e00-\u9fa5]+$/;
 			var minnum = {{.T.minprice}};
@@ -877,15 +875,15 @@
 									minnum = minp;
 								}
 							}
-							
+
 						}
-					}	
+					}
 				}else{
 					minnum = minp;
 				}
-				
+
 			})
-		
+
 			//
 			var maxnum = {{.T.maxprice}};
 			$("#maxprice").on("input propertychange",function(){
@@ -921,27 +919,27 @@
 									$(this).val(maxp)
 									maxnum = maxp;
 								}
-								
+
 							}
-							
+
 						}
-					}	
+					}
 				}else{
 					maxnum = maxp;
 				}
 			})
-			
+
 			//搜索按钮
 			$(".searchBtn").click(function(r){
 				preSearchJd(r);
 
-			})	
-			
+			})
+
 			//招标搜索页面跳转
 			$(".bidbtn").click(function(){
 				window.location.href = "/jylab/supsearch/index.html";
 			})
-			
+
 			//
 			$(".bidbut").click(function(){
 				window.location.href = "/jylab/supsearch/index.html";
@@ -950,7 +948,7 @@
 			$(".supbtn").click(function(){
 					window.location.href = "/jylab/supsearch/index.html";
 			})
-			
+
 			//下一页
 			$(".nbnext").click(function(){
             	$(window).scrollTop(0);
@@ -962,7 +960,7 @@
            		prev();
         	})
         });
-		
+
 		$(function(){
 			$(document).keydown(function(e){
 			    if(e.keyCode == "13"){
@@ -974,17 +972,17 @@
 						$(".searchname").val(selecteSearch);
 					}
 					preSearchJd(e);
-					
+
 				};
 			});
 		})
-		
+
 		function preSearchJd(r){
 			var searchname = $("#zbSeatchT input[name='keywords']").val();
 			$("#zbSeatchT input[name='searchvalue']").val($.trim(searchname));
 			$("#zbSeatchT").submit();
 		}
-		
+
 		function priceCss(){
 			priceshow=false;
 			var minp = $("#minprice").val();
@@ -1018,7 +1016,7 @@
 			$("#zbSeatchT input[name='pricetype']").val(pricetype);
 			return true;
 		}
-			
+
 		//取redis里的数据
 		function getNewBids(pnum){
 			$.post("/jylab/supsearch/getNewBids",{pageNumber:pnum},function(r){
@@ -1062,7 +1060,7 @@
 		       url:'/jylab/pcSearchZbqyAjax',
 		       async:false,
 			   data:param,
-		       dataType:'json', 
+		       dataType:'json',
 		       success:function(r){
 					if(currentPage == 1){
 						totalPage = r.totalPage;
@@ -1094,7 +1092,7 @@
 			$(".tabContainer-2 .lucene-table table tbody").html("");
 			$("#right-list").addClass("active").siblings().removeClass("active");
 			$(".tabContainer .lucene").show().siblings().hide();
-			if(submitflag){	
+			if(submitflag){
 				//地区
 				var selectAreas = "";
 				$(".region-content .active:not(.parent-node)").each(function(){
@@ -1107,19 +1105,19 @@
 					}
 				});
 				$("#zbSeatchT [name='area']").val(selectAreas);
-				
+
 				//价格
 				var selectMinPrices = $(".PriceInput [name='minprice']").val();
 				var selectMaxPrices =  $(".PriceInput [name='maxprice']").val();
 				$("#zbSeatchT [name='minprice']").val(selectMinPrices);
 				$("#zbSeatchT [name='maxprice']").val(selectMaxPrices);
-				
+
 				//搜索关键词
         var searchname = "";
 				searchname = searchvalue;
 				$("#zbSeatchT input[name='searchvalue']").val($.trim(searchname));
 
-        
+
 				currentPage=1;
 				if(currentPage==1){
 					$(".nbprev").addClass("disabled");
@@ -1142,7 +1140,7 @@
 					}
 				}
 				submitflag=false;
-			}	
+			}
 			setTimeout(function(){
 				submitflag=true
 			},200);
@@ -1162,7 +1160,7 @@
         $(".nbprev").addClass("disabled");
 		searchOnsubmit();
     }
-	
+
 	function reStyle(){
 		$("#bidLogin .code-text").html('<span class="reStyle_c"><img id="wxpng" style="width:24px;margin-right:5px;" src="{{Msg "seo" "cdn"}}/images/wx1.png"/>请先微信扫码登录</span>')
 		$(".reStyle_c").css({
@@ -1257,11 +1255,11 @@
 				setTimeout(function(){
 					getSearchTable(r.list);
 				},3000)
-                
+
             }
         });
     }
-    
+
     function getSearchTable(datas) {
 		$(".tabContainer-2 .entlist").removeClass("tabfixed");
 		$(".tabContainer-2 .entlist").removeClass("tababsolute");
@@ -1352,19 +1350,19 @@
     		}
 				tableHtml +='<tr onclick="noIn(this)" dataid="'+datas[i]._id+'" dataindustry="'+datas[i].industry+'" target="_blank">'
 						+'<td width="48"><div>'+index+'</div></td>'
-						
+
 				if(typeof(datas[i].projectname) != "undefined" && datas[i].projectname != null && datas[i].projectname != ""){
 					tableHtml += '<td class="tt-l" width="315"><div>'+datas[i].projectname+'</div></td>';
 				}else{
 					tableHtml += '<td class="tt-l" width="315"><div>'+datas[i].title+'</div></td>';
 				}
-						
+
 				if(typeof(stype) != "undefined" && stype != null && stype != ""){
 					tableHtml += '<td width="84"><div>'+stype+'公告</div></td>';
 				}else{
 					tableHtml += '<td width="84"><div></div></td>';
 				}
-				
+
 				if(typeof(datas[i].budget) != "undefined" && datas[i].budget != null && datas[i].budget != ""){
 					var budget =parseInt(datas[i].budget)/10000
 					if(budget.toString().length>6){
@@ -1407,7 +1405,7 @@
 				}else{
 					tableHtml += '<td class="tt-r" width="76"><div></div></td>';
 				}
-				
+
 				if(typeof(datas[i].publishtime) != "undefined" && datas[i].publishtime != null && datas[i].publishtime != ""){
 					var diff = formatDate(Number(datas[i].publishtime),"s");
 					if(diff != null){
@@ -1460,31 +1458,31 @@
     function labClose(){
         $("#labModal").modal("hide");
     }
-	
+
 	//关闭实验室功能弹框提示
 	function labWelClose(){
 		$("#welcome").modal("hide");
 	}
 	//
-	function formatDate(date,sl)   { 
-		var myDate = new Date(date*1000);      
+	function formatDate(date,sl)   {
+		var myDate = new Date(date*1000);
 	    var   year=myDate.getFullYear();
-	    var   month=myDate.getMonth()+1; 
+	    var   month=myDate.getMonth()+1;
 	    var   date=myDate.getDate();
 		var hour = myDate.getHours()
 		var min = myDate.getMinutes()
 		if(sl=="l"){
 			if(hour<10){
 				hour="0"+hour
-			} 
+			}
 			if(min<10){
 				min="0"+min
-			} 
-			return   year+"-"+month+"-"+date+"<br>"+hour+":"+min; 
+			}
+			return   year+"-"+month+"-"+date+"<br>"+hour+":"+min;
 		}else{
-			return   year+"-"+month+"-"+date; 
+			return   year+"-"+month+"-"+date;
 		}
-	} 
+	}
 	//未登录
 	function noIn(p){
 		var thisId = $(p).attr("dataId");
@@ -1525,7 +1523,7 @@
   	}
   	return ""
   }
-  
+
   //金额转化   金额:0-万元以下单位为元  ,万元以上至亿元以下单位为万元 ,亿元以上单位为亿元。保留 小数点后 2 位,不进行四舍五入。
   function conversionMoeny(money){
   	var m = ""+money;
@@ -1550,7 +1548,7 @@
   	}
   	return m
   }
-	
+
 </script>
 
 </body>

+ 6 - 7
src/web/templates/pc/billing_list.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>计费清单</title>
+    <meta content="计费清单" name="enable-header"/>
 	<script>
 		var myPageNavIsNormal = true;
 	</script>
@@ -35,7 +36,7 @@
       padding-left: 21px;
       line-height: 29px;
     }
-    
+
     .origin-price-container .price-num {
       text-decoration: line-through;
     }
@@ -52,7 +53,7 @@
         </div>
         <div class="w main">
             <div class="m_thead">
-                <div class="total">共计: 
+                <div class="total">共计:
                     <span class="yen">&yen;</span>
                     <span class="price"></span>
                 </div>
@@ -79,10 +80,8 @@
     <script>
         $(function(){
             $("#public-nav").css("background","#fff");
-            $(".logo img").attr("src","/images/swordfish/sf_01_new.png");
             $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
             $("section[id='drder']").css("padding-top", "80px");
-            selcetIndexNav(5);
             haslogin({{.T.logid}});
 			//
 			$.ajax({
@@ -97,7 +96,7 @@
 				}
 			});
         })
-		
+
 		function appendList(list,money){
 			var returnHtml = "";
 			var total_price=0;
@@ -161,7 +160,7 @@
 				} else {
 					industryShow = list[i].oldBuyset.buyerclasscount + "个行业";
 				}
-				
+
 				returnHtml+='<li class="item">'
 				returnHtml+='<div class="indate">'+showTime +'</div>'
 				returnHtml+='	<div class="area">'
@@ -180,7 +179,7 @@
 				returnHtml+='		<div class="type_text">'+typeName+'</div>'
 				returnHtml+='	</div>'
 				returnHtml+='</li>'
-				
+
 				total_price+=(list[i].price) ;
 			}
 			$(".m_body > ul").html(returnHtml);

+ 1 - 2
src/web/templates/pc/businesscooperation.html

@@ -13,7 +13,6 @@
 		$(function(){
 			//
 			haslogin({{.T.logid}});
-			selcetIndexNav(8)
 		})
 	</script>
 </head>
@@ -76,4 +75,4 @@
 {{include "/common/pcbottom.html"}}
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>

+ 17 - 18
src/web/templates/pc/check_invoice.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>查看发票</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
 	<script>
 		var myPageNavIsNormal = true;
 	</script>
@@ -14,7 +15,7 @@
 	<link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 	<link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}"/>
 	<script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
-	
+
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/electronic_invoice/css/bootstrap.min.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/electronic_invoice/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/electronic_invoice/css/reset_pc.css?v={{Msg "seo" "version"}}">
@@ -46,9 +47,9 @@
         <div class="w ci_crumb">
             <a href="/front/swordfish/toMyOrder">我的订单</a><em> > </em>
             <a href="javascript:;" class="active">查看发票</a>
-        </div> 
+        </div>
         <div class="w step clearfix">
-            <!-- 进行中 类名为 active  已完成 类名为 finish  未完成默认颜色--> 
+            <!-- 进行中 类名为 active  已完成 类名为 finish  未完成默认颜色-->
             <div id="l" class="pro l active"></div>
             <div id="c" class="pro c">财务处理</div>
             <div id="r" class="pro r">发票开具</div>
@@ -58,7 +59,7 @@
             <!-- 订单信息 -->
             <div class="ci_list">
                 <div class="list_thead">
-                    <span>订单编号:<span class="order_code"></span></span>  
+                    <span>订单编号:<span class="order_code"></span></span>
                 </div>
                 <div class="list_tbody">
                     <p>发票类型:普通发票(电子发票)  </p>
@@ -68,7 +69,7 @@
             <!-- 发票信息 -->
             <div class="ci_list">
                 <div class="list_thead">
-                    <span>发票信息</span>  
+                    <span>发票信息</span>
                 </div>
                 <div class="list_tbody">
 					<p>发票抬头:<span id="fptt"></span></p>
@@ -97,8 +98,8 @@
                     <div class="modal-body">
                         <div class="text">
                             1.自订单完成后90天内,可在线上提交发票申请,开具为电子发票。<br>
-                            2.订单超过90天后,发票需联系客服人员线下开具,开具为纸质发票。<br> 
-                            3.电子发票开具成功后,自订单完成后90天内可更换一次发票内容(纸质发票需联系客服)<br> 
+                            2.订单超过90天后,发票需联系客服人员线下开具,开具为纸质发票。<br>
+                            3.电子发票开具成功后,自订单完成后90天内可更换一次发票内容(纸质发票需联系客服)<br>
                             4.电子发票申请后在48小时内开具,纸质发票具体时间需联系客服。 <br>
                             客服电话:400-108-6670
                         </div>
@@ -166,7 +167,7 @@
 							$("#l").removeClass("l").addClass("lo").removeClass("active").addClass("finish");
 							$("#c").removeClass("c").addClass("co").addClass("finish");
 							$("#r").addClass("active");
-							
+
 							$("#look_invoice").on("click",function(){
 								var url=r.data.url;
 								window.open(url);
@@ -177,7 +178,7 @@
 								// link.click();
 								// document.body.removeChild(link);
 							})
-							
+
 							$("#ing").hide();
 							$("#look_invoice").show();
 							//TODO 判断是否已经开过了
@@ -190,7 +191,7 @@
 							}else{
 								$("#again_invoice").hide();
 							}
-							
+
 							isOk=true;
 						}else if(r.status === "processing"){
 							$("#fptt").text(r.data.invoice_type);
@@ -246,11 +247,11 @@
 					}
 				}, 2000)
 			}
-			
+
 			$("#again_invoice").on("click",function(){
 				window.location.href = "/front/order/invoice/"+ order_code +"?changed=true";
 			})
-			
+
 			function viewInvoice(order_code){
 				$.post("/jypay/invoice/show",{"order_code":order_code},function(r){
 					if (r.changed){
@@ -280,7 +281,7 @@
 						$("#l").removeClass("l").addClass("lo").removeClass("active").addClass("finish");
 						$("#c").removeClass("c").addClass("co").addClass("finish");
 						$("#r").addClass("active");
-						
+
 						$("#look_invoice").on("click",function(){
 							var url=r.data.url;
 							window.open(url);
@@ -352,7 +353,7 @@
 					}
 				});
 			}
-			
+
 			$(".backInvoice").on("click", function(){
 				$.post("/subscribepay/orderListDetails/isOver",{"order_code":order_code,"ischanged":"true"},function(r){
 					if(r.status!=1){
@@ -366,14 +367,12 @@
 					}
 				})
 			})
-				
+
 		})
-		
+
 		$("#public-nav").css("background","#fff");
-		$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
 		$(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 		$("section[id='drder']").css("padding-top", "80px");
-		selcetIndexNav(7);
 		haslogin({{.T.logid}});
     </script>
 </body>

+ 31 - 32
src/web/templates/pc/classifylist.html

@@ -5,6 +5,7 @@
 <meta name="Keywords" content="{{if eq .T.seoarea ""}}{{.T.seokeywords}}{{else}}{{.T.seokeywords}}招标信息,{{.T.seokeywords}}招标公告,{{.T.seokeywords}}中标公告,{{.T.seokeywords}}招标采购,{{.T.seokeywords}}招标网{{end}}"/>
 <meta name="Description" content="{{if eq .T.seoarea ""}}{{.T.seodption}}{{else}}剑鱼标讯{{.T.seodption}}专栏,提供全行业最新的{{.T.seodption}}招标信息、{{.T.seodption}}招标公告、{{.T.seodption}}中标公告和{{.T.seodption}}招标采购等内容,强大的搜索查询功能,支持多条件筛选,让招投标更轻松。{{end}}"/>
 <meta content="telephone=no" name="format-detection"/>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -57,7 +58,7 @@
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -65,7 +66,7 @@
 	margin-top: -5px;
 }
 .j-wx-code>.code-text{
-	text-align: center;	
+	text-align: center;
 }
 .j-wx-code .code-text .pointOne{
 	font-family: MicrosoftYaHei-bold;
@@ -122,7 +123,7 @@
     font-weight: bold;
 }
 .layheader div:nth-child(1){
-	font-size:20px;    
+	font-size:20px;
 	width: 272px;
 }
 .layheader div:nth-child(2){
@@ -207,8 +208,6 @@ var industrylist = {{.T.industrylist}}
 var sortArray = {{.T.sortArray}}
 $(function(){
 	priceTime();
-	$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-	selcetIndexNav(8)
 	new JyWebScoket.qrToLab();
 	$("#minprice").click(function(){
 		$(".pricebut").show();
@@ -315,15 +314,15 @@ $(function(){
 									minnum = minp;
 								}
 							}
-							
+
 						}
-					}	
+					}
 				}else{
 					minnum = minp;
 				}
-				
+
 			})
-		
+
 			//
 			var maxnum = {{.T.maxprice}};
 			$("#maxprice").on("input propertychange",function(){
@@ -358,11 +357,11 @@ $(function(){
 									$(this).val(maxp)
 									maxnum = maxp;
 								}
-								
+
 							}
-							
+
 						}
-					}	
+					}
 				}else{
 					maxnum = maxp;
 				}
@@ -464,7 +463,7 @@ function priceCss(){
 					</div>
 				</div>
 			</div>
-		
+
 			<!--整体页面切换tab-->
 			<div class="control-tabBtn">
 				<span class="bidbutdir"></span>
@@ -477,7 +476,7 @@ function priceCss(){
 				<a href="{{Msg "seo" "url.portrait_winner"}}"{{if not .T.portraitpower}} class="hidden"{{end}} left="335"><i></i>中标企业画像</a>
 				<a href="{{Msg "seo" "url.portrait_buyer"}}"{{if not .T.portraitpower}} class="hidden"{{end}} left="485"><i></i>采购单位画像</a>
 			</div>
-			
+
 		</div>
 	</div>
 	<!--搜索头部 END-->
@@ -496,7 +495,7 @@ function priceCss(){
 					更多
 				</div>
 				<div class="industry-content">
-					
+
 				</div>
 			</div>
 			<!--价格区间-->
@@ -683,7 +682,7 @@ function priceCss(){
 					</table>
 					<table>
 						<tbody>
-							
+
 						</tbody>
 					</table>
 				</div>
@@ -903,7 +902,7 @@ function beforeSubmit(flag){
 		}
 	}
 	if(timeslot != "_"){
-		$("#zbSeatchT [name='timeslot']").val(timeslot);	
+		$("#zbSeatchT [name='timeslot']").val(timeslot);
 	}else{
 		$("#zbSeatchT [name='timeslot']").val("");
 	}
@@ -938,25 +937,25 @@ function beforeSubmit(flag){
 	return true;
 }
 //
-function formatDate(date,sl)   { 
-	var myDate = new Date(date*1000);      
+function formatDate(date,sl)   {
+	var myDate = new Date(date*1000);
     var year=myDate.getFullYear();
-    var month=myDate.getMonth()+1; 
-    var date=myDate.getDate();      
+    var month=myDate.getMonth()+1;
+    var date=myDate.getDate();
 	var hour = myDate.getHours()
 	var min = myDate.getMinutes()
 	if(sl=="l"){
 		if(hour<10){
 			hour="0"+hour
-		} 
+		}
 		if(min<10){
 			min="0"+min
-		} 
-		return   year+"-"+month+"-"+date+"<br>"+hour+":"+min; 
+		}
+		return   year+"-"+month+"-"+date+"<br>"+hour+":"+min;
 	}else{
-		return   year+"-"+month+"-"+date; 
+		return   year+"-"+month+"-"+date;
 	}
-} 
+}
 //
 function appendDatas(datas){
 	var tableHtml = '';
@@ -984,19 +983,19 @@ function appendDatas(datas){
 		}
 		tableHtml +='<tr style="cursor: pointer;" onclick="noIn(this)" dataid="'+datas[i]._id+'" dataindustry="'+datas[i].industry+'" target="_blank">'
 				+'<td width="48"><div>'+index+'</div></td>'
-				
+
 		if(typeof(datas[i].projectname) != "undefined" && datas[i].projectname != null && datas[i].projectname != ""){
 			tableHtml += '<td class="tt-l" width="315"><div>'+datas[i].projectname+'</div></td>';
 		}else{
 			tableHtml += '<td class="tt-l" width="315"><div>'+datas[i].title+'</div></td>';
 		}
-				
+
 		if(typeof(type) != "undefined" && type != null && type != ""){
 			tableHtml += '<td width="84"><div>'+type+'公告</div></td>';
 		}else{
 			tableHtml += '<td width="84"><div></div></td>';
 		}
-		
+
 		if(typeof(datas[i].budget) != "undefined" && datas[i].budget != null && datas[i].budget != ""){
 			var budget =parseInt(datas[i].budget)/10000
 			if(budget.toString().length>6){
@@ -1039,7 +1038,7 @@ function appendDatas(datas){
 		}else{
 			tableHtml += '<td class="tt-r" width="76"><div></div></td>';
 		}
-		
+
 		if(typeof(datas[i].publishtime) != "undefined" && datas[i].publishtime != null && datas[i].publishtime != ""){
 			var diff = formatDate(Number(datas[i].publishtime),"s");
 			if(diff != null){
@@ -1050,7 +1049,7 @@ function appendDatas(datas){
 		}
 			tableHtml+='</tr>'
 	}
-	
+
 	$(".tabContainer .lucene-table table tbody").html(tableHtml);
 }
 //
@@ -1119,4 +1118,4 @@ function labClose(){
 <!--百度统计end-->
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>

+ 2 - 3
src/web/templates/pc/createOrderPage.html

@@ -19,6 +19,7 @@
     <script src="//cdn.bootcss.com/jquery-confirm/3.1.0/jquery-confirm.min.js"></script>
     <script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
     <title>支付订单</title>
+    <meta content="数据导出" theme="light" name="enable-header"/>
 </head>
 <body>
 {{include "/common/pchead.html"}}
@@ -177,9 +178,7 @@
                 }
             });
             //样式
-            selcetIndexNav(4);
             $(".public-nav").css("background", "#fff")
-            $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
 
             //数据展示
             var showCount = FormatNum(msgCount);
@@ -581,4 +580,4 @@
 <!--百度统计end-->
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>

+ 16 - 17
src/web/templates/pc/dataExport_invoice.html

@@ -5,13 +5,13 @@
     <meta name="viewport"
           content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
-		
+
 	<link rel="stylesheet" href="/dataExport/css/order_twoleave.css">
 	<link rel="stylesheet" href="//at.alicdn.com/t/font_624651_pkolpjt0k5a.css">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/dataExport/css/font_624651_bjdvktmum68.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/dataExport/css/reset_pc.css?v={{Msg "seo" "version"}}"><!--
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/dataExport/css/drder_details.css?v={{Msg "seo" "version"}}">-->
-	
+
     {{include "/common/pnc.html"}}
     <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
     <link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -22,6 +22,7 @@
     <script src="//cdn.bootcss.com/jquery-confirm/3.1.0/jquery-confirm.min.js"></script>
 
     <title>订单详情-申请发票</title>
+    <meta content="数据导出" theme="light" name="enable-header"/>
     <style type="text/css">
          #order_two .nav a {
             color: #686868;
@@ -141,7 +142,7 @@
             color: #52c4d4;
             font-weight: bold;
         }
-		
+
 		.iconfont {
 		  font-family: "iconfont" !important;
 		  font-size: 16px;
@@ -152,7 +153,7 @@
         .icon-input.email::before {
             content: '\e6fb';
         }
-		
+
 		.disno{
 			display:none;
 		}
@@ -198,7 +199,7 @@
                 <div class="l fl">
                     发票抬头:
                 </div>
-				<input value="{{.T.order_code}}" name="order_code"  style="display:none" /> 
+				<input value="{{.T.order_code}}" name="order_code"  style="display:none" />
                 <div class="r fl">
                     <label class="demo--label">
                         <input class="demo--radio" value="个人" type="radio" name="demo-radio" checked>
@@ -243,12 +244,12 @@
         <i class="iconfont icon-zhifuwancheng"></i>
         <span>发票提交成功</span>
     </div>
-	
+
 	<div class="dialog-box type-b disno" id="tjsb" >
         <i class="iconfont  icon-warning"></i>
         <span>系统异常,请稍后重试</span>
     </div>
-	
+
 </section>
 {{include "/common/pcbottom.html"}}
 {{include "/common/baiducc.html"}}
@@ -259,11 +260,9 @@
 	var taxNumer_reg =/^[0-9A-Z]{18}$/;
 
 $(function(){
-        selcetIndexNav(4);
         haslogin({{.T.logid}});
 
         $("body").css("line-height","1");
-        $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
         $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 })
 // radio 切换
@@ -304,7 +303,7 @@ var companyName =document.getElementById("companyName");
     		}else{
 			gsmc.classList.add("disno");
 			}
-    	}	
+    	}
 	}
 
 
@@ -313,11 +312,11 @@ var companyName =document.getElementById("companyName");
 function updateAjax(){
 	var formParam =$("#saveinvoice").serialize();
 	var submitBl =false;
-	
+
 	var companyName = $("#companyName").val();
 	var taxNumer = $("#taxNumer").val();
 
-	
+
 	if ($('input:radio:checked').val()=="个人") {
 		submitBl =true;
 	}else if ($('input:radio:checked').val()=="单位"){
@@ -325,15 +324,15 @@ function updateAjax(){
 			submitBl =true;
 		}
 	}
-	
+
 	if (submitBl){
 		$.ajax({
 			type:'post',
 			url:'/jypay/applyInvoice',
 			data:formParam,
 			cache:false,
-			dataType:'json', 
-		 	success:function(data){ 
+			dataType:'json',
+		 	success:function(data){
 						if (data.flag) {
 							$("#tjcg").removeClass("disno");
 							setTimeout(function () {
@@ -346,7 +345,7 @@ function updateAjax(){
 								$("#tjsb").addClass("disno");
 							}, 2000);
 						}
-		    		} 
+		    		}
 		})
 	}
 }
@@ -354,4 +353,4 @@ function updateAjax(){
 </script>
 
 </body>
-</html>
+</html>

+ 4 - 5
src/web/templates/pc/dataExport_noDataErr.html

@@ -8,13 +8,14 @@
     <link rel="stylesheet" href="/dataExport/css/font_624651_bjdvktmum68.css">
     <link rel="stylesheet" href="/dataExport/css/reset_pc.css">
     <link rel="stylesheet" href="/dataExport/css/conditions.css">
-	
+
 	{{include "/common/pnc.html"}}
 	<link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 	<link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 	<link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}" />
 	<script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
     <title>条件筛选</title>
+    <meta content="数据导出" theme="light" name="enable-header"/>
 </head>
 <body>
 {{include "/common/pchead.html"}}
@@ -46,11 +47,9 @@
 <script>
 $(function(){
 	haslogin({{.T.logid}});
-	selcetIndexNav(4);
 	//样式
 	$(".public-nav").css("background","#fff")
-	$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-	
+
 	$(".goback").on("click",function(){
 		window.history.back();
 	});
@@ -59,4 +58,4 @@ $(function(){
 <!--百度统计end-->
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>

+ 9 - 10
src/web/templates/pc/dataExport_sieve.html

@@ -18,6 +18,7 @@
     <script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
     <script src="{{Msg "seo" "cdn"}}/swiper/swiper.min.js?v={{Msg "seo" "version"}}"></script>
     <title>条件筛选</title>
+    <meta content="数据导出" theme="light" name="enable-header"/>
     <style>
         .select-date.select,.split-line.select{
             border-color: #2CB7CA;
@@ -847,10 +848,8 @@
         $(".button-box:eq(1) button").on("mouseover",function(){
 			$(this).focus()
 		})
-        selcetIndexNav(4);
         haslogin({{.T.logid}});
 
-        $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
         $(".public-nav").css("background-color", "#fff");
         $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 
@@ -1602,15 +1601,15 @@
         $("#addWinner").hide();
         $("#winnerInput").show();
     });
-    function GetQueryString(name) { 
-      var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); 
+    function GetQueryString(name) {
+      var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
       var r = window.location.search.substr(1).match(reg); //获取url中"?"符后的字符串并正则匹配
-      var context = ""; 
-      if (r != null) 
-         context = r[2]; 
-      reg = null; 
-      r = null; 
-      return context == null || context == "" || context == "undefined" ? "" : context; 
+      var context = "";
+      if (r != null)
+         context = r[2];
+      reg = null;
+      r = null;
+      return context == null || context == "" || context == "undefined" ? "" : context;
     }
     function setLocalStorage(param) {
         if(param){

+ 5 - 6
src/web/templates/pc/dataService.html

@@ -9,6 +9,7 @@
     <meta name="applicable-device" content="pc,mobile">
     <meta http-equiv="Cache-Control" content="no-transform">
     <title>数据服务</title>
+    <meta content="数据服务" theme="light" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <script type="text/javascript" src="{{Msg "seo" "cdn"}}/pccss/n_rem.js?v={{Msg "seo" "version"}}"></script>
     <script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
@@ -25,7 +26,7 @@
       	   -moz-border-radius: 6px;
       	        border-radius: 6px;
       	position: relative;
-      	 
+
       }
       .j-wx-code>.code-close{
       	width: 40px;
@@ -58,7 +59,7 @@
       	text-align: center;
       	margin-bottom: -6px;
       	margin-top: -16px;
-      	
+
       }
       .j-wx-code>.code-wxm>img{
       	width: 200px;
@@ -185,10 +186,8 @@
 </body>
 <script>
 $(function(){
-  $("#public-nav").css("background","#fff")  
-  $(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-  selcetIndexNav(5);
+  $("#public-nav").css("background","#fff")
   haslogin({{.T.logid}});
 })
 </script>
-</html>
+</html>

+ 1 - 2
src/web/templates/pc/entniche_orderDetail.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>订单详情</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     <script>
         var myPageNavIsNormal = true;
     </script>
@@ -119,10 +120,8 @@
     <script>
         $(function () {
             $("#public-nav").css("background", "#fff");
-            $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
             $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
             $("section[id='drder']").css("padding-top", "80px");
-            selcetIndexNav(7);
             haslogin({{.T.logid}});
 
             var orderCode = getParam("order_code");

+ 11 - 11
src/web/templates/pc/index.html

@@ -7,6 +7,7 @@
 <meta name="Description" content="{{Msg "seo" "qfw.swordfish.description"}}"/>
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
 <meta name="format-detection" content="telephone=no" />
+<meta content="首页" theme="dark" name="enable-header"/>
 <meta http-equiv="X-UA-Compatible" content="ie=edge" />
 <script type="text/javascript" src="{{Msg "seo" "cdn"}}/pccss/n_rem.js?v={{Msg "seo" "version"}}"></script>
 
@@ -108,7 +109,7 @@
 					<!--<span class="movedot"></span>-->
 				</div>
 			</div>
-			
+
 			<!-- 弹窗 -->
 			<div class="animtionBox box-3">
 				<span class="bg"></span>
@@ -121,7 +122,7 @@
 					<!--<span class="movedot"></span>-->
 				</div>
 			</div>
-			
+
 			<!--底部链接-->
 			<div class="links">
 				<ul class="linkul clearfix">
@@ -164,7 +165,7 @@
 					</li>
 					<li class="linksitem">
 						<a href="http://www.qmx.top/front/entCommunity.html">企业社区</a>
-					</li>                                      
+					</li>
 				</ul>
 				<p>©2015-2019 jianyu360.com 版权所有&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;京ICP备14030217号-3</p>
 			</div>
@@ -179,11 +180,11 @@
 				</a>
 				<a id="share-sqq" class="qq iconfont icon-QQ"></a>
 			</div>
-			
+
 		</section>
 		<script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
 		<script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/index_pc.js?v={{Msg "seo" "version"}}"></script>
-		
+
 		<div class="bdsharebuttonbox">
 			<a href="#" id="bds_sqq" data-cmd="sqq" title="分享QQ好友">QQ</a>
 		</div>
@@ -270,15 +271,15 @@ if(sessionStorage.live_preheat_flag!="1"){
 var localhref = location.href;
 window._bd_share_config = {
 	common : {
-		bdText : '',	
-		bdDesc : '',	
-		bdUrl : localhref+'front/aboutus.html', 	
+		bdText : '',
+		bdDesc : '',
+		bdUrl : localhref+'front/aboutus.html',
 		bdPic : localhref+'images/appext/fixed-sm.jpg?v=1'
 	},
 	share : [{
 		"bdSize" : 16
 	}],
-	slide : [{	   
+	slide : [{
 		bdImg : 0,
 		bdPos : "right",
 		bdTop : 100
@@ -287,7 +288,6 @@ window._bd_share_config = {
 $(function(){
 	setTimeout("document.getElementById(\"keywords\").focus()",50);
 	haslogin({{.T.logid}});
-	selcetIndexNav(0);
 	new pcShare();
 	$("#share-weixinF").mouseover(function(){
 		$("#share-weixin").removeClass("hidden");
@@ -325,4 +325,4 @@ function zbSeatch(id){
 		},1000)
 	}
 </script>
-</html>
+</html>

+ 21 - 22
src/web/templates/pc/invoice.html

@@ -6,16 +6,17 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>开发票</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
 	<script>
 		var myPageNavIsNormal = true;
 	</script>
-	
+
 	{{include "/common/pnc.html"}}
 	<link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 	<link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 	<link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}"/>
 	<script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
-	
+
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/electronic_invoice/css/bootstrap.min.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/electronic_invoice/iconfont/iconfont.css?v={{Msg "seo" "version"}}">
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/electronic_invoice/css/reset_pc.css?v={{Msg "seo" "version"}}">
@@ -28,19 +29,19 @@
 </head>
 <style>
 	#invoice_title > ul >li {
-		float: none !important; 
+		float: none !important;
 	}
 	input::-webkit-input-placeholder { /* WebKit browsers */
-	    color: #999999; 
-	} 
-	input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ 
-	    color: #999999; 
-	} 
-	input::-moz-placeholder { /* Mozilla Firefox 19+ */ 
-	    color: #999999; 
-	} 
-	input:-ms-input-placeholder { /* Internet Explorer 10+ */ 
-	    color: #999999; 
+	    color: #999999;
+	}
+	input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
+	    color: #999999;
+	}
+	input::-moz-placeholder { /* Mozilla Firefox 19+ */
+	    color: #999999;
+	}
+	input:-ms-input-placeholder { /* Internet Explorer 10+ */
+	    color: #999999;
 	}
 </style>
 <body>
@@ -71,7 +72,7 @@
                     <div class="clearfix invoice_control">
                         <div class="fl invoice_control_label">发票抬头:</div>
                         <div class="fl invoice_control_select" id="invoice_title"></div>
-                    </div> 
+                    </div>
                 </div>
                 <!-- 单位发票信息 -->
                 <div class="unit_invoice">
@@ -131,8 +132,8 @@
 	            <div class="modal-body">
 	                <div class="text">
 	                    1.自订单完成后90天内,可在线上提交发票申请,开具为电子发票。<br>
-	                    2.订单超过90天后,发票需联系客服人员线下开具,开具为纸质发票。<br> 
-	                    3.电子发票开具成功后,自订单完成后90天内可更换一次发票内容(纸质发票需联系客服)<br> 
+	                    2.订单超过90天后,发票需联系客服人员线下开具,开具为纸质发票。<br>
+	                    3.电子发票开具成功后,自订单完成后90天内可更换一次发票内容(纸质发票需联系客服)<br>
 	                    4.电子发票申请后在48小时内开具,纸质发票具体时间需联系客服。 <br>
 	                    客服电话:400-108-6670
 	                </div>
@@ -196,13 +197,13 @@
 			  	  });
 			  }
 			  checkForm();
-			  
+
 			  var order_code = {{.T.order_code}};
 			  $(".order_code").text(order_code);
 			  $(".cancel_btn").on("click",function(){
 					window.history.go(-1);
 			  })
-			  
+
 			  $('#ruleModal').on('show.bs.modal', function () {
 			      var $this = $(this);
 			      var $modal_dialog = $this.find('.modal-dialog');
@@ -211,15 +212,13 @@
 			          'margin-top': Math.max(0, ($(window).height() - $modal_dialog.height()) / 2)
 			      });
 			  });
-			  
+
 			  $("#public-nav").css("background","#fff");
-			  $(".logo img").attr("src","/images/swordfish/sf_01_new.png");
 			  $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 			  $("section[id='drder']").css("padding-top", "80px");
-			  selcetIndexNav(7);
 			  haslogin({{.T.logid}});
 		  })
 	</script>
 </body>
 
-</html>
+</html>

+ 8 - 9
src/web/templates/pc/invoice_error.html

@@ -6,7 +6,8 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>申请发票失败</title>
-	{{include "/common/pnc.html"}}	
+    <meta content="数据服务" theme="light" name="enable-header"/>
+	{{include "/common/pnc.html"}}
 	<script>
 		var myPageNavIsNormal = true;
 	</script>
@@ -14,7 +15,7 @@
 	<link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 	<link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}"/>
 	<script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
-	
+
     <link rel="stylesheet" href="/electronic_invoice/css/bootstrap.min.css">
     <link rel="stylesheet" href="/electronic_invoice/iconfont/iconfont.css">
     <link rel="stylesheet" href="/electronic_invoice/css/reset_pc.css">
@@ -36,7 +37,7 @@
         <div class="w e_main">
             <div>
                 <img class="jy404" src="/electronic_invoice/image/404.png" alt="">
-                <p>该订单发票在线申请已超时,请联系客服 <br>   客服电话:400-108-6670</p> 
+                <p>该订单发票在线申请已超时,请联系客服 <br>   客服电话:400-108-6670</p>
                 <div class="rules" data-toggle="modal" data-target="#ruleModal">开票规则</div>
             </div>
         </div>
@@ -49,8 +50,8 @@
                     <div class="modal-body">
                         <div class="text">
                             1.自订单完成后90天内,可在线上提交发票申请,开具为电子发票。<br>
-                            2.超过订单完成90天后,发票需联系客服人员线下开具,开具为纸质发票。<br> 
-                            3.电子发票开具成功后,自订单完成后90天内可更换一次发票内容(纸质发票需联系客服)<br> 
+                            2.超过订单完成90天后,发票需联系客服人员线下开具,开具为纸质发票。<br>
+                            3.电子发票开具成功后,自订单完成后90天内可更换一次发票内容(纸质发票需联系客服)<br>
                             4.电子发票申请后在48小时内开具,纸质发票具体时间需联系客服。 <br>
                             客服电话:400-108-6670
                         </div>
@@ -71,13 +72,11 @@
     <script>
         $(function () {
 			$("#public-nav").css("background","#fff");
-			$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
 			$(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 			$("section[id='drder']").css("padding-top", "80px");
-			selcetIndexNav(5);
 			haslogin({{.T.logid}});
-			
-			
+
+
             $('#ruleModal').on('show.bs.modal', function () {
                 var $this = $(this);
                 var $modal_dialog = $this.find('.modal-dialog');

+ 5 - 10
src/web/templates/pc/jyblog.html

@@ -6,6 +6,7 @@
 <meta name="Description" content="剑鱼标讯博客栏目为用户及时发布最新的剑鱼标讯功能更新、剑鱼标讯操作指南和招投标行业相关的各类动态资讯。来剑鱼标讯博客,变身剑鱼标讯使用能手!"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
@@ -64,7 +65,7 @@
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -101,12 +102,6 @@
 </head>
 <body>
 {{include "/common/pchead.html"}}
-<script type="text/javascript">
-$(function(){
-	$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-	selcetIndexNav(8)
-})
-</script>
 <div class="jyblog_cont">
 	<div  class="jyblog_listall">
 		{{range $k,$v:=.T.data}}
@@ -123,7 +118,7 @@ $(function(){
 		<div style="clear:both;"></div>
 		</div>
 		{{end}}
-		
+
 		<div>
 		<div class="text-right">
 		<ul class="pagination">
@@ -136,7 +131,7 @@ $(function(){
 		</div>
 		</div>
 	</div>
-	
+
 </div>
 {{include "/common/pcbottom.html"}}
 {{include "/common/baiducc.html"}}
@@ -158,4 +153,4 @@ $(function(){
 })
 </script>
 </body>
-</html>
+</html>

+ 5 - 10
src/web/templates/pc/jyblogdetail.html

@@ -6,6 +6,7 @@
 <meta name="Description" content="{{.T.data.s_description}}"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>
@@ -64,7 +65,7 @@
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -101,12 +102,6 @@
 </head>
 <body>
 {{include "/common/pchead.html"}}
-<script type="text/javascript">
-$(function(){
-	$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
-	selcetIndexNav(8)
-})
-</script>
 <div class="jyb_detailouter">
 	<div class="jyb_dcont">
 		<div class="jyb_dtitle">{{.T.data.s_title}}</div>
@@ -116,7 +111,7 @@ $(function(){
 			<div class="jyb_dlabel3">{{.T.data.releasetime}}</div>
 			<div class="jyb_dlabel4 b-pcshare">
 			<span id="pcShare" class="pcShare"><span class="glyphicon fenxiang"></span>分享</span>
-			
+
 			<div id="share-weixin" class="hidden"></div>
 			<span class="jybk_remindone hidden"></span>
 			<span class="jybk_remindonebak hidden"></span>
@@ -212,7 +207,7 @@ function upordown(type){
         url:'/jyblog/blogpraise',
         data:{type:type,id:{{.T.data._id}}},
         cache:false,
-        dataType:'json', 
+        dataType:'json',
         success:function(data){
 			if(data.flag == "T"){
 				ttflag=true
@@ -290,4 +285,4 @@ function pcShare(){
 }
 </script>
 </body>
-</html>
+</html>

+ 3 - 4
src/web/templates/pc/member_orderDetail.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>订单详情</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     <script>
         var myPageNavIsNormal = true;
     </script>
@@ -118,10 +119,8 @@
     <script>
         $(function () {
             $("#public-nav").css("background", "#fff");
-            $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
             $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
             $("section[id='drder']").css("padding-top", "80px");
-            selcetIndexNav(7);
             haslogin({{.T.logid}});
 
             var orderCode = getParam("order_code");
@@ -267,12 +266,12 @@
                 left = s.split('.')[0].split('').reverse();
                 right = s.split('.')[1];
             }
-    
+
             t = "";
             for (i = 0; i < left.length; i++) {
                 t += left[i] + ((i + 1) % 3 == 0 && (i + 1) != left.length ? ',' : '');
             }
-    
+
             var money = t.split('').reverse().join('') + point + right;
             return money;
         }

+ 2 - 3
src/web/templates/pc/myOrder.html

@@ -21,6 +21,7 @@
     <!--2.8.8-->
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/course/css/order_list.css?v={{Msg "seo" "version"}}">
     <title>我的订单</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     <style type="text/css">
         a {
             text-decoration: none !important;
@@ -234,11 +235,9 @@
     var pageFlag = true;
     var p = null;
     $(function () {
-        selcetIndexNav(7);
         haslogin({{.T.logid}});
         $(document).off("keydown");
         $("body").css("line-height", "1");
-        $(".logo img").attr("src", "/images/swordfish/sf_01_new.png");
         $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
         $("section[id='drder']").css({"padding-top": "97px", "min-height": "calc(100% - 340px)"});
 
@@ -688,7 +687,7 @@
                             } else if (orderStatus === -2 || orderStatus === -3) {//已取消
                                 m_status_html += '<p class="finish_status">已取消</p>'
                             }
-                            m_status_html += '<p><a onclick="toDetail(\'' + orderCode + '\',7);">查看详情</a></p>'      
+                            m_status_html += '<p><a onclick="toDetail(\'' + orderCode + '\',7);">查看详情</a></p>'
                         }
                         var priceHtml = '<div class="fl m_number ' + orderStatusClassOne + '">¥' + FormatNum(orderMoney) + '</div>'
 

+ 13 - 15
src/web/templates/pc/orderDetail.html

@@ -14,6 +14,7 @@
     <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}"/>
     <script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
     <title>订单详情</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
     <style>
         span{
             margin-right: 8px;
@@ -150,28 +151,28 @@
                 <span class="greenFont" id="status_success" style="display: none;">已完成</span>
                 <span class="redFont" id="status_wait_pay" style="display: none;">待付款</span>
                 <span class="qxBgFont" id="status_cancelled" style="display: none;">已取消</span>
-                
+
                 <!-- 当状态为已完成时显示开发票 或 查看发票 -->
 				<a class="go_pay payOrder" style="display: none;">去支付</a>
                 <a class="openinvoice go_pay" style="display: none;">开发票</a>
                 <a class="lookinvoice go_pay" style="display: none;">查看发票</a>
                 <!-- 当订单状态为待付款时显示去支付 -->
                 <!-- 当状态为已完成时显示开发票 或 查看发票 -->
-                
-                
+
+
             </p>
             <!-- 退款信息 -->
             <!-- <p class="refund_item">申请退款时间:2019.11.12 12:12:23 </p>
             <p class="refund_item">申请退款原因:信息填写错误 </p>
             <p class="refund_item">退款金额:13788.00</p> -->
-        </div>   
+        </div>
     <div class="c-info">
         <div class="title">
             筛选条件
         </div>
     </div>
     <div class="dd-info">
-          
+
         <div class="title">订单信息</div>
         <div class="inner">
             <div class="item">
@@ -223,16 +224,13 @@
             </div>
         </div>
     </div>
-    
+
 </section>
 {{include "/common/pcbottom.html"}}
 {{include "/common/baiducc.html"}}
 <script>
     $(function () {
-        selcetIndexNav(7);
         haslogin({{.T.logid}});
-
-        $(".logo img").attr("src", "{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
         $(".public-nav").css("background-color", "#fff");
         $(".public-nav").css("border-bottom", "1px solid #e0e0e0");
         $("section[id='order_two']").css("padding-top","107px");
@@ -353,7 +351,7 @@
                     winnerHtml += "<span>" + winner[i] + "</span>";
                 }
             }
-            var filterHtml = 
+            var filterHtml =
                     "<div class=\"inner\">" +
                         "<div class=\"item clearfix\">" +
                             "<div class=\"l fl\">\筛选日期:</div>" +
@@ -399,7 +397,7 @@
 	function invoice(){
 		window.location.href=("/front/dataExport/getOrderCode/"+{{.T.o.order_code}});
 	}
-	
+
 	$(function(){
 		var orderStatus = {{ .T.o.order_status }};
 		var invoiceStatus = {{ .T.o.applybill_status }}
@@ -419,11 +417,11 @@
 			$("#status_cancelled").show();
             $(".o_m_thead").removeClass("greenBg").addClass("qxBg")
 		}
-		
+
 		$(".payOrder").on("click", function(){
 			location.href = "/front/dataexport/orderPay/"+ orderCode;
 		})
-		
+
 		$(".openinvoice").on("click",function(){
 			$.post("/subscribepay/orderListDetails/isOver",{"order_code":orderCode},function(r){
 				if(r.status!=1){
@@ -437,7 +435,7 @@
 			window.open("/front/order/check_invoice/"+orderCode,'_self');
 		})
 	})
-	
+
 </script>
 </body>
-</html>
+</html>

+ 4 - 5
src/web/templates/pc/paysuccess.html

@@ -5,6 +5,7 @@
     <meta name="viewport"
           content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <meta content="数据导出" name="enable-header"/>
 	{{include "/common/pnc.html"}}
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/dataExport/css/font_624651_bjdvktmum68.css?v={{Msg "seo" "version"}}">
 	<link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -13,7 +14,7 @@
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/dataExport/css/data_export.css?v={{Msg "seo" "version"}}">
 	<link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}" />
 	<script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
-	
+
     <title>支付订单</title>
 	<style type="text/css">
 	.public-nav{
@@ -62,7 +63,7 @@
 		text-align: center;
 		margin-bottom: -6px;
 		margin-top: -16px;
-		
+
 	}
 	.j-wx-code>.code-wxm>img{
 		width: 200px;
@@ -158,9 +159,7 @@
 {{include "/common/baiducc.html"}}
 <script>
 	var myPageNavIsNormal = true;
-	selcetIndexNav(4);
 	haslogin("10");
-	$(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
 </script>
 </body>
-</html>
+</html>

+ 6 - 7
src/web/templates/pc/proproject.html

@@ -6,6 +6,7 @@
 <meta name="Description" content="{{Msg "seo" "qfw.swordfishsl.description"}}"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+<meta content="拟建项目" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -58,7 +59,7 @@
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -226,9 +227,7 @@ var qr_type = "s";
 $(function(){
 	var oInput=document.getElementById("searchinput");
 	moveEnd(oInput)
-	$(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
 	priceTime();
-	selcetIndexNav(2);
 	$(document).keydown(function(e){
 	    if(e.keyCode == "13"){
 			if($("#bidLogin").is(":visible")){
@@ -290,7 +289,7 @@ $(function(){
 		$("#searchinput").val("").focus();
 		//$("#zbSeatchT [name='searchvalue']").val("");
 	})
-	
+
 	//
 	if(selectPublishtime != ""){
 		$("#timerAll").removeClass("active");
@@ -517,7 +516,7 @@ $(function(){
 				<!--全文搜索 列表-->
 				<div class="lucene">
 					<ul>
-						
+
 					</ul>
 				</div>
 				<!--全文搜索 表格-->
@@ -537,7 +536,7 @@ $(function(){
 					</table>
 					<table>
 						<tbody>
-							
+
 						</tbody>
 					</table>
 				</div>
@@ -606,4 +605,4 @@ document.querySelector(".searchControl").oncopy = function(){
 }
 </script>
 </body>
-</html>
+</html>

+ 16 - 16
src/web/templates/pc/subscribe.html

@@ -6,6 +6,7 @@
 <meta name="Description" content="使用剑鱼标讯,可以精准匹配招标信息,只需要微信关注剑鱼标讯公众号,然后自行设定所关注的招标关键词和地区,满足订阅需求的招标信息就会在两个小时内自动推送。"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+<meta content="招标订阅" theme="dark" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/css/reset.css?v={{Msg "seo" "version"}}" />
 <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/css/subcss.css?v={{Msg "seo" "version"}}" />
@@ -67,7 +68,7 @@ $(function(){
     top: 50%;
     margin-top: -125px;
 	text-align: center;
-    color: #fff;    
+    color: #fff;
 	margin-left: -600;
 }
 .j-text-1{
@@ -84,7 +85,7 @@ $(function(){
     margin: 8px auto 36px;
     font-weight: bold;
 }
-.j-text-3{    
+.j-text-3{
 	font-family: 微软雅黑;
     font-size: 18px;
     line-height: 32px;
@@ -178,7 +179,7 @@ $(function(){
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -188,7 +189,7 @@ $(function(){
 .j-wx-code>.code-text{
 	font: 16px "microsoft yahei";
 	text-align: center;
-	color: #252627;	
+	color: #252627;
 }
 .j-wx-code>.code-bottom{
 	width: 470px;
@@ -433,8 +434,8 @@ $(function(){
 							<p>10组招标关键词自由订阅,不漏掉任何一个招标信息</p>
 						</div>
 					</li>
-					
-					
+
+
 				</ul>
 			</div>
 		</div>
@@ -582,7 +583,7 @@ $(function(){
 					<input type="text" class="form-control" id="kword" placeholder="请输入关键词">
 				</div>
 				<div class="floorfour">
-				
+
 				</div>
 			</div>
             <div class="modal-footer">
@@ -636,7 +637,7 @@ $(function(){
 {{include "/common/pcbottom.html"}}
 <script>
 //关键词不合规范提示
-var hintcon=["您订阅的关键词较多,<br>可能会收不到推送信息。","您订阅的关键词字数过多,<br>可能会收不到推送信息。","您订阅的关键词包含特殊符号,<br>可能会收不到推送信息。"] 
+var hintcon=["您订阅的关键词较多,<br>可能会收不到推送信息。","您订阅的关键词字数过多,<br>可能会收不到推送信息。","您订阅的关键词包含特殊符号,<br>可能会收不到推送信息。"]
 var Guide = {
 	industry_keyword: {
 		"工程建筑":["道路","桥梁","房屋","钢结构","土方","建筑工程","混凝土","钢材","勘察","设计","施工","监理","装修","安装"],
@@ -660,7 +661,6 @@ var Guide = {
 }
 //
 $(function(){
-	selcetIndexNav(1);
 	//setTimeout("$('#inerPre').click()",1000);
 	$("#inerNextDiv").click(function(){
 		$('#inerNext').click();
@@ -688,7 +688,7 @@ $(function(){
 	$(".j-nav .j-nav-link:eq(4)").addClass("active");
 	//动画开始
 	var rollflag = true
-	
+
 	$(window).scroll(function(){
 		if($(this).scrollTop() > 900){
 			if (rollflag){
@@ -770,7 +770,7 @@ var startAnimation = function(){
 	$(".warp-container").css({
 		width: liLength * liWidth
 	})
-	
+
 	$('.warp-progress-items').on('animationend', function() {
 		$(this).addClass('active stop')
 		if($(this).next().html() != undefined) {
@@ -870,7 +870,7 @@ var prev = function(index){
 		$("#myModal-01 .modal-dialog").css("width","488px");
 		Guide.action=2;
 	}
-	
+
 }
 var generateQR = function(){
 	var selectKW = []
@@ -1067,9 +1067,9 @@ var RecomKWs = function() {
 		}else if(data==""){
 			this.hotWord();
 		}
-		
+
 	}
-	
+
 	//最热推荐词
 	this.hotWord = function(){
 		$.ajax({
@@ -1092,7 +1092,7 @@ var RecomKWs = function() {
 							break
 						}
 					}
-					
+
 				}
 						shtml +='</ul>'
 				$("#secondPopup .floorfour").html(shtml);
@@ -1273,4 +1273,4 @@ function zbsqClose(){
 {{include "/common/baiducc.html"}}
 <!--百度统计end-->
 </body>
-</html>
+</html>

+ 1 - 1
src/web/templates/pc/subscribe_new.html

@@ -6,6 +6,7 @@
     <meta name="Description" content="使用剑鱼标讯,可以精准匹配招标信息,只需要微信关注剑鱼标讯公众号,然后自行设定所关注的招标关键词和地区,满足订阅需求的招标信息就会在两个小时内自动推送。"/>
     <meta name="renderer" content="webkit">
     <meta content="telephone=no" name="format-detection"/>
+    <meta content="招标订阅" theme="dark" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/css/reset.css?v={{Msg "seo" "version"}}"/>
     <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/css/subscribe.css?v={{Msg "seo" "version"}}"/>
@@ -272,7 +273,6 @@
     }
     //
     $(function () {
-        selcetIndexNav(2);
         //setTimeout("$('#inerPre').click()",1000);
         $("#inerNextDiv").click(function () {
             $('#inerNext').click();

+ 48 - 49
src/web/templates/pc/supsearch.html

@@ -6,6 +6,7 @@
 <meta name="Description" content="{{Msg "seo" "qfw.swordfishsl.description"}}"/>
 <meta name="renderer" content="webkit">
 <meta content="telephone=no" name="format-detection"/>
+<meta content="招标搜索" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -58,7 +59,7 @@
 	text-align: center;
 	margin-bottom: -6px;
 	margin-top: -16px;
-	
+
 }
 .j-wx-code>.code-wxm>img{
 	width: 200px;
@@ -264,8 +265,7 @@ var dataId = "";
 $(function(){
 	var oInput=document.getElementById("searchinput");
 	moveEnd(oInput)
-	$(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
-	
+
 	$(".working").show();
 	$(document).keydown(function(e){
 	    if(e.keyCode == "13"){
@@ -334,7 +334,7 @@ $(function(){
 		$("#searchinput").val("").focus();
 		//$("#zbSeatchT [name='searchvalue']").val("");
 	})
-	
+
 	var industryhtml = '<span id="induAll" class="active">全部</span>';
 	if (sortArray!=null&&sortArray.length>0){
 		for(var i in sortArray){
@@ -485,13 +485,13 @@ $(function(){
 							minnum = minp;
 						}
 					}
-					
+
 				}
-			}	
+			}
 		}else{
 			minnum = minp;
 		}
-		
+
 	})
 	//
 	var maxnum = {{.T.maxprice}};
@@ -530,45 +530,45 @@ $(function(){
 							maxnum = maxp;
 						}
 					}
-					
+
 				}
-			}	
+			}
 		}else{
 			maxnum = maxp;
 		}
 	})
 	/**
 	//ie11 backspace禁止
-	window.onload=function(){  
-    document.getElementsByTagName("body")[0].onkeydown =function(){  
-        var elem = event.relatedTarget || event.srcElement || event.target ||event.currentTarget;   
-        if(event.keyCode==8){//判断按键为backSpace键  
-                //获取按键按下时光标做指向的element  
-                var elem = event.srcElement || event.currentTarget;  
-                //是否需要阻止按下键盘的事件默认传递  
-                var name = elem.nodeName;  
-                if(name!='INPUT' && name!='TEXTAREA'){  
-                    return _stopIt(event);  
-                }  
-                var type_e = elem.type.toUpperCase();  
-                if(name=='INPUT' && (type_e!='TEXT' && type_e!='TEXTAREA' && type_e!='PASSWORD' && type_e!='FILE')){  
-                        return _stopIt(event);  
-                }  
-                if(name=='INPUT' && (elem.readOnly==true || elem.disabled ==true)){  
-                        return _stopIt(event);  
-                }  
-            }  
-        }  
-    }  
-	function _stopIt(e){  
-        if(e.returnValue){  
-            e.returnValue = false ;  
-        }  
-        if(e.preventDefault ){  
-            e.preventDefault();  
-        }               
-        return false;  
-	}  
+	window.onload=function(){
+    document.getElementsByTagName("body")[0].onkeydown =function(){
+        var elem = event.relatedTarget || event.srcElement || event.target ||event.currentTarget;
+        if(event.keyCode==8){//判断按键为backSpace键
+                //获取按键按下时光标做指向的element
+                var elem = event.srcElement || event.currentTarget;
+                //是否需要阻止按下键盘的事件默认传递
+                var name = elem.nodeName;
+                if(name!='INPUT' && name!='TEXTAREA'){
+                    return _stopIt(event);
+                }
+                var type_e = elem.type.toUpperCase();
+                if(name=='INPUT' && (type_e!='TEXT' && type_e!='TEXTAREA' && type_e!='PASSWORD' && type_e!='FILE')){
+                        return _stopIt(event);
+                }
+                if(name=='INPUT' && (elem.readOnly==true || elem.disabled ==true)){
+                        return _stopIt(event);
+                }
+            }
+        }
+    }
+	function _stopIt(e){
+        if(e.returnValue){
+            e.returnValue = false ;
+        }
+        if(e.preventDefault ){
+            e.preventDefault();
+        }
+        return false;
+	}
 	**/
 })
 
@@ -654,7 +654,7 @@ $(function(){
 					</div>
 				</div>
 			</div>
-			
+
 			<!--整体页面切换tab-->
 			<div class="control-tabBtn">
 				<span class="bidbutdir"></span>
@@ -688,7 +688,7 @@ $(function(){
 					更多
 				</div>
 				<div class="industry-content">
-					
+
 				</div>
 			</div>
 			<!--价格区间-->
@@ -862,7 +862,7 @@ $(function(){
 				<!--全文搜索 列表-->
 				<div class="lucene">
 					<ul>
-						
+
 					</ul>
 				</div>
 				<!--全文搜索 表格-->
@@ -884,7 +884,7 @@ $(function(){
 					</table>
 					<table>
 						<tbody>
-							
+
 						</tbody>
 					</table>
           <div class="shade_table" style="display:none">
@@ -901,7 +901,7 @@ $(function(){
 				<!--全文搜索 列表-->
 				<div class="lucene">
 					<ul>
-						
+
 					</ul>
 				</div>
 				<!--全文搜索 表格-->
@@ -923,7 +923,7 @@ $(function(){
 					</table>
 					<table>
 						<tbody>
-							
+
 						</tbody>
 					</table>
            <div class="shade_table" style="display:none">
@@ -1000,7 +1000,6 @@ $(function(){
 		$(".control-tabBtn>a:first").addClass("on");
 		$(".control-tabBtn>.bidbutdir").css("left",$(".control-tabBtn>a:first").attr("left"));
 	});
-	selcetIndexNav(3);
 	new TableHeadFixed("",true,true,"supsearch");
 	new JyWebScoket.qrToLab();
 	haslogin({{.T.logid}},keys);
@@ -1013,8 +1012,8 @@ $(function(){
       setTimeout(function(){
         $(".remind").stop().fadeOut()
       },2000)
-    } 
-  }) 
+    }
+  })
   // $('#q-mark').hover(function(e){
   //   e.stopPropagation()
   //   if($(".remind").show()){
@@ -1122,4 +1121,4 @@ document.querySelector(".searchControl").oncopy = function(){
 }
 </script>
 </body>
-</html>
+</html>

+ 18 - 19
src/web/templates/pc/vip_orderDetail.html

@@ -6,6 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <title>订单详情</title>
+    <meta content="增值服务" theme="light" name="enable-header"/>
 	<script>
 		var myPageNavIsNormal = true;
 	</script>
@@ -68,17 +69,17 @@
 					<a  class="lookinvoice go_pay" style="display: none;">查看发票</a>
                 </p>
             </div>
-			
+
 			<!-- ------订单类型为VIP订阅、商机管理时展示的字段 --------->
 			            <div class="o_m_tbody">
 			                <div class="b_list">
 			                    <div class="list_thead">
-			                        <span class="fl">订阅条件</span> 
+			                        <span class="fl">订阅条件</span>
 			                    </div>
 			                    <div class="clearfix list_tbody">
 			                        <div class="filter_data">
 			                            <p><span class="dq_text">区域</span>:<span class="dq"></span></p>
-			                            <p><span class="hy_text">采购单位行业</span>:<span class="hysl"></span></p> 
+			                            <p><span class="hy_text">采购单位行业</span>:<span class="hysl"></span></p>
 			                            <p><span class="zq_text">订阅周期</span>:<span class="dyzq"></span><span class="discount-container hide">
 											    <span>+</span>
 											    <span class="highlight-text" style="color: #2cb7ca;">赠送30天</span>
@@ -89,7 +90,7 @@
 			                </div>
 			                <div class="b_list">
 			                    <div class="list_thead">
-			                        <span class="fl">订单信息</span>  
+			                        <span class="fl">订单信息</span>
 			                    </div>
 			                    <div class="clearfix list_tbody">
 			                        <div class="filter_data">
@@ -98,8 +99,8 @@
 			                            <p class="pay_time_p" style="display: none;">支付时间:<span class="pay_time"></span></p>
 			                            <p>产品类型:超级订阅<span class="vip_type"></span></p>
 			                            <p class="pay_way_p" style="display:none">支付方式:<span class="pay_way"></span></p>
-			                            <p class="pay_num_p" style="display:none">支付单号:<span class="pay_num"></span></p> 
-			                            <p class="price_p">实付金额:¥<span class="price"></span>元 &nbsp; <span class="valuationList" style="color:#2CB7CA;display:none;cursor:pointer">计费清单</span></p> 
+			                            <p class="pay_num_p" style="display:none">支付单号:<span class="pay_num"></span></p>
+			                            <p class="price_p">实付金额:¥<span class="price"></span>元 &nbsp; <span class="valuationList" style="color:#2CB7CA;display:none;cursor:pointer">计费清单</span></p>
 			                        </div>
 			                    </div>
 			                </div>
@@ -116,12 +117,10 @@
     <script>
         $(function(){
 			$("#public-nav").css("background","#fff");
-			$(".logo img").attr("src","/images/swordfish/sf_01_new.png");
 			$(".public-nav").css("border-bottom", "1px solid #e0e0e0");
 			$("section[id='drder']").css("padding-top", "80px");
-			selcetIndexNav(7);
 			haslogin({{.T.logid}});
-			
+
 			var orderCode=getParam("order_code");
 			$(".order_id").text("订单编号:"+orderCode);
 			$.post("/subscribepay/orderListDetails/getOrderPayAllMsg",{"orderCode":orderCode},function(r){
@@ -175,7 +174,7 @@
 							$("#bg").addClass("redBg").removeClass("greenBg");
 							$(".payOrder").show();
 						}
-						
+
 						//订阅条件
 						if(!$.isEmptyObject(filterObj.newBuyset)){	//p1版本
 							var newbuyset= filterObj.newBuyset;
@@ -271,7 +270,7 @@
 							}else if(end_year === start_year){
 								month = end_month - start_month;
 							}
-							
+
 							if(year != 0 && month !=0){
 								$(".dyzq").text(year+"年"+month+"个月");
 							}else if(year !== 0&& month ===0){
@@ -299,7 +298,7 @@
 					   if (r.data.order.order_status==1){
 							//有效周期
 							$(".yxrq_p").css("display","");
-							 //有效日期  
+							 //有效日期
 							if(r.data.time.vip_starttime&&r.data.time.vip_endtime){
 								var vip_starttime=r.data.time.vip_starttime+"";
 								var vip_endtime=r.data.time.vip_endtime+"";
@@ -334,7 +333,7 @@
 							$(".hy_text").text("升级采购单位行业");
 							$(".zq_text").text("延长周期");
 						}
-						
+
 						//计价清单
 						var filterObj=JSON.parse(r.data.order.filter);
 						var upgradeSubtotail=filterObj.upgradeSubtotail;
@@ -346,8 +345,8 @@
 						}
 					}
 			})
-			
-			
+
+
 			$(".openinvoice").on("click",function(){
 				$.post("/subscribepay/orderListDetails/isOver",{"order_code":orderCode},function(r){
 					if(r.status!=1){
@@ -364,10 +363,10 @@
 				location.href = "/front/subvip/orderPay/"+ orderCode;
 			})
         })
-		
-		
-		
-		
+
+
+
+
 		/******* 获取url参数(正则)********/
 		function getParam(name) {
 		    var search = document.location.search;

+ 11 - 11
src/web/templates/pchelper/pushView.html

@@ -2,6 +2,7 @@
 <head>
 <meta charset="utf-8">
 <title>推送历史</title>
+    <meta content="light" theme="light" name="enable-header"/>
 {{include "/common/pnc.html"}}
 <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 <link href="{{Msg "seo" "cdn"}}/css/dev2/reset_pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
@@ -120,7 +121,7 @@
 		text-align: center;
 		margin-bottom: -6px;
 		margin-top: -16px;
-		
+
 	}
 	.j-wx-code>.code-wxm>img{
 		width: 200px;
@@ -273,7 +274,7 @@
 	    line-height: 26px;
 		margin-top: -133px;
 	}
-	
+
 	#labwelcomebody .code-close:hover{
 		 -webkit-transform: scale(1.2);
 	 		-moz-transform: scale(1.2);
@@ -591,12 +592,11 @@
 <script>
 	new TableHeadFixed("datas",true,true,"");
 	new JyWebScoket.qrToLab();
-	$(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
 	haslogin("10");
 	$(".j-bottom a,.public-nav a").attr("target","_bank");
 	$(".j-bottom .jy_province font").unbind("click");
 	$(".j-bottom .jy_classify font").unbind("click");
-	
+
 	var pageSize=50;
 	var pageNum=1;
 	var words={{.T.words}}
@@ -622,7 +622,7 @@
 		$(".nbnext").removeClass("disabled");
 	    getDatas(pageNum);
     });
-	
+
 	function getDatas(index){
 		$.ajax({
          	type: 'post',
@@ -652,7 +652,7 @@
          	}
      	});
 	}
-	
+
     function structureHtml(list){
 		if(list.length == 0){
 			return;
@@ -712,12 +712,12 @@
            	if(area != ""){
                	area = '<span class="location">'+area+'</span>';
            	}
-			
+
 			var datatype = '';
 			if (info.type!=""){
 				datatype='<span class="type">'+info.type+'</span>'
 			}
-			
+
 			var	industryname = '';
             if(info.s_subscopeclass!=null&&info.s_subscopeclass!=""){
                 industryname='<span class="industry">'+info.s_subscopeclass+'</span>'
@@ -840,7 +840,7 @@
             }
             return   year+"-"+month+"-"+date+"<br>"+hour+":"+min;
         }else{
-            return   year+"-"+month+"-"+date; 
+            return   year+"-"+month+"-"+date;
         }
     }
 	function beforeJump(eid,sds,date,index,mthis){
@@ -865,7 +865,7 @@
 		$(".tslist:eq("+i+") a").addClass("visited");
 		$(".tslist:eq("+i+") span:eq(0)").addClass("visited")
 		if(date&&index&&eid){
-			$.post("/wxpush/bid/ajaxReq",{_id:date,index:parseInt(index),vsid:eid});	
+			$.post("/wxpush/bid/ajaxReq",{_id:date,index:parseInt(index),vsid:eid});
 		}
 	}
 	$(".right-tabBtn button").on("click", function() {
@@ -890,4 +890,4 @@
 <!--百度统计end-->
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>

+ 7 - 8
src/web/templates/structuredata/pc/index.html

@@ -2,6 +2,7 @@
 <head>
   <meta charset="UTF-8">
   <title>结构化数据_剑鱼标讯,全行业招标信息智能推送领导者!</title>
+    <meta content="数据" theme="light" name="enable-header"/>
   {{include "/common/pnc.html"}}
   <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 	<link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/reset_pc.css?v={{Msg "seo" "version"}}" />
@@ -13,11 +14,9 @@
   <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/structuredata/pc/css/stucturedPc.css?v={{Msg "seo" "version"}}1">
 	<script>
 		$(function(){
-	    $(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
       $("#backTop").remove();
 			//
 			haslogin({{.T.logid}});
-			selcetIndexNav(5)
 		})
 	</script>
 </head>
@@ -86,7 +85,7 @@
             </div>
             <div class="bottom_option">
                 <div class="consult bottom_btn">
-                    立即咨询 
+                    立即咨询
                 </div>
             </div>
         </div>
@@ -118,7 +117,7 @@
             </ul>
             <div class="bottom_option">
                 <div class="experience bottom_btn">
-                    抢先体验结构化招标数据  
+                    抢先体验结构化招标数据
                 </div>
             </div>
         </div>
@@ -160,7 +159,7 @@
             </ul>
             <div class="bottom_option">
                 <div class="canfirst bottom_btn">
-                    立即咨询  
+                    立即咨询
                 </div>
             </div>
         </div>
@@ -224,7 +223,7 @@
             </div>
             <div class="bottom_option">
                 <div class="company bottom_btn">
-                    立即使用 
+                    立即使用
                 </div>
             </div>
         </div>
@@ -291,7 +290,7 @@
         //速度
         var speed = 100;
         //开启定时器
-        
+
         var timer = setInterval(function(){
             //获取滚动条的高度
             var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
@@ -316,4 +315,4 @@
 </script>
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>

+ 3 - 4
src/web/templates/structuredata/pc/info.html

@@ -3,6 +3,7 @@
 <head>
     <meta charset="UTF-8">
     <title>深入了解_剑鱼标讯,全行业招标信息智能推送领导者!</title>
+    <meta content="数据服务" theme="light" name="enable-header"/>
     {{include "/common/pnc.html"}}
     <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
 	<link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}" />
@@ -14,11 +15,9 @@
 	<script>
     var s_myemail = {{.T.s_myemail}};
 		$(function(){
-	    $(".logo img").attr("src","{{Msg "seo" "cdn"}}/images/swordfish/sf_01_new.png");
       $("#backTop").remove();
 			//
 			haslogin({{.T.logid}});
-			selcetIndexNav(5)
 		})
 	</script>
 </head>
@@ -28,7 +27,7 @@
     <div style="position: absolute;border-top: 1px solid #c0c0c0;width: 100%;"></div>
     <div id="wrap" class="wrap">
       <div class="w order_crumb" style="display: flex;height: 60px;align-items: center;">
-          <a onclick="window.go(-1)" style="text-decoration: none;">结构化数据 </a> 
+          <a onclick="window.go(-1)" style="text-decoration: none;">结构化数据 </a>
           <em>&nbsp;>&nbsp;</em>
           <a class="thisPageName" style="color: #2CB7CA;text-decoration: none;"> 免费样例</a>
       </div>
@@ -138,4 +137,4 @@
 {{include "/common/pcbottom.html"}}
 {{include "/common/baiducc.html"}}
 </body>
-</html>
+</html>