소스 검색

fenzhihebing

luwenna 3 년 전
부모
커밋
43f292a0ba
40개의 변경된 파일5015개의 추가작업 그리고 5307개의 파일을 삭제
  1. 23 0
      .editorconfig
  2. 1 1
      src/jfw/modules/app/src/web/staticres/jyapp/js/historypush.js
  3. 0 138
      src/jfw/modules/app/src/web/staticres/jyapp/js/track/track.js
  4. 0 120
      src/jfw/modules/app/src/web/staticres/jyapp/js/track/track.umd.min.js
  5. 0 2
      src/jfw/modules/app/src/web/templates/active/yearEndReport/index.html
  6. 0 5
      src/jfw/modules/app/src/web/templates/big-member/meta.html
  7. 0 3
      src/jfw/modules/app/src/web/templates/common/js.html
  8. 2 0
      src/jfw/modules/app/src/web/templates/vipsubscribe/vip_introduce.html
  9. 2 1
      src/web/staticres/big-member/js/public_big.js
  10. 3 0
      src/web/staticres/css/pc.css
  11. 0 138
      src/web/staticres/js/track/track.js
  12. 0 120
      src/web/staticres/js/track/track.umd.min.js
  13. 644 0
      src/web/staticres/public-pc/css/header-nav.css
  14. 510 0
      src/web/staticres/public-pc/css/pc-bottom.css
  15. 2496 0
      src/web/staticres/public-pc/js/article-content.js
  16. 441 0
      src/web/staticres/public-pc/js/baiducc.js
  17. 309 0
      src/web/staticres/public-pc/js/header-nav.js
  18. 4 0
      src/web/staticres/public-pc/js/header.js
  19. 337 0
      src/web/staticres/public-pc/js/pc-bottom.js
  20. 32 0
      src/web/staticres/public-pc/js/polyfill.js
  21. 5 5
      src/web/templates/big-member/pc/page_cg.html
  22. 6 7
      src/web/templates/big-member/pc/page_qy.html
  23. 2 2
      src/web/templates/big-member/pc/page_qz.html
  24. 5 5
      src/web/templates/big-member/pc/page_sc.html
  25. 7 7
      src/web/templates/big-member/pc/page_tb.html
  26. 7 7
      src/web/templates/big-member/pc/page_yw.html
  27. 5 5
      src/web/templates/big-member/pc/page_zb.html
  28. 0 5
      src/web/templates/big-member/wx/meta.html
  29. 1 6
      src/web/templates/big-member/wx/page_unit_portrayal.html
  30. 0 124
      src/web/templates/common/baiducc.html
  31. 13 945
      src/web/templates/common/pcbottom.html
  32. 136 1092
      src/web/templates/common/pchead.html
  33. 17 37
      src/web/templates/common/pnc.html
  34. 1 6
      src/web/templates/common/weixin.html
  35. 0 1
      src/web/templates/frontRouter/wx/buyerPortraitRecord/sess/index.html
  36. 0 1
      src/web/templates/frontRouter/wx/fileRecord/sess/index.html
  37. 2 3
      src/web/templates/frontRouter/wx/portraitRecord/sess/index.html
  38. 1 2521
      src/web/templates/pc/biddetail_rec.html
  39. 1 0
      src/web/templates/pc/subscribe_new.html
  40. 2 0
      src/web/templates/weixin/vipsubscribe/vip_introduce.html

+ 23 - 0
.editorconfig

@@ -0,0 +1,23 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_style = space
+insert_final_newline = true
+max_line_length = 120
+trim_trailing_whitespace = true
+
+[*.scss]
+indent_size = 2
+
+[{*.html,*.js,*.css}]
+indent_size = 2
+tab_width = 2
+
+[{*.bash,*.sh,*.zsh}]
+indent_size = 2
+tab_width = 2
+
+[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
+indent_size = 2

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/js/historypush.js

@@ -115,7 +115,7 @@ var vm = new Vue({
     // 判断是否推送消息进入,清空缓存值,显示底部导航
     try {
       if (pushUrlTime) {
-        this.setPushTime(this.time)
+        this.setPushTime(pushUrlTime + '_' + pushUrlTime)
         this.revorceOtherData()
         JyObj.hiddenBottom("1")
       }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 138
src/jfw/modules/app/src/web/staticres/jyapp/js/track/track.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 120
src/jfw/modules/app/src/web/staticres/jyapp/js/track/track.umd.min.js


+ 0 - 2
src/jfw/modules/app/src/web/templates/active/yearEndReport/index.html

@@ -549,8 +549,6 @@
 <link rel="prefetch" as="script" href="https://cdn-common.jianyu360.com/cdn/lib/html2canvas/1.1.2/dist/html2canvas.min.js"/>
 <!--E-提前需要预加载的资源-->
 <script>
-    if (typeof window._jyGlobal !== 'object') { window._jyGlobal = {} }
-    try { window._jyGlobal.baseURL = {{Msg "seo" "buryingPointUrl"}} } catch (e) { window._jyGlobal.baseURL = '' }
     // 屏蔽console.log输出, 如需查看手动 localStorage.setItem('env', 'development') 刷新页面
     if (localStorage.getItem('env') !== 'development') {
         console.log = function () {}

+ 0 - 5
src/jfw/modules/app/src/web/templates/big-member/meta.html

@@ -14,11 +14,6 @@
 <meta name="format-detection" content="telephone=no">
 <link rel="icon" href="/favicon.ico">
 <script src='https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js'></script>
-<script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
-<script>
-  if (typeof window._jyGlobal !== 'object') { window._jyGlobal = {} }
-  try { window._jyGlobal.baseURL = {{Msg "seo" "buryingPointUrl"}} } catch (e) { window._jyGlobal.baseURL = '' }
-</script>
 <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/track/j-track.min.js?v={{Msg "seo" "version"}}'></script>
 <!--E-meta-->
 

+ 0 - 3
src/jfw/modules/app/src/web/templates/common/js.html

@@ -1,9 +1,6 @@
 <script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/rem.js" type="text/javascript" charset="utf-8"></script>
 <script src="{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/js/common.js?v={{Msg "seo" "mod_version"}}"></script>
-<script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
 <script>
-  if (typeof window._jyGlobal !== 'object') { window._jyGlobal = {} }
-  try { window._jyGlobal.baseURL = {{Msg "seo" "buryingPointUrl"}} } catch (e) { window._jyGlobal.baseURL = '' }
   // 屏蔽console.log输出, 如需查看手动 localStorage.setItem('env', 'development') 刷新页面
   if (localStorage.getItem('env') !== 'development') {
       console.log = function () {}

+ 2 - 0
src/jfw/modules/app/src/web/templates/vipsubscribe/vip_introduce.html

@@ -132,7 +132,9 @@
                     if (canTimeStart) {
                         // 活动中
                         $(".pop-tip-group").hide()
+                        $(".pop-tip-group.active div").text(res.tip || '免费送1年')
                         $(".pop-tip-group.active").show()
+
                         $('.pop-button img[data-name]').hide()
                         $('.pop-button img[data-name="active"]').show()
                         activeReloadPage(res.nowtime * 1000, res.endtime * 1000)

+ 2 - 1
src/web/staticres/big-member/js/public_big.js

@@ -322,7 +322,8 @@ $(function () {
         }
         // 数字滚动
         var numberBox = $(".show-number-box")
-        if (numberBox.length) {
+        var numberItems = $(".show-number-box mark")
+        if (numberBox.length && numberItems.length) {
             var numberBoxH = numberBox.offset().top
             if ($(window).scrollTop() + $(window).height()  >= numberBoxH) {
                 if (!numberBox.attr('data-show-an')) {

+ 3 - 0
src/web/staticres/css/pc.css

@@ -2087,6 +2087,9 @@ form{
 	 background: #000;
 
 }
+.jy_renzheng div a{
+  display: inline-block;
+}
 .jy_renzheng div{
 	width: 1200px;
 	margin: 0 auto;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 138
src/web/staticres/js/track/track.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 120
src/web/staticres/js/track/track.umd.min.js


+ 644 - 0
src/web/staticres/public-pc/css/header-nav.css

@@ -0,0 +1,644 @@
+.new-info {
+    position: relative;
+    padding-top: 4px;
+    z-index: 1;
+}
+.new-info .link {
+    display: inline-block;
+    color: #2CB7CA;
+    font-size: 12px;
+    letter-spacing: -0.8;
+    text-decoration:none
+}
+#public-nav{
+    position: fixed;
+    top: 0;
+}
+#public-nav .iner {
+    width: 1200px;
+}
+#public-nav .iner .fl{
+    margin-left: 0;
+    display: flex;
+    width: 430px;
+    height: 100%;
+}
+#public-nav .iner .fl .jy_nav_searchBtn{
+    background: url(/images/pc/public-search-white.png) no-repeat center center;
+    background-size: 20px;
+    width: 40px;
+    height: 64px;
+    margin-left: auto;
+    position: relative;
+    border: none;
+    cursor: pointer;
+}
+#public-nav .iner .fl .jy_nav_searchBtn img{
+    position: absolute;
+    top: 22px;
+    left: 50%;
+    margin-left: -7px;
+    width: 20px;
+}
+#public-nav .iner .fl .search-box{
+    width: 100%;
+    height: 100%;
+    background: rgba(255,255,255,0.12);
+    display: flex;
+    align-items: center;
+}
+#public-nav .iner .fl .search-box i{
+    background: rgba(255,255,255,0.5);
+    display: inline-block;
+    margin: 0 8px;
+    width: 1px;
+    height: 14px;
+}
+#public-nav .iner .fl .search-box img{
+    width: 20px;
+}
+#public-nav .iner .fl .search-box .public-nav-search{
+    border: none;
+    background: url(/images/pc/public-search-white.png) no-repeat center 22px;
+    background-size: 20px;
+    width: 20px;
+    height: 100%;
+}
+#public-nav .iner .fl .search-box .public-nav-close{
+    border: none;
+    background: url(/images/pc/public-close-white.png) no-repeat center 22px;
+    background-size: 36px;
+    width: 36px;
+    height: 100%;
+    cursor: pointer
+}
+#public-nav .iner .fl .jynav-search{
+    font-size: 14px;
+    width: 360px;
+    height: 64px;
+    color: #fff;
+    border:none;
+    box-sizing: border-box;
+    background-color: transparent;
+    padding-left: 16px;
+}
+#public-nav[data-theme="light"]{
+    border-bottom: 1px solid #ECECEC;
+}
+#public-nav[data-theme="light"] .iner .fl .search-box{
+    background: #F2F2F4;
+}
+#public-nav[data-theme="light"] .iner .fl .search-box i{
+    background: #ccc;
+    display: inline-block;
+    margin: 0 8px;
+    width: 1px;
+    height: 14px;;
+}
+#public-nav[data-theme="light"] .iner .fl .jynav-search{
+    color: #2F2B39;
+    font-style: 14px;
+}
+#public-nav[data-theme="light"] .iner .fl .search-box .public-nav-search{
+    background: url(/images/pc/public-search-grey.png) no-repeat center 22px;
+    background-size: 20px;
+}
+#public-nav[data-theme="light"] .iner .fl .search-box .public-nav-search:hover{
+    background: url(/images/pc/public-search-light.png) no-repeat center 22px;
+    background-size: 20px;
+}
+#public-nav[data-theme="light"] .iner .fl .search-box .public-nav-close{
+    background: url(/images/pc/public-close-grey.png) no-repeat left 21px;
+    background-size: 22px;
+}
+#public-nav[data-theme="light"] .iner .fl .search-box .public-nav-close:hover{
+    background: url(/images/pc/public-close-light.png) no-repeat left 21px;
+    background-size: 22px;
+}
+#public-nav[data-theme="light"]  .iner .fl .jy_nav_searchBtn{
+    background: url(/images/pc/public-search-grey.png) no-repeat center center;
+    background-size: 20px 20px;
+}
+#public-nav[data-theme="light"]  .iner .fl .jy_nav_searchBtn:hover{
+    background: url(/images/pc/public-search-light.png) no-repeat center center;
+    background-size: 20px 20px;
+}
+#public-nav[data-theme="light"] .iner .fl .jynav-search::placeholder{
+    color: #ccc;
+    font-style: 14px;
+}
+
+
+
+#public-nav .iner .jynav{
+    position: relative;
+}
+#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 .jynav li{
+    position: relative;
+    padding: 0 23px !important;
+    min-width: inherit !important;
+}
+#public-nav .iner .jynav li:nth-child(6){
+    height: 63px;
+    margin-left: 23px;
+}
+#public-nav .iner .jynav li .jynav-list{
+    display: flex;
+    flex-direction: column;
+    width: 186px;
+    position: absolute;
+    left: 50%;
+    transform: translate(-50%, 0%);
+    line-height: 34px;
+    padding: 24px;
+    background: #fff;
+    border-radius: 0px 0px 4px 4px;
+    box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.08);
+    font-size: 14px;
+    display: none;
+    text-align: left;
+    border-top: 1px solid rgba(0, 0, 0, 0.1);
+}
+#public-nav .iner .jynav li  .jy-rember{
+    width: 104px;
+}
+#public-nav .iner .jynav li  .jy-rember .tag{
+    width: 46px;
+    height: 18px;
+    opacity: 1;
+    background: #ff3a20;
+    border-radius: 9px;
+    font-size: 12px;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    color: #fff !important;
+}
+#public-nav .iner .jynav li .jynav-list span{
+    display: block;
+    height: 34px;
+    position: relative;
+}
+#public-nav .iner .jynav li .discount::after{
+    content: "特惠";
+    display: inline-block;
+    width: 46px;
+    height: 18px;
+    background: #ff3a20;
+    border-radius: 9px;
+    font-size: 12px;
+    color: #ffff;
+    position: absolute;
+    right: 0px;
+    top: 8px;
+    text-align: center;
+    line-height: 18px;
+}
+#public-nav .iner .jynav li .jy-nav-hot{
+    position: absolute;
+    top: 4px;
+    left: 68px;
+    width: 50px;
+}
+#public-nav .iner .jynav li .jy-nav-msg{
+    width: 24px;
+    vertical-align: middle;
+}
+#public-nav .iner .jynav li .msg-img2 {
+    display: none;
+}
+#public-nav[data-theme] .iner .jynav li .img-flex {
+    display: flex;
+    flex-direction: column;
+}
+#public-nav[data-theme] .iner .jynav li .msg-img1,#public-nav[data-theme] .iner .jynav li .msg-img2 {
+    position: absolute;
+    left: 0;
+    top: 20px;
+}
+#public-nav[data-theme] .iner .jynav li .msg-img1 {
+    opacity: 0;
+}
+#public-nav[data-theme="light"] .iner .jynav li .msg-img1[data-theme='light'] {
+    opacity: 1;
+}
+#public-nav[data-theme="dark"] .iner .jynav li .msg-img1[data-theme='dark'] {
+    opacity: 1;
+}
+#public-nav .iner .jynav li .tips {
+    display: none;
+    position: absolute;
+    left: 14px;
+    top: 13px;
+    height: 18px;
+    line-height: 16px;
+    padding: 0 4px;
+    border: 1px solid #fff;
+    background: #ff3a20;
+    border-radius: 10px;
+    font-size: 12px;
+    color: #fff;
+}
+/* 滚动条样式 */
+#public-nav .iner .jynav li .jy-list-msg .msg-par ::-webkit-scrollbar {
+    /*滚动条整体样式*/
+    width: 6px;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par ::-webkit-scrollbar-thumb {
+    /*滚动条里面小方块*/
+    border-radius: 3px;
+    background: #E0E0E0;
+    opacity: 0.15;
+}
+#public-nav .iner .jynav li .msg-style {
+    display: none;
+    position: absolute;
+    right: 0!important;
+    left: initial;
+    transform: translate(0%, 0%)!important;
+    width: 400px;
+    padding: 0;
+    background: #ffffff;
+    border-radius: 0px 0px 8px 8px;
+    box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.08);
+    margin-top: 63px;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par {
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    height: 368px;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-head {
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+    padding: 16px 24px;
+    line-height: 24px;
+    box-shadow: 0px -1px 0px 0px rgba(0,0,0,0.05) inset;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .imgs, #public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .imgs1 {
+    width: 16px;
+    height: 16px;
+    cursor: pointer;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .imgs1 {
+    display: none;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .spa {
+    height: auto;
+    font-size: 16px;
+    color: #1d1d1d;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .spa i {
+    font-size: 14px;
+    color: #686868;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .spa i em {
+    color: #2CB7CA;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul {
+    flex: 1;
+    overflow-y: scroll;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .lis-cont .dots {
+    position: absolute;
+    left: 28px;
+    top: 7px;
+    width: 6px;
+    height: 6px;
+    background: #fb483d;
+    border: 1px solid #ffffff;
+    border-radius: 50%;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li {
+    padding: 12px 24px!important;
+    box-shadow: 0px -1px 0px 0px rgb(0 0 0 / 5%) inset;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li:hover {
+    cursor: pointer;
+    background: #f5f6f7;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont {
+    position: relative;
+    display: flex;
+    flex-direction: initial;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont img {
+    width: 32px;
+    height: 32px;
+    margin: 4px 12px 0 0;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis {
+    width: 100%;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis .title {
+    display: flex;
+    flex-direction: initial;
+    justify-content: space-between;
+    font-size: 14px;
+    color: #1d1d1d;
+    line-height: 22px;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis .title span {
+    height: auto;
+    text-align: left;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis .title span:nth-child(2) {
+    font-size: 12px;
+    color: #999;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis p {
+    font-size: 13px;
+    color: #686868;
+    line-height: 20px;
+    margin-top: 4px;
+    text-align: left;
+    word-break: break-all;
+}
+#public-nav .iner .jynav li .no-datas {
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    margin-top: 18px;
+}
+#public-nav .iner .jynav li .no-datas img {
+    width: 200px;
+    height: 200px;
+}
+#public-nav .iner .jynav li .no-datas .tip-text p {
+    color: #999;
+    font-size: 14px;
+    line-height: 22px;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-foot {
+    padding: 12px 0;
+    display: flex;
+    justify-content: center;
+    box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.05) inset;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-foot a {
+    font-size: 16px;
+    color: #1d1d1d;
+    line-height: 24px;
+}
+#public-nav .iner .jynav li .jy-list-msg .msg-par .m-foot a:hover {
+    color: #2CB7CA;
+}
+#public-nav .iner .jynav li .jynav-list span.active a{
+    color: #2CB7CA;
+}
+#public-nav .iner .jynav li .jynav-list span a{
+    color: #1D1D1D;
+    font-size: 14px;
+}
+#public-nav .iner .jynav li .jynav-list span a:hover{
+    color: #2CB7CA;
+    font-size: 14px;
+}
+#public-nav .iner ul.jynav.hover li:not(.hover) > a {
+    color: #fff;
+}
+#public-nav[data-theme="light"]{
+    background: #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: none;
+}
+/* light theme */
+#public-nav[data-theme="light"] .badge-box.badge--new,
+.badge-box.badge--new{
+    background: #FF3A20;
+    color: #fff;
+}
+#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: #EFC197;
+}
+#public-nav[data-theme="dark"] .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;
+}
+.public-nav .iner .jynav li {
+    width: auto;
+    min-width: 75px;
+}
+
+/* 绑定手机号头部样式 */
+.bind-phone-head{
+    padding: 12px 0 24px;
+    width: 100%;
+    text-align: center;
+}
+.bind-phone-head .bind-phone-title{
+    color: #1D1D1D;
+    font-size: 16px;
+    line-height: 24px;
+    letter-spacing: 0px;
+}
+.bind-phone-head .bind-phone-tip{
+    margin-top: 6px;
+    color: #999999;
+    font-weight: regular;
+    font-size: 12px;
+    line-height: 20px;
+    text-align: center;
+
+}
+.bindphonebtn:disabled{
+    background: #2CB7CA;
+    opacity: 0.5;
+}
+.bindphonebtn{
+    background: #2CB7CA;
+    opacity: 1;
+    border: 1px solid #2CB7CA;
+}
+/* 解决方案样式 */
+#public-nav .iner .jynav li .jynav-list .navDX {
+    padding-left: 24px;
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    width: 150px;
+    height: 90px;
+    opacity: 1;
+    border-radius: 4px;
+}
+#public-nav .iner .jynav li .jynav-list .navDX:hover{
+    cursor: pointer;
+    background: rgba(44,183,202,0.08);
+}
+#public-nav .iner .jynav li .jynav-list .navDX:hover a{
+    color: #2CB7CA;
+}
+.public-nav .iner .jynav li .navDX>a{
+    display: initial;
+}
+#public-nav .useronline{
+    height: 50px;
+    margin-left: 20px;
+}
+
+@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
+    /* IE10+ CSS styles go here */
+    .text-gradient::after {content: none !important;}
+    .page--big--index [data-text].text-gradient::after {content: none !important;}
+}
+
+#bidLogin .login-dig-footer-box[data-name='bind-phone'],
+#bidLogin .login-dig-tabbar-navbar[data-name='bind-phone'] {
+    display: none;
+}
+
+#bidLogin[data-name='bind-phone'] .login-dig-footer-box,
+#bidLogin[data-name='bind-phone'] .login-dig-tabbar-content[data-name='pass'],
+#bidLogin[data-name='bind-phone'] .login-dig-tabbar-navbar {
+    display: none;
+}
+#bidLogin[data-name='bind-phone'] .login-dig-footer-box[data-name='bind-phone'],
+#bidLogin[data-name='bind-phone'] .login-dig-tabbar-content[data-name='code'],
+#bidLogin[data-name='bind-phone'] .login-dig-tabbar-navbar[data-name='bind-phone'] {
+    display: block !important;
+}
+#bidLogin[data-name='bind-phone'] .login-dig-tabbar-content[data-name='code'] {
+    margin-top: 24px;
+}
+
+.f-box {
+    display: flex;
+    flex-direction: row;
+    align-items: center;
+    justify-content: space-between;
+}
+.go-register {
+    display: inline-block;
+    color: #2CB7CA;
+    font-size: 14px;
+    line-height: 24px;
+    margin-left: 112px;
+    margin-top: 12px;
+    text-align: center;
+}
+#public-nav form{
+    display: flex;
+    height: 64px;
+    align-items: center;
+}
+.super-vip::after {
+    content: "升级";
+    display: inline-block;
+    width: 46px;
+    height: 18px;
+    background: #ff3a20;
+    border-radius: 9px;
+    font-size: 12px;
+    color: #ffff;
+    position: absolute;
+    right: 0px;
+    top: 8px;
+    text-align: center;
+    line-height: 18px;
+}
+.recruit {
+    margin-left: -14px;
+    word-break: keep-all;
+}
+.nav-text {
+    position: relative;
+}
+.nav-text .dot-red {
+    position: absolute;
+    top: 20px;
+    right: -4px;
+}
+.dot-red {
+    display: inline-block;
+    width: 5px;
+    height: 5px;
+    background-color: #ff3a20;
+    border-radius: 50%;
+}

+ 510 - 0
src/web/staticres/public-pc/css/pc-bottom.css

@@ -0,0 +1,510 @@
+/*--S-底部浏览器兼容性提醒相关样式--*/
+.jy_compatibility_tips{
+  width: 780px;
+  height: 80px;
+  opacity: 1;
+  /* background: linear-gradient(180deg,#f4fffe, #ffffff 100%); */
+  /* background:rgba(255,255,255,1); */
+
+  background: -moz-linear-gradient(180deg,#f4fffe, #ffffff 100%);
+  background: -webkit-gradient(180deg,#f4fffe, #ffffff 100%);
+  background: -webkit-linear-gradient(180deg,#f4fffe, #ffffff 100%);
+  background: -o-linear-gradient(180deg,#f4fffe, #ffffff 100%);
+  background: -ms-linear-gradient(180deg,#f4fffe, #ffffff 100%);
+  background: linear-gradient(180deg,#f4fffe, #ffffff 100%);
+  filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#f4fffe', endColorstr='#ffffff',GradientType=0 );
+
+  border-radius: 12px;
+  box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.16);
+  position: fixed;
+  left: 50%;
+  transform: translateX(-50%);
+  bottom: 80px;
+  z-index: 999;
+  padding:0 38px;
+}
+.jy_compatibility_tips_left{
+  opacity: 1;
+  font-size: 16px;
+  font-weight: 400;
+  color: #1d1d1d;
+  line-height: 24px;
+  position: absolute;
+  top: 50%;
+  left: 38px;
+  transform: translateY(-50%);
+}
+.jy_compatibility_tips_right{
+  height: 100%;
+  margin-left: 27px;
+  position: absolute;
+  top: 50%;
+  right: 38px;
+  transform: translateY(-50%);
+}
+.logo_wrap{
+  float: left;
+  margin-left: 42px;
+  position: relative;
+  top: 50%;
+  transform: translateY(-50%);
+}
+.jy_compatibility_tips_right .logo_wrap:first-child{
+  margin-left:0 ;
+}
+.logo_wrap img{
+  width: 36px;
+  height: 36px;
+}
+.logo_wrap span{
+  display: block;
+  opacity: 1;
+  font-size: 12px;
+  font-weight: 400;
+  color: #686868;
+  line-height: 20px;
+  text-align: center;
+}
+.tips_none{
+  display: none;
+  /* opacity: 0; */
+}
+
+/*--S-侧边样式--*/
+/* 对勾 */
+.icon-tick {
+  width: 24px;
+  height: 24px;
+  margin: 0 auto;
+  background-size: 100% 100%;
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMpSURBVHgB7ZpNTttAFMffTKBV6YIcgU2lEKkivgEmUqWuWk5AOEHFCQg3oCcATpDuKrVF7g2cUClB6iZHyIqqbeLpvHxQPjzOjDMzAfN+mxiPLZGfPDPv/xwAgiAIgiAIgiAIgiAIgiAIXRg8ATZacflluXQIQjTwbyHYpys+OuiHwWDevSvwBHixXmoJIbavTzDRWEtKeLQ/714OBacaXZwwuCFnBhPvNW4vtqBq1LmeVncRAHOnF1JYQRM50FSNMwFnoEEhF+l5cuTYUbe+1QQNCidoM+p8kE/HsfICAzlIoQRVos4eF3CqGpfrzllvZ6sBBhRGUPVLXGMrPJISymnj8nxbygnAkEIs0pXP8cY8Ob9YEkIOHr0glMOfZ8rpC5bs6lTNaWhPscrXeJvx0js8Ho5GZz/fBG1YMjM58nAjbXwqJ7wMgz7kREtQ9TxuAOMnt+/kzW74+giWhA85iN4UY/zw3jmRNKvRj0NYAhg+pZwWKORIBjbkILprUOr8XpYkDJ/yo6a8wJIcREuQDHvq9cazJGX4nJKIZL8b2lsftQStMrErP7IlnV+cgGOywuf43xDJwWU9OAWLaAlqyy3y2aSOUEuSPRaXknTyVa8eHINljCvpzW+dU8ZhL+OS9pWUmbfuSMNm+DQlV9TwKcl2+DQldxaTtVEzdfv/Tz/5LXeTt/l3Exfh05SFwqpLSRg+YYXHqnEB4ntvp5YrX5mwUBbr1oOm3MGyqulxtYtVLxgwC5+q8Un4HO+szlk4rNqW5Dp8mmKtH2RjuvnKVyZYbZhVZKjld0PtbQZ/h0mY1gl4iHIQq/0grGKx1M+4pLwq15ZXuADfwGf4NMV6w2xc6g8TbG2q1giUFOMWPjuxtj5+clThcwBLkoM460lPt2n84mXVNQmDBge2nZWv8Im0na9McNq0r0RyuxY8YuqpkwmGTxf5ygSnPWmcFrh24AILpjgKn6Z4ee1j/CQ5zlcmeHsvpi3pAclBvL44nCfJR/g0xfub1VoUl/+I+9u6r/BpivcXh7PupIAEf36CtdJACPjoK3wSBEEQBEEQBEEQBEEQBEG44x/qVZ39mGkA4AAAAABJRU5ErkJggg==);
+}
+
+/* 对勾 */
+.icon-close {
+  width: 20px;
+  height: 20px;
+  margin: 0 auto;
+  background-size: 100% 100%;
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADRSURBVHgB7dZRCoMwEEXRRzfa7KTdSWdnXcpUIYKEGs3kTQYkF/zShPNjJsBsNrt5qvpcng/IrXuue6OnjNuiITNuy4YscDRkgbMjl0Wi/zMjD3BrAktMJB3HRLrhGEh3XA9yGM6CHI5rQYbhLiBf4bgLyHhcI1IQ2QlS0NkD/X0r7xSRVX6IffSrGhMXg6zg3upwC2LhZPdNDFIbDuHhSDVMiGFI7Rhf7kglzFY3JAPnhmTiXJDLosTEnSATLBVIAakCmdBTRgrIZWTCbDa7eT9Dv+U/i+afwgAAAABJRU5ErkJggg==);
+}
+
+/* 客服 */
+.icon-customer {
+  width: 56px;
+  height: 56px;
+  margin: 0 auto;
+  background-size: 24px 24px;
+  background-repeat: no-repeat;
+  background-position: center center;
+  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARUSURBVHgB7Vi9bhs5EJ7dBLCt5nRPcHtdzlfENuz6drvr7HTXWW78AxeWn8BxeZV1gAH/FZGfwHF9SLRlCgNWUqXLpksppAhswBbzjUIqFENKuxKDpNgPIJbLXXK+4c/McIhKlChR4kciIE+o1+vVm5ubuSAIlvEad7vdCPUqfxNCdFBvo5rheXl0dPScPGFiBSTxHZCsK8I5kKGkKPvHx8cZTYAHNAE2NjZ27u7unoP43yjTBbqyonMoK0tLS8HV1dUrGhNjrYCc9QNUa+QHzenp6d1Go9GhgiisAJO/vb1tYcvMmd/kXj/H/k/DMGyr7bG5uRnhwaWG8pesDxLBGZmamkqKKvGQCsJGXhL/b2ZmpmEjIBXhkvL71tZWHUru6WeGx+SxUZ2nAii0AhB8wId1YADMHNqeFD2MclWYcKS3Y6zGycnJLuVEbgXW19dXsC0uBjqPuewKtVqtiv4tjGNuxwQTkuYZI6ScAPkDoynjmR+XPKPZbHawbRL6sr10PKOcyKUAlrtG3x68ZFIbzmAl8FgzmiMpcyTyrsCqKdcHeQW5Xc5HyLRipALysMVG8z75x1PjPd7e3v5tVKehCrDNx2PPaM7oO4HNsf4OL9+QE+iE0wq5zJxERp7OwKSynCuA2bhwDEiyvUX+4CKvZDmtklUBzEhs2GaegQDe84m2zGwpYpoQ7F/oK/lMyaJByxS7ZFkVANE+eRC+VE7l9PSUI0/dWsQ0IeBf9Inqy8KzSYOWKbL2dwzaj1HkRUTH2I4rB8yxM60e2Trk9sQ/K0oFFGZbr/dmX74Wf754c+D654+Xb1qj/ikKfysgvnhSEYj6o/+vY/Pz7IvrWkAiVv+QJxS+0LgAcqmgIOZ6+CC8AOHdTx+pl32oVB/uBKJbF/2fRZM8waVAptXNeMSaebgPxFoogmv5vUpB+Kzyi3RAokuKvOAwnIQrlhoYGxbwMcy4qlutX5hDgZoKbaUzWVYf4C/6JvZtMp/RXTcRQ2KlHvmgm/T+/YpUI7wqHVtPFsiv9PsK0baNOSwWYvcekxsZnM3vZuOj1nUUdGmFyWB46aQgHA7xU0iNLJnvWGS9I3co0fNFSIZZ78rDzgC78qEBlq2TnN2GLHmRDJPFNz9XR2diC8mmzuLi4iWqv5Lc1zL7cIL6ls8LDctaWFh4j7H/UW1S1r/IF60dHh5+cPX1lhtV4NAYgjnVaDvs78lym5P7/UJLs/D3XOG6VwWQdlkFkeawf9ia4KKSnJ2dtWWSbM9I1WRU4K7hTQF5KXmX519WgvM/loRwRgUvSt4cGUwq5410IjZbz9fTSG6vpyCvf0tR1oqeLW8K6CE4cC7j+QFgiy2DfKS38WFF332YySJWqw+fK9BRK8CHGKn3x6b31B0TkKLPZaVSaU6SHPN2BjhNCJPHoUSU43erExwH3qJRmWGzpQlNpORwguPAux9gyJgpMtvv7+/bbD6pRIkSJRQ+A3PvAW69H84gAAAAAElFTkSuQmCC);
+}
+
+.icon-customer.white {
+  background:url(/images/pc/slide_kefu.png) no-repeat center center;
+  background-size:56px;
+  /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKXSURBVHgB7ZiLcdswDEDhXgbwBuUG8QjqBPUGdSaIN7A6gbOB1AncTCBvYG8gdQJ7AxQ4kTkcReoTQ05yx3eHM02KIPgDSAIkEonER7IAJRBxST8rkp8kGYkhWdriK8mZpCF5XSwWf+GzwIaT7EguOJ6apCAx8JGQAc8TDQ91ZAv3xo56gXoU2C7Buxl/ihjCs/FCskaxPDhNkpGUdtRDnO7SiYjxbHg+1gD6bovhpXeCOaEG9pGRMzAROyt1QN8e5sAuC9Vpx/hyzECbwGjVqOAGbSc6ukETUrgJjJIBJbDd4D4b0IKUVZ7yApTB1kNJKtAA28022+gPtPN9qN63AaW8QXdedgPzcfX+v7x7sDDu5hCVNvCsbWE82r4pBiV6jHdM2w/Y9QqZzedYcPHzbzR+7Y12ZvM3IRt8YntgJdJ8fj9ywp7j/4iyDG4n1lbptWVClWMdkNH17JVdYT583Y1Im1CFXi/0FUgdcGB7rWT2Pd9UQ99MRXMGcvu7DXkMbM82Ll/tGqnZgaNIH6wbXFrhaC5HvQQlHiL5jUj755HY+f+J5GTLWQorId2/Izp83Y8iPd77BQLZRuTXIn/t1Vthf1TlMtPT1sXpxEgwndKJCvupI/X4XMP7QB5FOJ1j5PaGw0eJ6Xdl/OqHOaG4FMrds4kBZbB75x710qH2NioMMfTzDOHN/o+kpHNO49XJ6Ocg6nD5D/+72SFDfuEwPLIr+z272L3akrnReIPj4U7ssPu4VU81/gH0kC61gbCv54BmoF0quVd2JHm6+7Jx2A3nyCPfHCKz8e6jheYMyEjJz+6P0I2ecpaOJK/Qbuo57xjjwPALWwzdlzctsD8gOSpU9DLqcYDB1q+bQNGZlssZEolEwvEf7G8VfkMza2MAAAAASUVORK5CYII=); */
+}
+
+/* 上箭头 */
+.icon-arrow--up {
+  width: 56px;
+  height: 56px;
+  margin: 0 auto;
+  background-size: 56px;
+  background-repeat: no-repeat;
+  background-position: center center;
+  background-image: url(/images/pc/slide_arrow_grey.png);
+  /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEnSURBVHgB7ZbNrYJAFEaH9zYuLQb6sAN1ydIOtAN3sFP7YaEdaAdWAF4TvsQQZgTmXnXxnYSQYfg5BzIJzhFCCCGEEPItEmdEnufLuq73SZLcZdsWRXFyBvw7A57yTdMcRXwmw7lsiyzLrlVVXZwy6gGQ75kyiVANCMgD9Qi1gAHyQDVCZREH5Nft/tCdkPWx0ljY0V8gJF+W5VHe9DlN05uMF515lS8RFfBOHgPLiMkBQ+WBVcSkgLHywCJidMBUeaAdMSogVh5oRgwO0JIHWhGDArTlgUbE2wAreRAbEQywlgcxEd6AT8mDqRF/vhuK/LbnsIk8aO+97pna+64JBcw7h0zlQV+EuNx953sD5G9xI7tre/FH5MFLBJ6/c4QQQgghhPwcD62mJ887e9SSAAAAAElFTkSuQmCC); */
+}
+
+.icon-arrow--up.white {
+  background-image: url(/images/pc/slide_arrow.png);
+  /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC5SURBVHgB7ZdRDoMgEAX3pvXmHMEjUBv5eDGtSgvL0swkJH7I7swnZgAAAAAAf0fO+bGddTvp9W0zUeSPzBHxQX6OiAv52BE35WNGnMgv5cSNOJOXf2JG3JGXf2NF1MjLnRgR38jL3bERv8jLjDERLeRllm9ES3mZ6RPRQ15m943oKS87+kR4yMuuthGe8rKzXUTeHyJu8rL3XcRqteT9NeUqL7uPEclqKUNSCVnMmdH7AQAAAACueQIAR4pmNbCOwAAAAABJRU5ErkJggg==); */
+}
+
+.right-side-box {
+  display: -ms-flexbox;
+  display: flex;
+  -ms-flex-direction: column;
+  flex-direction: column;
+  -ms-flex-align: center;
+  align-items: center;
+  -ms-flex-pack: center;
+  justify-content: center;
+  border: none;
+  box-sizing: border-box;
+  position: fixed;
+  z-index: 100;
+  min-width: 56px;
+  bottom: 108px;
+  left: initial;
+  right: 16px;
+  transition: all 0.75s;
+}
+
+
+.right-side-box .hover-open-box {
+  position: absolute;
+  top: 0;
+  right: 0px;
+  height: 100%;
+  box-sizing: border-box;
+  display: -ms-flexbox;
+  display: flex;
+  -ms-flex-direction: row;
+  flex-direction: row;
+  -ms-flex-align: center;
+  align-items: center;
+  -ms-flex-pack: start;
+  justify-content: flex-start;
+  cursor: pointer;
+  border: none !important;
+}
+
+.right-side-box .hover-open-box span {
+  display: block;
+  margin-left: 8px;
+  color: #FFFFFF;
+  font-size: 14px;
+  line-height: 24px;
+  -ms-flex-negative: 0;
+  flex-shrink: 0;
+}
+
+.right-side-box .icon-customer,
+.right-side-box .icon-arrow--up {
+  box-sizing: content-box;
+  cursor: pointer;
+}
+
+.right-side-box .icon-customer.white,
+.right-side-box .icon-arrow--up.white {
+  /* padding: 12px; */
+}
+
+.right-side-box > .right-side-item .text-customer {
+  font-size: 13px;
+  line-height: 16px;
+  height: 56px;
+  text-align: center;
+  color: #1D1D1D;
+  margin-left: 0;
+}
+.right-side-box .right-side-phone{
+  height: 56px;
+  margin: 6px 0;
+  position: relative;
+}
+.right-side-box .right-side-pop::before{
+  content: "客服热线:400-108-6670";
+  position: absolute;
+  left: -200px;
+  top: 4px;
+  display: none;
+  width: 189px;
+  height: 48px;
+  background: #2cb7ca;
+  border-radius: 8px;
+  color: #fff;
+  line-height: 48px;
+  font-size: 14px;
+  text-align: center;
+}
+.right-side-box .right-side-pop::after{
+  content:'';
+  position: absolute;
+  left: -12px;
+  top: 22px;
+  display: none;
+  width: 0;
+  height: 0;
+  border-top: 6px solid transparent;
+  border-left: 8px solid #2cb7ca;
+  border-bottom: 6px solid transparent;
+}
+.right-side-box > .right-side-item .text-customer img,.right-side-box  .right-side-phone .text-customer img{
+  width: 56px;
+}
+.right-side-box .right-side-phone .text-customer-hover{
+  display: none;
+}
+.right-side-box .right-side-pop:hover .text-customer{
+  display: none;
+}
+.right-side-box .right-side-pop:hover::after,.right-side-box .right-side-pop:hover::before{
+  display: block;
+}
+.right-side-box .right-side-pop:hover .text-customer-hover{
+  display: inherit;
+}
+.right-side-box .right-side-wx:hover .slidePop{
+  display: block;
+}
+.right-side-box .right-side-wx:hover .text-customer{
+  display: none;
+}
+.right-side-box .right-side-wx:hover .text-customer-hover{
+  display: inherit;
+}
+.right-side-box .right-side-wx .slidePop{
+  display: none;
+  position: absolute;
+  left: -134px;
+  top: 0;
+  width: 120px;
+  height: 148px;
+  background: #ffffff;
+  border-radius: 8px;
+  box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.16);
+}
+.right-side-box .right-side-wx .slidePop::before{
+  content:'';
+  position: absolute;
+  right: -8px;
+  top: 22px;
+  display: block;
+  width: 0;
+  height: 0;
+  border-top: 6px solid transparent;
+  border-left: 8px solid #fff;
+  box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.16);
+  border-bottom: 6px solid transparent;
+}
+.right-side-box .right-side-wx .slidePop img{
+  border-radius: 8px;
+  width: 120px;
+}
+.right-side-box .right-side-wx .slidePop  p{
+  font-size: 14px;
+  text-align: center;
+}
+
+.right-side-box > .right-side-item:last-child {
+  margin-bottom: 0;
+}
+.right-side-box > .right-side-item {
+  width: 100%;
+  position: relative;
+  height: 56px;
+  margin:6px 0;
+  box-sizing: border-box;
+}
+
+
+.right-side-box > .right-side-item .white {
+  display: none;
+}
+
+.right-side-box > .right-side-item span {
+  display: none;
+}
+
+.right-side-box > .right-side-item .hover-open-box {
+  border-top-width: 0;
+  border-bottom-width: 0;
+  border-radius: 0;
+}
+
+.right-side-box > .right-side-item.fix-b-w .hover-open-box {
+  border-bottom-width: 1px;
+  border-bottom-right-radius: 4px;
+  border-bottom-left-radius: 4px;
+}
+
+.right-side-box > .right-side-item:first-child .hover-open-box {
+  border-top-right-radius: 4px;
+  border-top-left-radius: 4px;
+  border-top-width: 1px;
+}
+
+.right-side-box > .right-side-item:first-child .hover-open-box:hover {
+  border-bottom-left-radius: 4px;
+}
+
+.right-side-box > .right-side-item:first-child::before {
+  content: none;
+}
+
+.right-side-box > .right-side-item:last-child .hover-open-box {
+  border-bottom-right-radius: 4px;
+  border-bottom-left-radius: 4px;
+  border-bottom-width: 1px;
+}
+
+.right-side-box > .right-side-item:last-child .hover-open-box:hover {
+  border-top-left-radius: 4px;
+}
+
+.right-side-box > .right-side-item:only-child .hover-open-box {
+  border-top-width: 1px;
+  border-bottom-width: 1px;
+  border-radius: 4px;
+}
+
+.right-side-box > .right-side-item:hover .hover-open-box {
+  z-index: 3;
+}
+
+.right-side-box > .right-side-item:hover .white {
+  display: inherit;
+}
+
+.right-side-box > .right-side-item:hover .white + div {
+  display: none;
+}
+
+.right-side-box > .right-side-item:hover span {
+  display: inherit;
+  color: white;
+}
+
+@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
+  .right-side-box > .right-side-item:hover .hover-open-box {
+    background: inherit;
+    border: 1px solid #ECECEC;
+    z-index: inherit;
+  }
+  .right-side-box > .right-side-item:hover .white {
+    display: none;
+  }
+  .right-side-box > .right-side-item:hover .white + div {
+    display: inherit;
+  }
+  .right-side-box > .right-side-item:hover span {
+    display: none;
+  }
+}
+#zc__sdk__sys__btn {
+  display: none !important;
+}
+.icon-badge-number {
+  position: relative;
+}
+.white.icon-badge-number::before {
+  top: 7px;
+  right: 5px;
+}
+.icon-badge-number::before {
+  content: attr(data-badge-number);
+  position: absolute;
+  top: -7px;
+  right: 2px;
+  font-size: 11px;
+  line-height: 15px;
+  min-width: 15px;
+  color: #fff;
+  background: #FB483D;
+  padding: 0 4px;
+  display: inline-block;
+  text-align: center;
+  white-space: nowrap;
+  border-radius: 40px;
+  box-sizing: border-box;
+}
+.right-side-box  .back-to-up{
+  background-color: #b5b6ba;
+  border-radius: 50%;
+  width: 56px;
+  display: none;
+}
+.right-side-box .back-to-up .hover-open-box{
+  /* width: 52px !important; */
+}
+.right-side-box  .back-to-up:hover{
+  background: #2cb7ca;
+}
+.help-slide{
+  position: absolute;
+  left: -210px;
+  top: -29px;
+  width: 200px;
+  background: #ffffff;
+  border-radius: 8px;
+  box-shadow: 0px 0px 28px 0px rgb(0 0 0 / 16%);
+  z-index: 100;
+}
+.help-slide-top{
+  text-align: center;
+  line-height: 54px;
+  color: #1d1d1d;
+  font-size: 14px;
+  border-bottom: 1px solid #ececec;
+}
+.help-slide-bottom{
+  position: relative;
+  padding: 0 12px;
+  height: 38px;
+}
+.help-slide-kf,.help-slide-zx{
+  display: inline-block;
+  font-size: 14px;
+  color: #2cb7ca;
+  padding-left: 20px;
+  line-height: 38px;
+  cursor: pointer;
+}
+.help-slide-kf{
+  float: left;
+  background: url('{{print (Msg "seo" "cdn") "/images/kfrx.png?v=" (Msg "seo" "version")}}') no-repeat left center;
+  background-size: 16px 16px;
+}
+.help-slide-zx{
+  position: relative;
+  float: right;
+  background: url('{{print (Msg "seo" "cdn") "/images/zxzx.png?v=" (Msg "seo" "version")}}') no-repeat left center;
+  background-size: 16px 16px;
+}
+.help-slide-bottom::after{
+  position: absolute;
+  content: '';
+  height: 38px;
+  width: 1px;
+  background-color: #ececec;
+  top: 0;
+  left: 49%;
+}
+.help-close{
+  position: absolute;
+  top: 4px;
+  right: 4px;
+  width: 18px;
+  height: 18px;
+  box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.08);
+  cursor: pointer;
+  opacity: 0.5;
+}
+.kf-phone{
+  display: none;
+  position: absolute;
+  left: 10px;
+  top: 101px;
+  width: 189px;
+  height: 48px;
+  background: #2cb7ca;
+  border-radius: 8px;
+  color: #fff;
+  line-height: 48px;
+  font-size: 14px;
+  text-align: center;
+}
+.kf-phone::after{
+  content:'';
+  position: absolute;
+  left: 32px;
+  top: -6px;
+  width: 0;
+  height: 0;
+  border-left: 6px solid transparent;
+  border-bottom: 8px solid #2cb7ca;
+  border-right: 6px solid transparent;
+}
+.right-side-box .right-side-pop:hover::after .kf-phone{
+  display: none;
+}
+#sideIcon {
+  position: absolute;
+  top: -108px;
+  right: 0;
+}
+/*--E-侧边样式--*/

+ 2496 - 0
src/web/staticres/public-pc/js/article-content.js

@@ -0,0 +1,2496 @@
+if(goTemplateData.params.obj.subtype=="中标"||goTemplateData.params.obj.subtype=="成交"||goTemplateData.params.obj.subtype=="合同"){
+  $('.bid_dev').hide()
+} else {
+  $('.bid_dev').show()
+}
+var keys = goTemplateData.params.obj.purchasing
+var bidNode = {
+  el: '#tab2',
+  data: {
+    bidnum: 0,
+    dialogVisible: false,
+    showClose: false,
+    optionType: 'hover',
+    bidinfo: {},
+    ruleForm: {
+      name: '',
+      region: '',
+      phone: '',
+      company: ''
+    },
+    rules: {
+      name: [
+        { required: true, message: '请输入活动名称', trigger: 'blur' },
+        { min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
+      ],
+      phone: [
+        { required: true, message: '请输入手机号', trigger: 'blur' },
+        { min: 11, max: 11, message: '请输入正确格式的手机号', trigger: 'blur' }
+      ],
+      company: [
+        { required: true, message: '请输入公司名称', trigger: 'blur' },
+        { min: 1, message: '长度在 3 到 5 个字符', trigger: 'blur' }
+      ],
+      region: [
+        { required: true, message: '请选择职位', trigger: 'change' }
+      ],
+    },
+    buyerInfo: {},
+    winnerInfo: {}
+  },
+  created () {
+    this.getBidInfo()
+    // 判断大会员权限
+    let bidPower = sessionStorage.getItem('bidPower')
+    if(bidPower) {
+      bidPower = JSON.parse(bidPower)
+      if(bidPower.indexOf(6) != -1) {
+        this.optionType = ''
+      }
+    }
+    //console.log('大会员'+ goTemplateData.params.isMember, '超级订阅:'  + goTemplateData.params.isVip,'商机管理:' + goTemplateData.params.isEntniche)
+    if(goTemplateData.params.obj.entId) {
+      this.getWinnerFreeData()
+    }
+    if (goTemplateData.params.obj.buyer) {
+      this.getBuyerFreeData()
+    }
+  },
+  methods: {
+    onFree(){
+      this.dialogVisible = true
+    },
+    getBidInfo: function () {
+      let kds = this.getQueryVariable('kds')
+      let keyArr = []
+      if(kds) {
+        let buyerObj = {
+          "key": [kds],
+          "addKey":[],
+          "notKey":[]
+        }
+        keyArr.push(buyerObj)
+      } else if(keys) {
+        if(keys.indexOf(",") != -1) {
+          keys = keys.split(',')
+        } else if(keys.indexOf("+") != -1) {
+          keys = keys.split('+')
+        } else {
+          keys = keys.split(' ')
+        }
+        keys.forEach(function(item) {
+          let buyerObj = {
+            "key": [item],
+            "addKey":[],
+            "notKey":[]
+          }
+          keyArr.push(buyerObj)
+        })
+      } else {
+        this.bidnum = 2
+        return
+      }
+      bidarea = {
+        [goTemplateData.params.obj.area]: [goTemplateData.params.obj.city]
+      }
+      let params = {
+        buyerContent: keyArr,
+        sid: goTemplateData.params.obj._id,
+      pname: goTemplateData.params.obj.projectname,
+      area: bidarea,
+        industry: goTemplateData.params.obj.s_subscopeclass
+      // buyerClass:goTemplateData.params.obj.buyerclass
+    }
+      let _this = this
+      $.ajax({
+        type: 'POST',
+        url: '/bigmember/decision/freeDecInfo',
+        contentType: "application/json",
+        data:JSON.stringify(params),
+        success: function(res) {
+          // console.log(res)
+          if(res.error_code == 0) {
+            if(res.data.all_counts == 0) {
+              _this.bidnum = _this.bidnum + 1
+            }
+            if(res.data.all_money == 0) {
+              _this.bidnum = _this.bidnum + 1
+            }
+            if(res.data.all_review_experts == 0) {
+              _this.bidnum = _this.bidnum + 1
+            }
+            if(res.data.all_winners == 0) {
+              _this.bidnum = _this.bidnum + 1
+            }
+            res.data.all_money = _this.formatNumber(res.data.all_money)
+            _this.bidinfo = res.data
+          }
+        }
+      })
+    },
+    formatNumber(num) {
+      num = Number(num);
+      if (num == 0) {
+        return num + '';
+      } else if (num > 1 && num < 10000) {
+        return num + '';
+      } else {
+        // console.log(num/10000)
+        return (num / 10000).toFixed(2);
+      }
+    },
+
+    // 免费体验
+    freeUse: function() {
+      this.checkLogin()
+      this.sourceLogAjax('pc_analysis_detail_free')
+      vmbid.isNeedSubmit('pc_analysis_detail_free', function() {
+        vmbid.showSuccess = true
+      })
+      $('.el-popover.el-popper').hide()
+    },
+    checkLogin: function () {
+      var moduleOpen = $('body').hasClass('modal-open')
+      if (moduleOpen) return
+      if (!loginflag) {
+        $("#bidLogin").modal("show");
+      }
+    },
+    sourceLogAjax (source) {
+      $.ajax({
+        type: 'get',
+        url: '/front/portraitClassify?source=' + source,
+        success: function(res) {
+          // console.log(res)
+        }
+      })
+    },
+    onlineQue: function() {
+      $('.help-slide-zx.open-customer').trigger('click')
+      this.sourceLogAjax('pc_analysis_detail_kf')
+    },
+    getQueryVariable(variable){
+      var query = window.location.search.substring(1);
+      var vars = query.split("&");
+      for (var i=0;i<vars.length;i++) {
+        var pair = vars[i].split("=");
+        if(pair[0] == variable){
+          return decodeURIComponent(pair[1]);
+        }
+      }
+      return(false);
+    },
+    linkroute: function() {
+      let bidPower = sessionStorage.getItem('bidPower')
+      if(bidPower) {
+        bidPower = JSON.parse(bidPower)
+        if(bidPower.indexOf(6) != -1) {
+          location.href = '/swordfish/page_big_pc/analysis_result?sid=' + goTemplateData.params.obj._id
+        }
+      }
+    },
+    handleClose(done) {
+      this.$confirm('确认关闭?')
+        .then(_ => {
+          done();
+        })
+        .catch(_ => {});
+    },
+    submitForm(formName) {
+      this.$refs[formName].validate((valid) => {
+        if (valid) {
+          alert('submit!');
+        } else {
+          this.$confirm('我们会尽快联系您并预约演示时间,请耐心等待~您将获得免费体验大会员全部功能!', '提交成功', {
+            confirmButtonText: '我知道了',
+            center: true,
+            customClass: 'getbigmember',
+            showClose: false,
+            showCancelButton: false
+          }).then(() => {
+          }).catch(() => {
+          });
+          console.log('error submit!!');
+          return false;
+        }
+      });
+    },
+    resetForm(formName) {
+      this.$refs[formName].resetFields();
+    },
+    // 采购单位画像免费数据
+    getBuyerFreeData: function() {
+      if (goTemplateData.params.isVip || goTemplateData.params.isMember || goTemplateData.params.isEntniche){
+        return
+      }
+      var _this = this
+      $.ajax({
+        type: 'POST',
+        url: '/bigmember/portrait/buyer/miniData',
+        data: {
+          buyer: goTemplateData.params.obj.buyer
+    },
+      success: function(res) {
+        if (res.data) {
+          if (!res.data.province && !res.data.city) {
+            res.data.province = '--'
+          }
+          if (!res.data.buyerclass) {
+            res.data.buyerclass = '--'
+          }
+          if (!res.data.biddingCount) {
+            res.data.biddingCount = '--'
+          }
+          if (!res.data.contactCount) {
+            res.data.contactCount = '--'
+          }
+          if (!res.data.project_count) {
+            res.data.project_count = '--'
+          }
+          if (!res.data.bidamount_count) {
+            res.data.bidamount_count = '--'
+          } else{
+            var unit = moneyUnit(res.data.bidamount_count)
+            var reg = /[\u4e00-\u9fa5]/g;
+            var strs = unit.match(reg);
+            unit = strs.join('')
+            res.data.bidamount_count = moneyUnit(res.data.bidamount_count).replace(/[\u4e00-\u9fa5]/g, '')
+            res.data.unit = unit
+          }
+          if (res.data.contactList){
+            res.data.contactList.forEach(function(item,index){
+              if (item.date) {
+                item.date = new Date(Number(item.date + '000')).pattern('yyyy-MM-dd');
+              }
+            })
+          }
+        }
+        _this.buyerInfo = res.data
+      }
+    })
+    },
+    // 中标企业画像免费数据
+    getWinnerFreeData: function() {
+      if (goTemplateData.params.isVip || goTemplateData.params.isMember || goTemplateData.params.isEntniche){
+        return
+      }
+      var _this = this
+      $.ajax({
+        type: 'POST',
+        url: '/bigmember/portrait/winner/miniData',
+        data: {
+          entId: goTemplateData.params.obj.entId
+    },
+      success: function(res) {
+        if (res.data) {
+          if (!res.data.biddingCount) {
+            res.data.biddingCount = '--'
+          }
+          if (!res.data.contactCount) {
+            res.data.contactCount = '--'
+          }
+          if (!res.data.project_count) {
+            res.data.project_count = '--'
+          }
+          if (!res.data.bidamount_count) {
+            res.data.bidamount_count = '--'
+          } else{
+            var unit = moneyUnit(res.data.bidamount_count)
+            var reg = /[\u4e00-\u9fa5]/g;
+            var strs = unit.match(reg);
+            unit = strs.join('')
+            res.data.bidamount_count = moneyUnit(res.data.bidamount_count).replace(/[\u4e00-\u9fa5]/g, '')
+            res.data.unit = unit
+          }
+          if (res.data.contactList){
+            res.data.contactList.forEach(function(item,index){
+              if (item.date) {
+                item.date = new Date(Number(item.date + '000')).pattern('yyyy-MM-dd');
+              }
+            })
+          }
+        }
+        _this.winnerInfo = res.data
+      }
+    })
+    },
+    // 采购单位画像、企业画像留资弹框
+    goCollect: function(source) {
+      $('.el-popover.el-popper').hide()
+      this.sourceLogAjax(source)
+      vm.isNeedSubmit(source, function() {
+        vm.showSuccess = true
+      })
+    }
+  }
+}
+var bidVue = new Vue(bidNode)
+/*--E-*/
+
+
+var isMember = goTemplateData.params.isMember // 大会员
+var isVip = goTemplateData.params.isVip // 超级订阅
+var isEntniche = goTemplateData.params.isEntniche // 商机管理
+var hstShowFlag = false;
+var entProListShowFlag = false;
+var titleCopyDec = "";
+var cHeight = window.screen.height;
+var cWidth = window.screen.width;
+var m1 = 0;     // 滚动的值
+var m2 = 0;     // 对比时间的值
+var m3 = 0;     //滚动开始的值
+var timer = null;
+var scrollflag = true;
+var packageCon = goTemplateData.params.obj.package
+var fwtscode = goTemplateData.params.obj.fwtscode
+var fwtsname = goTemplateData.params.obj.fwtsname
+var s_winner = goTemplateData.params.obj.winner;//
+var dataName = "";
+var dataCont = "";
+var dataCode = "";
+var originalCon = "";
+var originalTitle = "";
+var insertflog = true;
+var heightLight = 0
+var transmit = null;
+var projectName = goTemplateData.params.obj.projectname;
+var title = goTemplateData.params.obj.title//统计标识
+var projectname = goTemplateData.params.obj.projectname//统计标识
+var reg ="";
+var titleCopy ="";
+var tyflag = false;//纠错是否是金额
+var area_ = goTemplateData.params.obj.area;
+var city_ = goTemplateData.params.obj.city;
+var agency_ = goTemplateData.params.obj.agency;
+var projectname_ = goTemplateData.params.obj.projectname;
+var buyer_ = goTemplateData.params.obj.buyer;
+var buyerperson_ = goTemplateData.params.obj.buyerperson;
+var buyertel_ = goTemplateData.params.obj.buyertel;
+var isbid =false; //是否是中标,需要显示所有
+//拟建项目广告
+var nj_adv=["批量导出拟建项目"]
+//招标公告广告
+var zb_adv=[
+  "更多项目联系人、电话批量导出",
+  "采购单位招标数据批量导出",
+  "全面展示行业项目的数据字段"
+]
+//中标公告
+var win_adv=[
+  "中标项目信息字段全面展示",
+  "更多中标项目、业主、联系人数据批量导出",
+  "中标企业数据字段定制化导出"
+]
+//任意类型  --更多数据字段定制化导出,立即查看! 其他都是立即体验
+var any_adv=[
+  "更多数据字段定制化导出",
+  "导出数据,分析市场",
+  "导出数据,分析竞争对手",
+  "导出数据,分析合作伙伴",
+  "导出数据,分析客户"
+]
+
+var count=0;
+if (area_!=""&&area_!=null){
+  count++
+}
+if (city_!=""&&city_!=null){
+  count++
+}
+if (agency_!=""&&agency_!=null){
+  count++
+}
+if (projectname_!=""&&projectname_!=null){
+  count++
+}
+if (buyer_!=""&&buyer_!=null){
+  count++
+}
+if (buyerperson_!=""&&buyerperson_!=null){
+  count++
+}
+if (buyertel_!=""&&buyertel_!=null){
+  count++
+}
+//
+var isNumber = /^[0-9]+$/
+var isLetter = /^[a-zA-Z]+$/
+//
+function isWechat() {
+  var ua = navigator.userAgent.toLowerCase();
+  if(ua.match(/MicroMessenger/i)=="micromessenger"){
+    return true;
+  }else{
+    return false;
+  }
+}
+//
+function recoveryerr(ts,dcd,name){
+  transmit = ts;
+  if(name!=""){
+    dataName=name
+  }else{
+    dataName = $(ts).parent("td").prev("td").text();
+  }
+  if(dcd.indexOf("price")>-1||dcd.indexOf("bidamount")>-1||dcd.indexOf("budget")>-1){
+    tyflag = true;
+  }else{
+    tyflag = false;
+  }
+  dataCont = $(ts).prev().text();
+  dataCode = dcd;
+  var dtcontent = originalCon;
+  $("#fphl").removeClass("fphl");
+  $(".pop-head span").html("输入或选择正确的"+dataName+"并按“复制”");
+  $("#popup").removeClass("pop-up");
+  $("#pop-textarea").val("");
+  $(".pop-botton").css({"background":"#2cbfca"});
+  $(".tab1").addClass("active").siblings().removeClass("active");
+  var newdataCont= dataCont.replace(/\s/g,"&nbsp;")
+  reg = new RegExp(newdataCont+"|"+dataCont);
+  if(dataCont==""||!reg.test(dtcontent)){
+    $("html, body").stop(true,false).animate({
+      scrollTop: $("#tab1").offset().top-40 }, {duration: 500,easing: "swing"});
+  }else{
+    clearup("R");
+    companyAdd();
+    $("html, body").stop(true,false).animate({
+      scrollTop: $("#fphl").offset().top-cHeight/2+310>0?$("#fphl").offset().top-cHeight/2+310:0 }, {duration: 500,easing: "swing"});
+  }
+  $(".poperr").fadeIn();
+  //防止拖拽的是不跳动
+  $("#popup").css({"top":cHeight*0.6,"left":cWidth/2})
+  params.left=cWidth/2;
+  params.top=cHeight*0.6;
+}
+
+// 拟建项目免费用户体验点击留资
+$('.detail-nj-btn').click(function(){
+  var subType = goTemplateData.params.obj.subtype
+  var sourceKey = 'article_slogan'
+  if (subType == '拟建') {
+    sourceKey = 'article_proposed_project'
+  }
+  if (subType == '采购意向') {
+    sourceKey = 'article_purchase_intention'
+  }
+  bidVue.sourceLogAjax(sourceKey)
+  vm.isNeedSubmit(sourceKey,function(){
+    vm.showSuccess = true
+  })
+})
+
+//
+function clearup(rp){
+  var dtcontent = originalCon;
+  var dttitlecopy = originalTitle;
+  if(dataCode=="projectname"&&rp=="P"){
+    projectName=$.trim($("#pop-textarea").val());
+  }else if(rp=="R"){
+    if(dataCode=="projectname"){
+      projectName=dataCont;
+    }
+    dtcontent = dtcontent.replace(/fphl/g,"");
+    dtcontent = dtcontent.replace(reg,"<span id='fphl' class='fphl' dataCode='"+dataCode+"'>"+dataCont+"</span>");
+    //
+  }
+  if(projectName){
+    dtcontent = keyWordHighlight(dtcontent,projectName,"<span class='keyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+    dttitlecopy = keyWordHighlight(dttitlecopy,projectName,"<span class='keyword' id='hst'  style=\"border-bottom:1px solid #2cb7ca;cursor: pointer;\">$1</span>");
+
+  }
+  if(dataCode=="winner"&&rp=="P"){
+    s_winner=$.trim($("#pop-textarea").val());
+  }else if(dataCode=="winner"&&rp=="R"){
+    s_winner=dataCont;
+  }
+  if(s_winner){
+    for (var i=0;i<s_winner.split(",").length;i++){
+      var winner_con_i = s_winner.split(",")[i]
+      if(winner_con_i != "" && content.toLowerCase().indexOf(winner_con_i.toLowerCase()) > -1){
+        dtcontent = keyWordHighlight(content,winner_con_i,"<span class='keyword winner' data-val='winner__"+i+"'  style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+      }
+    }
+    //dtcontent = keyWordHighlight(dtcontent,s_winner,"<span class='keyword winner' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+  }
+  var wordsArray = getQueryString("kds").split(" ");
+  if(wordsArray!=""&&wordsArray!="undefined"){
+    for(var i=0;i<wordsArray.length;i++){
+      dtcontent = keyWordHighlight(dtcontent,wordsArray[i],"<span class='jykeyword'>$1</span>");
+    }
+  }
+  if(s_winner){
+    for (var i=0;i<s_winner.split(",").length;i++){
+      var winner_con_i = s_winner.split(",")[i]
+      if(winner_con_i != ""){
+        content = content.replace("winner__"+i,winner_con_i)
+      }
+    }
+  }
+  $(".com-detail").html(dtcontent);
+  $("#com-title").html(dttitlecopy);
+}
+//
+if(goTemplateData.params.obj.subtype=="中标"||goTemplateData.params.obj.subtype=="成交"||goTemplateData.params.obj.subtype=="合同"){
+  isbid=true
+  var winnertel = goTemplateData.params.obj.winnertel;
+  var winner_enttel=goTemplateData.params.obj.winner_enttel;
+  var tel_source="来源:招标公告网站";
+  if(winnertel==null){
+    if(winner_enttel==null){
+      winnertel=""
+    }else{
+      winnertel=winner_enttel
+      tel_source="来源:国家企业公示网站"
+    }
+  }
+  $("#tel_source").html(tel_source);
+  $("#winnertel").html(winnertel);
+  if(winnertel!=""){
+    $(".winnertel").show();
+  }
+  var winner_ =goTemplateData.params.obj.winner
+  var bidmt = goTemplateData.params.obj.bidamount
+  if(winner_!=""&&winner_!=null){
+    count++
+  }
+  if(bidmt!=""&&bidmt!=null){
+    count++
+  }
+  if(count>=5){
+    $("#bidamount").text(bidmt)
+    $("#bidInfoTitle").show();
+    $("#bidInfoCont").show();
+  }
+}
+var subtype=goTemplateData.params.obj.subtype;
+var adv_from=getinfotype(subtype);
+var adv=any_adv;
+if(adv_from=="中标公告"){
+  adv=adv.concat(win_adv);
+}else if(adv_from=="招标公告"){
+  adv=adv.concat(zb_adv);
+}else if(adv_from=="拟建项目"){
+  adv=adv.concat(nj_adv);
+}
+var x = Math.floor(Math.random()*adv.length)
+$(".adv_tosieve").text(adv[x])
+var btn_text="立即体验"
+if (adv[x]==any_adv[0]){
+  btn_text="立即查看";
+}
+$(".adv_tosieve-btn").text(btn_text)
+$(".join").attr("adv_name",fromwhere(adv[x]));
+$(".join > a").attr("dataHref","/front/dataExport/toSieve?adv_from="+fromwhere(adv[x]));
+// 如果有招标信息类型且不是大会员 再请求大会员引流语接口
+var userType;
+if (!isVip && !isEntniche && !isMember){
+  userType = '0'
+} else if (isVip && isEntniche) {
+  userType = '1,3'
+} else if (isVip && !isEntniche) {
+  userType = '1'
+} else if (!isVip && isEntniche) {
+  userType = '3'
+}
+if (subtype != '拟建' && !isMember) {
+  try {
+    $.ajax({
+      type: "POST",
+      url: "/publicapply/drainage/copywriting",
+      data: {subtype: subtype},
+      success: function(r){
+        // console.log(r, 'rrrr')
+        if (r.data) {
+          $('.bigmember-slogan').show().find('.slogan-text').html(r.data.s_content)
+          // console.log(powerMap, 'map')
+          $('.bigmember-slogan .free-btn').click(function(){
+            bidVue.sourceLogAjax('article_slogan')
+            vm.isNeedSubmit('article_slogan',function(){
+              vm.showSuccess = true
+            })
+          })
+          $('.bigmember-slogan .more-btn').click(function() {
+            var params = {
+              drainageId: (r.data.id).toString(),
+              bigServiceId: r.data.s_serviceid,
+              userType: userType,
+              platform: 'P'
+            }
+            $.ajax({
+              type: "POST",
+              url: "/publicapply/drainage/behaviorLog",
+              contentType: "application/json",
+              data: JSON.stringify(params),
+              success: function(s){
+                var goURL = powerMap[r.data.s_serviceid] && powerMap[r.data.s_serviceid].info
+                if (goURL) {
+                  window.open('/big/page/' + goURL)
+                } else {
+                  window.open('/big/page/index')
+                }
+
+                // if (s.data) {
+                // 	if(r.data.s_serviceid == 8) {
+                // 		// 潜在合作伙伴挖掘
+                // 		window.open('/big/page/yw?name=qz_1&id=' + s.data +  '#qz')
+                // 	} else if (r.data.s_serviceid == 5) {
+                // 		// 采购单位
+                // 		window.open('/big/page/cg?name=fx_2&id=' + s.data +  '#fx')
+                // 	} else if (r.data.s_serviceid == 4) {
+                // 		// 企业画像
+                // 		window.open('/big/page/qy?id=' + s.data +  '#fx')
+                // 	} else {
+                // 		window.open('/big/page/index?id=' + s.data +  '#' + powerMap[r.data.s_serviceid].anchor)
+                // 	}
+                // }
+              }
+            })
+          })
+        }
+      }
+    })
+  } catch (error) {
+    console.log(error)
+  }
+}
+
+
+
+function getinfotype(subtype){
+  var infotype=""
+  switch (subtype){
+    case "拟建":
+      infotype="拟建项目"
+      break;
+    case "招标": case "邀标": case "询价": case "竞谈": case "变更": case "竞价": case "单一": case "其他":
+      infotype="招标公告"
+      break;
+    case "中标": case "成交": case "废标": case "流标":
+      infotype="中标公告"
+      break;
+    default:
+      infotype="其他"
+      break;
+  }
+  return infotype
+}
+function fromwhere(text){
+  var ad="pc_articel_";
+  if (getinfotype(subtype)=="拟建项目"){
+    ad+="nj"
+  }
+  if (getinfotype(subtype)=="招标公告"){
+    ad+="zb"
+  }
+  if (getinfotype(subtype)=="中标公告"){
+    ad+="win"
+  }
+  if (getinfotype(subtype)=="其他"){
+    ad+="qt"
+  }
+  if (jQuery.inArray(text,zb_adv)!=-1){
+    ad+="_zb_"+(jQuery.inArray(text,zb_adv)+1);
+  }
+  if (jQuery.inArray(text,win_adv)!=-1){
+    ad+="_win_"+(jQuery.inArray(text,win_adv)+1);
+  }
+  if (jQuery.inArray(text,any_adv)!=-1){
+    ad+="_sj_"+(jQuery.inArray(text,any_adv)+1);
+  }
+  if (jQuery.inArray(text,nj_adv)!=-1){
+    ad+="_nj_"+(jQuery.inArray(text,nj_adv)+1);
+  }
+  return ad
+}
+//
+$(window).scroll(function(event){
+  if(cHeight <= 0){
+    cHeight = 500;
+  }
+  var offsetTop = 0;
+  var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
+  var t1top = 0;
+  if(goTemplateData.params.obj.subtype!="拟建"&&goTemplateData.params.obj.subtype!="违规"){
+    offsetTop = $(".recoveryfat").offset().top;
+    t1top = $(".tab1").offset().top;
+  }
+  if(t1top<=(scrollTop+65)&&t1top!=0){
+    if(scrollflag){
+      $(".tab1").addClass("active").siblings().removeClass("active");
+    }
+  }else{
+    if(scrollflag){
+      $(".tab2").addClass("active").siblings().removeClass("active");
+    }
+  }
+  if(scrollTop >= offsetTop&&offsetTop!=0){
+    $(".recoveryhead").addClass("tabfix");
+  }else{
+    $(".recoveryhead").removeClass("tabfix");
+  }
+
+  //纠错高亮位置
+  if($(".com-detail .fphl").length>0){
+    heightLight = $(".com-detail .fphl").offset().top;
+  }
+  if(localStorage.getItem("ere-"+goTemplateData.params.obj._id)==null){
+    if(heightLight>(scrollTop+50)&&heightLight<(scrollTop+cHeight)){
+      $(".pop-up").fadeIn();
+    }else{
+      $(".pop-up").fadeOut();
+    }
+  }
+  clearTimeout(timer) // 每次滚动前 清除一次
+  timer = setTimeout("pscp()", 200);
+  m1 = document.documentElement.scrollTop || document.body.scrollTop;
+})
+//
+function pscp(){
+  m2 = document.documentElement.scrollTop || document.body.scrollTop;
+  if(m2 == m1){
+    scrollflag = true;
+  }
+}
+//
+function hmtab(Dirp){
+  var tabTwoHeight = $("#tab2").offset().top;
+  var scrollTop = document.body.scrollTop|| document.documentElement.scrollTop;
+  var pth = 22;
+  if(Dirp=="D"&&(scrollTop+pth)<tabTwoHeight&&tabTwoHeight<(scrollTop+cHeight-pth)){
+    $("html, body").stop(true,false).animate({scrollTop: $("#tab2").offset().top-inithgt }, {duration: 500,easing: "swing"});
+  }else if(Dirp=="U"&&(scrollTop+pth)<tabTwoHeight&&tabTwoHeight<(scrollTop+cHeight-pth)){
+    $("html, body").stop(true,false).animate({scrollTop: $("#tab2").offset().top-cHeight }, {duration: 500,easing: "swing"});
+  }
+}
+var inithgt = 60;//tab高度
+var reccont ="";
+var rhcontent = "";
+function subData(){
+  var fieldName = dataCode;
+  var originalcont = dataCont;
+  $.ajax({
+    type: "POST",
+    url: "/front/recovery/info",
+    data: {id:goTemplateData.params.obj._id,fieldName:fieldName,fwtscode:fwtscode,reccont:reccont,originalcont:originalcont},
+  dataType: "json",
+    traditional: true,
+    success: function(r){
+    if(r.flag){
+      localStorage.setItem("ere-"+goTemplateData.params.obj._id,"T");
+      $(".rec-null").hide();
+      $(".poperr").hide();
+      clearup("P");
+      companyAdd();
+      $("#pop-textarea").val("");
+      $("#fphl").removeClass("fphl");
+      $(transmit).prev("div").text(reccont);
+      EasyAlert.show(r.msg,"",5000);
+    }else{
+      EasyAlert.show("您提交的信息有误,请确认后再提交!","",5000);
+    }
+  }
+});
+}
+//
+function jumpTab(n){
+  if(n==1){
+    $(".tab1").addClass("active").siblings().removeClass("active");
+    $(window).scrollTop($("#tab"+n).offset().top-inithgt);
+  }else{
+    $(".tab2").addClass("active").siblings().removeClass("active");
+    $(window).scrollTop(0);
+  }
+  scrollflag = false;
+  return false;
+}
+$(function(){
+  if ($("#trwidth").find(".preb-exam").length>0){
+    $("#exaapprove").show();
+  }
+  $(document).on("click",function(e) {
+    if($(e.target).parents(".easyalert-mask").length == 0){
+      $("#easyalert-mask").remove();
+    }
+  });
+  $(".null-no").click(function(){
+    $(".rec-null").hide();
+  })
+  $(".null-yes").click(function(){
+    subData();
+  })
+  setTimeout(function(){
+    $(".tab2").click();
+  },700)
+  //提交纠错数据
+  $(".pop-botton").click(function(){
+    var animathistory_ent = $(".animathistory_ent").html();
+    $(".com-detail").find(".animathistory_ent").html("")
+    rhcontent = $(".com-detail").text().replace(/[^\{\u4e00-\u9fa5]{1,90}{[^\}\u4e00-\u9fa5]+?}/g,"");
+    $(".com-detail").find(".animathistory_ent").html(animathistory_ent)
+    reccont = $.trim($("#pop-textarea").val());
+    if(reccont!=""&&(tyflag||rhcontent.indexOf(reccont)>-1)){
+      subData();
+    }else if(reccont==""){
+      $(".null-cont").text("确认 "+dataName+" 为空?");
+      $(".rec-null").show();
+    }
+  })
+  //
+  document.addEventListener('copy', function(event){
+    var userSelection;
+    if (window.getSelection) { //
+      userSelection = window.getSelection();
+    } else if (document.selection) { //IE浏览器 考虑到Opera,应该放在后面
+      userSelection = document.selection.createRange();
+    }
+    var usesetcont = $.trim(userSelection)
+    if(usesetcont!=""){
+      rhcontent = $(".com-detail").text().replace(/[^\{\u4e00-\u9fa5]{1,90}{[^\}\u4e00-\u9fa5]+?}/g,"");
+      if(rhcontent.indexOf(usesetcont.replace(/\n/g,""))>-1){
+        $("#pop-textarea").val(usesetcont.replace(/\n/g,""));
+        $(".pop-botton").css({"background":"#2cbfca"})
+      }else{
+        $(".pop-botton").css({"background":"#d0d0d2"})
+      }
+    }else{
+      $(".pop-botton").css({"background":"#2cbfca"})
+    }
+    var pathname_url=window.location.pathname+window.location.search;
+    $.get("/front/shorturl/replication");
+
+  });
+  //纠错输入框
+  $("#pop-textarea").on("input propertychange",function(){
+    if($.trim($(this).val())!=""){
+      var animathistory_ent = $(".animathistory_ent").html();
+      $(".com-detail").find(".animathistory_ent").html("")
+      rhcontent = $(".com-detail").text().replace(/[^\{\u4e00-\u9fa5]{1,90}{[^\}\u4e00-\u9fa5]+?}/g,"");
+      $(".com-detail").find(".animathistory_ent").html(animathistory_ent)
+      var ptval = $.trim($(this).val());
+      if(tyflag){
+        $(".pop-botton").css({"background":"#2cbfca"})
+      }else if(rhcontent.indexOf(ptval)>-1){
+        $(".pop-botton").css({"background":"#2cbfca"})
+      }else{
+        $(".pop-botton").css({"background":"#d0d0d2"})
+      }
+    }else{
+      $(".pop-botton").css({"background":"#2cbfca"})
+    }
+  })
+  if(packageCon==""){
+    $("#tdbudget").text("项目预算(元)");
+    $("#tdbudget").next("td").find("div").eq(0).text(goTemplateData.params.obj.budget)
+    $("#tdbudget").next("td").find("div").eq(1).text("纠错")
+  }
+  if(goTemplateData.params.obj.subtype=="单一"&&packageCon==""){
+    $("#baselast").show();
+  }
+  $(".pop-head img").click(function(){
+    $(".rec-null").hide();
+    $(".poperr").hide();
+    localStorage.setItem("ere-"+goTemplateData.params.obj._id,"T")
+    $("#fphl").removeClass("fphl");
+    $(".pop-botton").css({"background":"#d0d0d2"})
+  })
+  var rerwinnerorder = goTemplateData.params.obj.winnerorder//中标候选人
+  //分包信息
+  if(packageCon!=""){
+    var pkchtml = '';
+    for(n in packageCon){
+      var pckwinner = packageCon[n].winner;
+      if(pckwinner==undefined){
+        pckwinner=""
+      }
+      var pckorigin = packageCon[n].m_origin;
+      if(pckorigin==undefined){
+        pckorigin=packageCon[n].type+packageCon[n].origin
+      }
+      var pckbidamount = packageCon[n].bidamount;
+      if(pckbidamount==undefined){
+        pckbidamount=""
+      }
+      pkchtml+='<div class="baseInfo">分包</div>'
+        +'<div class="baseTable"><table>'
+        +'<tr id="left-three-gray">'
+      if(goTemplateData.params.obj.subtype=="招标"){
+        pkchtml+='<td class="tab-type">分包/标段</td>'
+          +'<td class="tab-cont">'
+          +'<div class="cont-cont">'+pckorigin+'</div>'
+          +'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-m_origin\',\'\')">纠错</div>'
+          +'<div style="display:none;"></div>'
+          +'</td>'
+        pkchtml+='<td class="tab-type piddingfour">项目预算(元)</td>'
+        pkchtml+='<td class="tab-cont">'
+          +'<div class="cont-cont">'+pckbidamount+'</div>'
+          +'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-bidamount\',\'\')">纠错</div>'
+          +'<div style="display:none;"></div>'
+          +'</td>'
+          +'</tr>'
+      }else{
+        var winnername = "";
+        var abountname = "";
+        pkchtml+='<td class="cd-type">分包/标段</td>'
+        if(goTemplateData.params.obj.subtype=="单一"){
+          pkchtml+='<td class="cd-type">拟定单一来源采购供应商</td>'
+          winnername = "拟定单一来源采购供应商"
+        }else{
+          pkchtml+='<td class="cd-type">中标单位</td>'
+          winnername = "中标单位"
+        }
+        if(goTemplateData.params.obj.subtype=="单一"){
+          pkchtml+='<td class="cd-type piddingfour">项目预算(元)</td>'
+          abountname = "项目预算(元)";
+        }else{
+          pkchtml+='<td class="cd-type piddingfour">中标金额(元)</td>'
+          abountname = "中标金额(元)";
+        }
+        pkchtml+='</tr>'
+        pkchtml+='<tr id="left-three-gray">'
+          +'<td class="cd-cont subpck">'
+          +'<div class="cont-cont">'+pckorigin+'</div>'
+          +'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-m_origin\',\'分包/标段\')">纠错</div>'
+          +'<div style="display:none;"></div>'
+          +'</td>'
+        pkchtml+='<td class="cd-cont winpck">'
+          +'<div class="cont-cont">'+pckwinner+'</div>'
+          +'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-winner\',\''+winnername+'\')">纠错</div>'
+          +'<div style="display:none;"></div>'
+          +'</td>'
+        pkchtml+='<td class="cd-cont amountpck">'
+          +'<div class="cont-cont">'+pckbidamount+'</div>'
+          +'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-bidamount\',\''+abountname+'\')">纠错</div>'
+          +'<div style="display:none;"></div>'
+          +'</td>'
+        pkchtml+='</tr>'
+      }
+      pkchtml+='</table></div>'
+      var pckwinnerorder = packageCon[n].winnerorder;
+      if(pckwinnerorder!=undefined&&pckwinnerorder.length>0){
+        pkchtml+='<div class="baseTable"><table>'+
+          '<tr id="left-three-blue" style="border-top: 0px;">'+
+          '<td class="cd-type" colspan="3" id="candidate">候选人</td>'+
+          '</tr>'+
+          '<tr id="left-three-blue">'+
+          '<td class="cd-type">单位名称</td>'+
+          '<td class="cd-type">报价(元)</td>'+
+          '<td class="cd-type">名次</td>'+
+          '</tr>'
+        for(var i=0;i<pckwinnerorder.length;i++){
+          if(i>0){
+            //pkchtml+='<tr id="left-three-blue" class="cutoff"><td colspan="3"></td></tr>'
+          }
+          var pckentname = pckwinnerorder[i].entname;
+          if(pckentname==undefined){
+            pckentname=""
+          }
+          var pcksortstr = pckwinnerorder[i].sortstr;
+          if(pcksortstr==undefined){
+            pcksortstr=""
+          }
+          var pckprice = pckwinnerorder[i].price;
+          if(pckprice==undefined){
+            pckprice=""
+          }
+          pkchtml+='<tr id="left-three-blue">'+
+            '<td class="cd-cont entnamecont">'+
+            '<div class="cont-cont">'+pckentname+'</div>'+
+            '<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-'+i+'-entname\',\'单位名称\')">纠错</div>'+
+            '<div style="display:none;"></div>'+
+            '</td>'+
+            '<td class="cd-cont pricecont">'+
+            '<div class="cont-cont">'+pckprice+'</div>'+
+            '<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-'+i+'-price\',\'报价(元)\')">纠错</div>'+
+            '<div style="display:none;"></div>'+
+            '</td>'+
+            '<td class="cd-cont sortstrcont">'+
+            '<div class="cont-cont">'+pcksortstr+'</div>'+
+            '<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-'+i+'-sortstr\',\'名次\')">纠错</div>'+
+            '<div style="display:none;"></div>'+
+            '</td>'+
+            '</tr>'
+        }
+      }
+      pkchtml+='</table></div>'
+    }
+    $("#tab2").append(pkchtml)
+  }else if(packageCon==""&&rerwinnerorder!=""){
+    var pkchtml = '';
+    pkchtml+='<div class="baseTable"><table>'+
+      '<tr id="left-three-blue" style="border-top: 0px;">'+
+      '<td class="cd-type" colspan="3" id="candidate">候选人</td>'+
+      '</tr>'+
+      '<tr id="left-three-blue">'+
+      '<td class="cd-type">单位名称</td>'+
+      '<td class="cd-type">报价(元)</td>'+
+      '<td class="cd-type">名次</td>'+
+      '</tr>'
+    for(var i=0;i<rerwinnerorder.length;i++){
+      if(i>0){
+        //pkchtml+='<tr id="left-three-blue" class="cutoff"><td colspan="4"></td></tr>'
+      }
+      var pckentname = rerwinnerorder[i].entname;
+      if(pckentname==undefined){
+        pckentname=""
+      }
+      var pcksortstr = rerwinnerorder[i].sortstr;
+      if(pcksortstr==undefined){
+        pcksortstr=""
+      }
+      var pckprice = rerwinnerorder[i].price;
+      if(pckprice==undefined){
+        pckprice=""
+      }
+      pkchtml+='<tr id="left-three-blue">'+
+        '<td class="cd-cont entnamecont">'+
+        '<div class="cont-cont">'+pckentname+'</div>'+
+        '<div class="cont-recy" onclick="recoveryerr(this,\'winnerorder'+i+'-entname\',\'单位名称\')">纠错</div>'+
+        '<div style="display:none;"></div>'+
+        '</td>'+
+        '<td class="cd-cont pricecont">'+
+        '<div class="cont-cont">'+pckprice+'</div>'+
+        '<div class="cont-recy" onclick="recoveryerr(this,\'winnerorder'+i+'-price\',\'报价(元)\')">纠错</div>'+
+        '<div style="display:none;"></div>'+
+        '</td>'+
+        '<td class="cd-cont sortstrcont">'+
+        '<div class="cont-cont">'+pcksortstr+'</div>'+
+        '<div class="cont-recy" onclick="recoveryerr(this,\'winnerorder'+i+'-sortstr\',\'名次\')">纠错</div>'+
+        '<div style="display:none;"></div>'+
+        '</td>'+
+        '</tr>'
+
+    }
+    pkchtml+='</table></div>'
+    $("#tab2").append(pkchtml)
+  }
+
+  //
+  haslogin(goTemplateData.params.logid,goTemplateData.params.obj.projectname,"D");
+  JYLogin(goTemplateData.params.logid)
+  if (_loop){
+    //console.log("-",_loop)
+    return;
+  }
+  _loop = true;
+  var infoDetail = $(".com-detail").html();
+  if(infoDetail){
+    $(".com-detail").html(infoDetail.replace(/(<\/?br\/?>)+/ig,"<br>"));
+  }
+  $(".com-wxshare,.com-guanzhu").hover(function(){
+    $(this).children(".scanqr").show();
+  },function(){
+    $(this).children(".scanqr").hide();
+  });
+  //重新计算最新信息的发布时间
+  $(".otherinfo .com-time").each(function(){
+    var thisValue = $(this).attr("data-value");
+    if(thisValue != "" && thisValue != "0" && thisValue != 0){
+      var diff = timeDiff(new Date(Number(thisValue+"000")));
+      if(diff != null){
+        $(this).text(diff);
+      }
+    }
+  });
+  $.post("/front/rewardText",{},function(r){
+    $(".reward").prepend(r);
+  },"text");
+  $(".reward>div").click(function(){
+    $(".payQRcode").show();
+  });
+  $(".payQRcode .reward-close").click(function(){
+    $(".payQRcode").hide();
+  });
+  //
+  var uli = 960;
+  var tdno = $(".preb-list tr").eq(1);
+  if(tdno.find("td").length != 0){
+    var tdclass = "";
+    for(var i=0;i<tdno.find("td").length;i++){
+      var fsize = tdno.find("td").eq(i).find("div").attr("class")
+      if(i==0){
+        tdclass += fsize;
+      }else{
+        tdclass += ","+fsize;
+      }
+    }
+    var sparr = tdclass.split(",");
+    for(var m =0;m<sparr.length;m++ ){
+      var average = uli/tdno.find("td").length ;
+      $("#"+sparr[m]).parent("td").css("width",average);
+    }
+
+  }
+  if(goTemplateData.params.obj.subtype=="拟建"){
+    $('.lead-btn').hide()
+    $(".lead-btn-nj").hide();
+  }
+  var attaflag = false;
+
+  if (goTemplateData.params.obj.projectinfo && goTemplateData.params.obj.projectinfo.attachments) {
+    var attachments = goTemplateData.params.obj.projectinfo.attachments
+    var j = 0 ;
+    for(var m in attachments){
+      j += 1 ;
+      var arr = new Array()
+      arr = attachments[m]
+      $(".preb-enno").html('<img src="'+goTemplateData.cdn+'/images/wx/enclosure.png"/>附件('+j+'个)')
+      //for(var i in arr){
+      if((arr["ossid"]||arr["fid"])&&arr["filename"]&&arr["filename"].slice(-3).toLowerCase()=="pdf"){
+        attaflag = true;
+
+        if (arr["ossid"]!=undefined &&arr["ossid"]!=null){
+          arr["fid"]=arr["ossid"]
+        }else {
+          arr["fid"]
+        }
+        arr["fid"]="https://jy-datafile.oss-cn-beijing.aliyuncs.com/"+arr["fid"];
+        arr["url"]=arr["fid"]
+        var pdfshow = '<div class="approve">'+arr["filename"]+'</div><div id="preb-pdf'+j+'"></div>';
+        $(".pdf-div").html(pdfshow);
+        var pdfhtml = "";
+        pdfhtml = '<div class="preb-encont"><div style="float:left;"><img src="'+goTemplateData.cdn+'/images/wx/pdf.png"/></div><div style="float:left;line-height: 22px;">'+arr["filename"]+'<br><a style="color:blue;" href="'+arr["url"]+'">下载</a></div><div style="clear:both;"></div></div>';
+        PDFObject.embed(arr["url"], "#preb-pdf"+j);
+      }
+      //}
+      $(".preb-enclosure").append(pdfhtml)
+    }
+  }
+
+  if(goTemplateData.params.obj.subtype=="拟建"||goTemplateData.params.obj.toptype=="拟建"||goTemplateData.params.obj.subtype=="违规"){
+    if(attaflag){
+      $(".preb-enclosure").removeClass("hidden");
+      $(".pdf-div").removeClass("hidden");
+    }
+  }else{
+    if((count>=4 && !isbid)||(count>=5&&isbid)){
+      $(".recoveryfat").show();
+      $("#tab2").show();
+      $(".explain").show();
+      $(".lead-btn").show();
+    }
+  }
+  //
+  if (goTemplateData.params.obj.infoformat && goTemplateData.params.obj.infoformat == 2) {
+    $(".com-prebuilt").removeClass("hidden")
+  }
+  if (goTemplateData.params.obj.href) {
+    $(".com-original").removeClass("hidden");
+  }
+  //
+  $(window).scroll(function(){
+    if($(this).scrollTop() > 0){
+      $("#backTop").show();
+    }else{
+      $("#backTop").hide();
+    }
+  });
+  //获取原文百度统计跳转
+  var originalhref;
+  var originalUrl = goTemplateData.params.obj.url;
+  if (originalUrl!=""){
+    originalUrl = originalUrl.replace("http://https://","https://");
+    if (window.location.href.indexOf("mailprivate")>0||isWechat()){
+      originalhref='/front/transfer?url='+encodeURIComponent(originalUrl);
+    }else{
+      var url =document.location.protocol+"//"+ window.location.host+"/front/transfer?url="+encodeURIComponent(originalUrl)
+      originalhref=url
+    }
+  }else{
+    $(".com-original").hide();
+  }
+  // $(".com-original").attr("dataHref",originalhref);
+  // 点击阅读原文 用户留资
+  $(".com-original").on('click',function() {
+    if (!loginflag) {
+      openLoginDig()
+      return
+    }
+    console.log('三级页-阅读原文:article_original')
+    vm.dialogTitle = '为给您匹配精准的推荐信息,请完善个人信息,免费查看原文'
+    vm.isNeedSubmit('article_original', function() {
+      window.open(originalhref)
+    })
+  })
+
+  //var sds = goTemplateData.params.keywords;
+  var sds = getQueryString("kds");
+  sds = sds.replace(/\++/g," ");
+  var content = $(".com-detail").html();
+  titleCopy = $("#com-title").text();
+  titleCopyDec = $("#com-title").text();
+  //
+  var lsgim = localStorage.getItem("ere-"+goTemplateData.params.obj._id);
+  //if(lsgim!="T"&&fwtsname != "" && content.toLowerCase().indexOf(fwtsname.toLowerCase()) > -1){
+  //content = content.replace(fwtsname,"<span id='fphl' class='fphl' dataCode='"+fwtscode+"'>"+fwtsname+"</span>");
+  //}
+  $(".com-detail").html(content)
+  originalCon = content;
+  originalTitle = titleCopy;
+  //
+  if(projectName){
+    //if(projectname != "" && content.toLowerCase().indexOf(projectname.toLowerCase()) > -1){
+    //	content = keyWordHighlight(content,projectname,"<span class='keyword myfollow' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+    //}
+    content = keyWordHighlight(content,projectName,"<span class='keyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+    //if(projectname != "" && titleCopy.toLowerCase().indexOf(projectname.toLowerCase()) > -1){
+    //	titleCopy = keyWordHighlight(titleCopy,projectname,"<span class='keyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+    //}
+    titleCopy = keyWordHighlight(titleCopy,projectName,"<span class='keyword' id='hst'  style=\"border-bottom:1px solid #2cb7ca;cursor: pointer;\">$1</span>");
+  }else{
+    $(".com-guanzhu .scanqr>span:last").html("随时掌握招标信息");
+    $(".com-guanzhu>.scanqr>img").height(135);
+    $(".com-guanzhu>font").text("关注剑鱼标讯");
+    insertflog = false;
+  }
+  if(s_winner){
+    for (var i=0;i<s_winner.split(",").length;i++){
+      var winner_con_i = s_winner.split(",")[i]
+      if(winner_con_i != "" && content.toLowerCase().indexOf(winner_con_i.toLowerCase()) > -1){
+        content = keyWordHighlight(content,winner_con_i,"<span class='keyword winner' data-val='winner__"+i+"' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+      }
+    }
+  }
+  if(sds){
+    if(!insertflog){
+      $(".com-guanzhu .scanqr>span:last").html("随时掌握招标信息");
+      $(".com-guanzhu>.scanqr>img").height(135);
+      $(".com-guanzhu>font").text("关注剑鱼标讯");
+    }
+    var wordsArray = sds.split(" ");
+    if(wordsArray!=""){
+      for(var i=0;i<wordsArray.length;i++){
+        if (isNumber.test(wordsArray[i])||isLetter.test(wordsArray[i])){
+          continue
+        }
+        content = keyWordHighlight(content,wordsArray[i],"<span class='jykeyword'>$1</span>");
+        titleCopy = keyWordHighlight(titleCopy,wordsArray[i],"<span class='jykeyword'>$1</span>");
+        //项目基本信息 关键词高亮
+        $(".preb-cont").each(function(){
+          var prebCont = $(this).html();
+          prebCont = keyWordHighlight(prebCont,wordsArray[i],"<span class='jykeyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+          $(this).html(prebCont);
+        })
+        //审批事项公示信息高亮
+        $(".preb-examcont").each(function(){
+          var prebExamcont = $(this).text();
+          prebExamcont = keyWordHighlight(prebExamcont,wordsArray[i],"<span class='jykeyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
+          $(this).html(prebExamcont);
+        })
+      }
+    }
+  }
+  if(s_winner){
+    for (var i=0;i<s_winner.split(",").length;i++){
+      var winner_con_i = s_winner.split(",")[i]
+      if(winner_con_i != ""){
+        content = content.replace("winner__"+i,winner_con_i)
+      }
+    }
+  }
+  $("#ptname").html('<span id="a" style="border-bottom:1px solid #2cb7ca">'+$("#ptname").html()+'</span>')
+  $(".com-detail").html(content);
+
+  $("#com-title").html(titleCopy);
+  companyAdd();
+
+  //企业画像跳转
+  $(".portrait_img:not(.no-show-tip)").hover(function (){
+    if (!$(this).next().hasClass("portrait_tip")){
+      var tipMsg=$(this).attr("tip-data") || $(this).parents('.tab-cont').children('.cont-cont.portrait_img').attr("tip-data");
+      if (!tipMsg){
+        tipMsg="暂无画像数据"
+      }
+      $(this).after("<div class='portrait_tip' style='display:none; position: absolute;top: -27px;right: -13px;background: rgba(0,0,0,0.72);border-radius: 4px;opacity: 1;color: #fff;font-size: 13px;line-height: 20px;padding: 6px 10px;'>"+tipMsg+"</div>")
+    }
+  }).on("click",function (){
+    var toHref=$(this).attr("href-data") || $(this).parents('.tab-cont').children('.cont-cont.portrait_img').attr("href-data")
+    var memberLink = "/swordfish/page_big_pc/ent_portrait/" + goTemplateData.params.obj.entId
+    var vipLink = "/swordfish/page_big_pc/svip/ent_ser_portrait/" + goTemplateData.params.obj.entId
+    var tipMsg=$(this).attr("tip-data") || $(this).parents('.tab-cont').children('.cont-cont.portrait_img').attr("tip-data")
+    if (tipMsg == '查看采购单位画像') {
+      if (toHref){
+        window.open(toHref)
+        return
+      }
+    }
+    if (isMember) {
+      // 如果是专家版、智慧版 跳大会员页面
+      if(window.memberStatus > 0 && window.memberPower && window.memberPower.indexOf(4) !== -1) {
+        window.open(memberLink)
+      } else {
+        // 如果是商机版、自定义版
+        // 如果同时是超级订阅 判断有没有画像查看次数
+        if (isVip) {
+          $.ajax({
+            type: "POST",
+            url: "/bigmember/portrait/subVipPortrait/usage",
+            data: {
+              entId:goTemplateData.params.obj.entId
+        },
+          success: function(r){
+            // 如果次数已用完 跳大会员企业画像页面
+            if (r.data.usage >= r.data.total) {
+              window.open(memberLink)
+            } else {
+              // 没用完 超级订阅跳企业画像页面
+              window.open(vipLink)
+            }
+          }
+        });
+        } else {
+          // 不是超级订阅用户跳大会员企业画像页面
+          window.open(memberLink)
+        }
+      }
+    } else {
+      // 非大会员用户跳超级订阅企业画像页面
+      window.open(vipLink)
+    }
+  })
+})
+function companyAdd(){
+  if(s_winner){
+    var winner_con = $(".winner");
+    for(var i=0;i<winner_con.length;i++){
+      var top = getElementTop(winner_con[i]) - $(".public-nav")[0].offsetHeight - 30 + 10 + winner_con[i].offsetHeight;
+      var left = getElementLeft(winner_con[i])-getElementLeft($(".biddetail-content")[0])-110;
+      if(left>670){
+        left = 670;
+      }else if(left<-70){
+        left = -70;
+      }
+//            var top = winner_con[i].offsetTop + winner_con[i].offsetHeight + 10;
+//            var left = winner_con[i].offsetLeft;
+      $(winner_con[i]).attr("dataNum",(i+1));
+      $(winner_con[i]).append('<div id="outhistory"><div class="animathistory_ent" style="display:none;top:'+top+'px;left:'+left+'px;">'
+        +'<span class="hyone"></span>'
+        +'<span class="hytwo"></span>'
+        +'<div  id="myhtlist" style="max-height: 500px;overflow-y: auto;">'
+        +'<div class="hthead">'
+        +'<span>企业最新信息</span><span onclick="htclosed_ent()"><img src="'+goTemplateData.cdn+'/images/wx/close.png"/></span>'
+        +'</div>'
+        +'<div class="htcontent">'
+        +'</div>'
+        +'<div class="htfoot">'
+        +''
+        +'</div>'
+        +'</div>'
+        +'</div></div>');
+    }
+  }
+
+  function getElementLeft(element){
+    var actualLeft = element.offsetLeft;
+    var current = element.offsetParent;
+    while (current !== null){
+      actualLeft += current.offsetLeft;
+      current = current.offsetParent;
+    }
+    return actualLeft;
+  }
+  function getElementTop(element){
+    var actualTop = element.offsetTop;
+    var current = element.offsetParent;
+    while (current !== null){
+      actualTop += current.offsetTop;
+      current = current.offsetParent;
+    }
+    return actualTop;
+  }
+
+  $(".winner").hover(function(){
+    thishtlists_ent();
+    entProListShowFlag = true;
+    var that = $(this);
+    $(".animathistory_ent").each(function(){
+      if($(this).parents(".winner").attr("dataNum") == that.attr("dataNum")){
+        return true
+      }
+      $(this).fadeOut(1000);
+    })
+    $(this).find(".animathistory_ent").fadeIn(1000);
+  },function(){
+    entProListShowFlag = false;
+    setTimeout(function(){
+      if(entProListShowFlag){
+        return;
+      }
+      $(".animathistory_ent").fadeOut(250);
+    },250)
+  })
+
+  //
+  if(insertflog){
+    var titleCopyNew = $("#hst");
+    titleCopyNew.append('<div id="outhistory"><div class="animathistory" style="display:none;">'
+      +'<span class="hyone"></span>'
+      +'<span class="hytwo"></span>'
+      +'<div  id="myhtlist" style="max-height: 500px;overflow-y: auto;">'
+      +'<div class="hthead">'
+      +'<span>项目公告</span><span onclick="htclosed()"><img src="'+goTemplateData.cdn+'/images/wx/close.png"/></span>'
+      +'</div>'
+      +'<div class="htcontent">'
+      +'</div>'
+      +'<div class="htfoot">'
+      +''
+      +'</div>'
+      +'</div>'
+      +'</div></div>');
+  }
+  $("#hst").hover(function(){
+    thishtlists();
+    hstShowFlag = true;
+    $(".animathistory").fadeIn(1000);
+  },function(){
+    hstShowFlag = false;
+    setTimeout(function(){
+      if(hstShowFlag){
+        return;
+      }
+      $(".animathistory").fadeOut(250);
+    },250)
+  })
+}
+//
+var thishtlists_ent_hasLoad = false
+var thishtlists_ent = function(){
+  if (thishtlists_ent_hasLoad){
+    return
+  }
+  var _id = goTemplateData.params.obj._id;
+  //var s_winner = goTemplateData.params.obj.winner;
+  var _bidamount = goTemplateData.params.obj.bidamount;
+  var projectname = projectName;
+  $.post("/front/pcEntAllNotice",{entname:s_winner},function(D){
+    thishtlists_ent_hasLoad = true;
+    var noData = true;
+    if(D.data){
+      for (var n=0;n<s_winner.split(",").length;n++){
+        var thiswinner = s_winner.split(",")[n]
+        var data = D.data[thiswinner]
+        if (data){
+          noData = false;
+          for(var i = 0; i < data.length; i++){
+            var id = data[i]["_id"];
+            var noticetime = '';
+            var type = '';
+            var amountHtml = '';
+            var listhtml = '';
+            var typeStr = '';
+            var title = data[i]["title"];
+            var amount = data[i]["bidamount"];
+
+            if(data[i]["publishtime"]){
+              noticetime = new Date(Number(data[i]["publishtime"]+"000")).Format("MM-dd");
+            }
+            if(typeof(data[i]["subtype"]) != "undefined" && data[i]["subtype"] != "" && data[i]["subtype"] != null){
+              type = data[i]["subtype"];
+              typeStr = '<span class="type">'+type+'</span>';
+            }else if(typeof(data[i]["toptype"]) != "undefined" && data[i]["toptype"] != "" && data[i]["toptype"] != null){
+              type = data[i]["toptype"];
+              typeStr = '<span class="type">'+type+'</span>';
+            }else{
+              typeStr = '<span class="typenull">'+type+'</span>';
+            }
+            if(amount && !isNaN(amount)){
+              amount = parseInt(amount)/10000;
+              amountHtml = '<span class="priceStyle">'+amount+'万元中标</span>';
+            }
+            if(title){
+              title = keyWordHighlight(title,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
+            }else{
+              title = "";
+            }
+            var titleHtml = "";
+            if(id){
+              titleHtml = '<a target="_blank" href="/article/content/'+id+'.html" >'+title+'</a>';
+            }else{
+              titleHtml = '<a target="_blank" href="#" >'+title+'</a>';
+            }
+            listhtml = '<div class="htlist" style="padding-bottom: 30px;">'
+              +'<div style="width: 80px;text-align: right;">'
+              +'<span class="noticetime">'+noticetime+'</span>'
+              +typeStr
+              +'</div>'
+              +'<div class="timeaxis">'
+              +'<span></span>'
+              +'</div>'
+              +'<div>'
+              +titleHtml
+              +amountHtml
+              +'</div>'
+              +'</div>'
+            $(".animathistory_ent").parents(".winner[data-val='"+thiswinner+"']").find(".htcontent").append(listhtml);
+            //$(".animathistory_ent .htcontent").append(listhtml);
+          }
+        }
+      }
+    }
+    if (noData){
+      var hthtml = '<div class="htlist" style="padding-bottom: 30px;"><div style="width: 80px;text-align: right;">';
+      if($("#statusbar .com-time").text()!=undefined&&$("#statusbar .com-time").text()!=""){
+        hthtml += '<span class="noticetime">'+$("#statusbar .com-time").text()+'</span>';
+      }else{
+        hthtml += '<span class="noticetime"></span>';
+      }
+      if($("#statusbar .com-type").text()!=undefined&&$("#statusbar .com-type").text()!=""){
+        hthtml += '<span class="type">'+$("#statusbar .com-type").text()+'</span>';
+      }
+      hthtml += '</div><div class="timeaxis"><span></span></div>';
+      if(_id){
+        hthtml += '<div><a target="_blank" href="/article/content/'+_id+'.html">';
+      }else{
+        hthtml += '<div><a target="_blank" href="#">';
+      }
+      if(titleCopyDec!=""){
+        var listtitle = titleCopyDec;
+        listtitle = keyWordHighlight(listtitle,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
+        hthtml += listtitle;
+      }
+      hthtml +='</a>';
+      if(_bidamount && !isNaN(_bidamount)){
+        _bidamount = parseInt(_bidamount)/10000;
+        hthtml += '<span class="priceStyle">'+_bidamount+'万元中标</span>';
+      }
+      hthtml +='</div></div>';
+      $(".animathistory_ent .htcontent").append(hthtml);
+    }
+    $(".htlist").find("a").mouseover(function(){
+      $(this).find("span").css("color","#fe7379");
+    })
+    $(".htlist").find("a").mouseout(function(){
+      $(this).find("span").css("color","#2cb7ca");
+    })
+  });
+}
+//
+var thishtlists_hasLoad = false;
+var thishtlists = function(){
+  if (thishtlists_hasLoad){
+    return
+  }
+  var _id = goTemplateData.params.obj._id;
+  var projectname = projectName;
+  var projectcode = goTemplateData.params.obj.projectcode;
+  $.post("/front/pcAllNotice",{id:_id,projectname:projectname,projectcode:projectcode},function(D){
+    thishtlists_hasLoad=true;
+    var htdata = D.data["res"]
+    if(htdata&&htdata.length>0){
+      var htlist = D.data["res"];
+      var hthtml = '';
+      var myflag = true;
+      for(var i in htlist){
+        var listone = htlist[i]
+        var httime = listone["l_publishtime"];
+        var mytime = goTemplateData.params.obj.publishtime;
+        if(httime>mytime){
+          hthtml += '<div class="htlist"><div style="width: 80px;text-align: right;">'
+          if(htdiff!=""&&htdiff!=0){
+            var htdiff = timeDiff(new Date(Number(httime+"000")));
+            hthtml += '<span class="noticetime">'+htdiff+'</span>'
+          }else{
+            hthtml += '<span class="noticetime"></span>'
+          }
+          var httype = listone["s_subtype"]
+          if(typeof(httype) == "undefined" || httype == null || httype == ""){
+            httype = listone["s_toptype"]
+          }
+          if(typeof(httype) == "undefined" || httype == null || httype == ""){
+            httype = listone["s_type"];
+            if(httype == "bid"){
+              httype = "中标";
+            }else if(httype == "tender"){
+              httype = "招标";
+            }else{
+              httype = "";
+            }
+          }
+          if(httype!=""){
+            hthtml += '<span class="type">'+httype+'</span>'
+          }
+          hthtml += '</div><div class="timeaxis"><span></span></div>'
+          if(typeof(listone["s_eid"])!=""){
+            hthtml += '<div><a target="_blank" href="/article/content/'+listone["s_eid"]+'.html">'
+          }else{
+            hthtml += '<div><a target="_blank" href="#">'
+          }
+          if(listone["s_title"]!=""){
+            var listtitle = listone["s_title"];
+            listtitle = keyWordHighlight(listtitle,projectname,"<span style='color:#2cb7ca;'>$1</span>");
+            hthtml += listtitle
+          }
+          hthtml +='</a></div></div>'
+        }else if(httime<=mytime){
+          if(myflag){
+            hthtml += '<div class="htlist"><div style="width: 80px;text-align: right;">'
+            if($("#statusbar .com-time").text()!=undefined&&$("#statusbar .com-time").text()!=""){
+              hthtml += '<span class="noticetime">'+$("#statusbar .com-time").text()+'</span>'
+            }else{
+              hthtml += '<span class="noticetime"></span>'
+            }
+            if($("#statusbar .com-type").text()!=undefined&&$("#statusbar .com-type").text()!=""){
+              hthtml += '<span class="type">'+$("#statusbar .com-type").text()+'</span>'
+            }
+            hthtml += '</div><div class="timeaxis"><span></span></div>'
+            if(_id){
+              hthtml += '<div><a target="_blank" href="/article/content/'+_id+'.html">'
+            }else{
+              hthtml += '<div><a target="_blank" href="#">'
+            }
+            if(titleCopyDec!=""){
+              var listtitle = titleCopyDec;
+              listtitle = keyWordHighlight(listtitle,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
+              hthtml += listtitle
+            }
+            hthtml +='</a></div></div>'
+            myflag = false;
+          }
+          hthtml += '<div class="htlist"><div style="width: 80px;text-align: right;">'
+          if(htdiff!=""&&httime!=0){
+            var htdiff = timeDiff(new Date(Number(httime+"000")));
+            hthtml += '<span class="noticetime">'+htdiff+'</span>'
+          }else{
+            hthtml += '<span class="noticetime"></span>'
+          }
+          var httype = listone["s_subtype"]
+          if(typeof(httype) == "undefined" || httype == null || httype == ""){
+            httype = listone["s_toptype"]
+          }
+          if(typeof(httype) == "undefined" || httype == null || httype == ""){
+            httype = listone["s_type"];
+            if(httype == "bid"){
+              httype = "中标";
+            }else if(httype == "tender"){
+              httype = "招标";
+            }else{
+              httype = "";
+            }
+          }
+          if(httype!=""){
+            hthtml += '<span class="type">'+httype+'</span>'
+          }
+          hthtml += '</div><div class="timeaxis"><span></span></div>'
+          if(typeof(listone["s_eid"])!=""){
+            hthtml += '<div><a target="_blank" href="/article/content/'+listone["s_eid"]+'.html">'
+          }else{
+            hthtml += '<div><a target="_blank" href="#">'
+          }
+          if(listone["s_title"]!=""){
+            var listtitle = listone["s_title"];
+            listtitle = keyWordHighlight(listtitle,projectname,"<span style='color:#2cb7ca;'>$1</span>");
+            hthtml += listtitle
+          }
+          hthtml +='</a></div></div>'
+        }
+      }
+      if(myflag){
+        hthtml += '<div class="htlist"><div style="width: 80px;text-align: right;">'
+        if($("#statusbar .com-time").text()!=undefined&&$("#statusbar .com-time").text()!=""){
+          hthtml += '<span class="noticetime">'+$("#statusbar .com-time").text()+'</span>'
+        }else{
+          hthtml += '<span class="noticetime"></span>'
+        }
+        if($("#statusbar .com-type").text()!=undefined&&$("#statusbar .com-type").text()!=""){
+          hthtml += '<span class="type">'+$("#statusbar .com-type").text()+'</span>'
+        }
+        hthtml += '</div><div class="timeaxis"><span></span></div>'
+        if(_id){
+          hthtml += '<div><a target="_blank" href="/article/content/'+_id+'.html">'
+        }else{
+          hthtml += '<div><a target="_blank" href="#">'
+        }
+        if(titleCopyDec!=""){
+          var listtitle = titleCopyDec;
+          listtitle = keyWordHighlight(listtitle,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
+          hthtml += listtitle
+        }
+        hthtml +='</a></div></div>'
+        myflag = false;
+      }
+      $(".animathistory .htcontent").append(hthtml);
+    }else{
+      var hthtml = '<div class="htlist"><div style="width: 80px;text-align: right;">'
+      if($("#statusbar .com-time").text()!=undefined&&$("#statusbar .com-time").text()!=""){
+        hthtml += '<span class="noticetime">'+$("#statusbar .com-time").text()+'</span>'
+      }else{
+        hthtml += '<span class="noticetime"></span>'
+      }
+      if($("#statusbar .com-type").text()!=undefined&&$("#statusbar .com-type").text()!=""){
+        hthtml += '<span class="type">'+$("#statusbar .com-type").text()+'</span>'
+      }
+      hthtml += '</div><div class="timeaxis"><span></span></div>'
+      if(_id){
+        hthtml += '<div><a target="_blank" href="/article/content/'+_id+'.html">'
+      }else{
+        hthtml += '<div><a target="_blank" href="#">'
+      }
+      if(titleCopyDec!=""){
+        var listtitle = titleCopyDec;
+        listtitle = keyWordHighlight(listtitle,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
+        hthtml += listtitle
+      }
+      hthtml +='</a></div></div>'
+
+      $(".animathistory .htcontent").append(hthtml);
+    }
+    $(".htlist").find("a").mouseover(function(){
+      $(this).find("span").css("color","#fe7379");
+    })
+    $(".htlist").find("a").mouseout(function(){
+      $(this).find("span").css("color","#2cb7ca");
+    })
+  });
+}
+var htclosed = function(){
+  $(".animathistory").fadeOut(1000);
+}
+var htclosed_ent = function(){
+  $(".animathistory_ent").fadeOut(1000);
+}
+var publishtime = goTemplateData.params.obj.publishtime;
+var type = goTemplateData.params.obj.subtype;
+var area = goTemplateData.params.obj.area;
+//var industry = goTemplateData.params.obj.industry;
+var industry = getQueryString("industry");
+var subscopeclass = goTemplateData.params.obj.s_subscopeclass;
+var buyerclass =goTemplateData.params.obj.buyerclass;
+
+if (area !="" && area != "A"){
+  $(".com-statusbar").append('<span class="com-area"><a href="/list/area/'+goTemplateData.params.obj.areaadd+'.html">'+area+'</a></span>');
+}
+if(typeof(type) == "undefined" || type == null || type == ""){
+  type = goTemplateData.params.obj.toptype;
+}
+if(typeof(type) == "undefined" || type == null || type == ""){
+  type = goTemplateData.params.obj.type;
+  if(type == "bid"){
+    type = "中标";
+  }else if(type == "tender"){
+    type = "招标";
+  }else{
+    type = "";
+  }
+}
+if(typeof(type) != "undefined" && type != null && type != ""){
+  $(".com-statusbar").append('<span class="com-type"><a href="/list/stype/'+goTemplateData.params.obj.stypeadd+'.html">'+type+'</a></span>');
+}
+//
+if(industry && industry!="undefined"){
+  $(".com-statusbar").append('<span class="com-industry"><a href="/list/industry/'+goTemplateData.params.obj.indadd+'.html">'+industry+'</a></span>');
+}else if(subscopeclass){
+  var suclass = subscopeclass.split(",")[0];
+  $(".com-statusbar").append('<span class="com-industry"><a href="/list/industry/'+goTemplateData.params.obj.indadd+'.html">'+suclass.split("_")[0]+'</a></span>');
+}
+//
+if (goTemplateData.params.isVip || goTemplateData.params.isMember || goTemplateData.params.isEntniche){
+  if(buyerclass){
+    $(".com-statusbar").append('<span class="com-buyerclass"><a>'+buyerclass+'</a></span>');
+  }
+}
+var bidamount_class=goTemplateData.params.obj.bidamount
+var budget_class=goTemplateData.params.obj.budget
+var amount=getacount(bidamount_class,budget_class)
+if (amount!=""){
+  $(".com-statusbar").append('<span class="com-amount"><a>'+conversionMoeny(amount)+'</a></span>');
+}
+//
+if(publishtime != ""){
+  var diff = utils.dateFromNow(Number(publishtime+"000"));
+  if(diff != null){
+    $(".com-statusbar").append('<span class="com-time"><i class="glyphicon bofangjilu"></i>'+diff+'</span>');
+  }
+}
+var upno = goTemplateData.params.obj.i_upno || 0
+var downno = goTemplateData.params.obj.i_downno || 0
+var cookieup = "";
+var cookiedown = "";
+var isReqing = false;
+cookiedown=$.cookie("down" + goTemplateData.params.obj._id);
+cookieup=$.cookie("up" + goTemplateData.params.obj._id);
+var cookieID = $.cookie("id" + goTemplateData.params.obj._id)
+if (cookieID != null && cookieID == id){
+  if(cookieup == "T"){
+    $(".jyuseless").removeClass("hidden");
+    $(".jyuseful").addClass("hidden");
+  }else if(cookiedown == "T"){
+    $(".jyuseful").removeClass("hidden");
+    $(".jyuseless").addClass("hidden");
+  }
+}
+$(".jyuseful").click(function(){
+  upordown("up");
+});
+$(".jyuseless").click(function(){
+  upordown("down");
+});
+//
+function upordown(type){
+  if(isReqing){
+    return;
+  }
+  var aos = 0;
+  var aosup = 0;
+  var aosdown = 0;
+  cookiedown=$.cookie("down" + goTemplateData.params.obj._id);
+  cookieup=$.cookie("up" + goTemplateData.params.obj._id);
+  var cookieID = $.cookie("id" + goTemplateData.params.obj._id)
+  var praflag = false;
+  if (cookieID != null && cookieID == id){
+    if(type == "up"){
+      if(cookieup == "F"&& cookiedown == "T"){
+        cookieup = "T";
+        cookiedown = "F";
+        upno = Number(upno)+1;
+        $(".jyuseful span").html(upno);
+        downno = Number(downno)-1;
+        $(".jyuseless span").html(downno);
+        aosup = 1;
+        aosdown = -1;
+        praflag = true;
+        $(".jyuseless").removeClass("hidden");
+        $(".jyuseful").addClass("hidden");
+      }else if(cookieup == "T"){
+        cookieup = "F";
+        upno = Number(upno)-1;
+        $(".jyuseful span").html(upno);
+        aosup = -1;
+        praflag = true;
+        $(".jyuseless").addClass("hidden");
+        $(".jyuseful").removeClass("hidden");
+      }else if(cookieup == "F"&& cookiedown == "F"){
+        cookieup = "T";
+        upno = Number(upno)+1;
+        $(".jyuseful span").html(upno);
+        aosup = 1;
+        praflag = true;
+        $(".jyuseless").removeClass("hidden");
+        $(".jyuseful").addClass("hidden");
+      }
+    }else if(type == "down"){
+      if(cookieup == "T"&& cookiedown == "F"){
+        cookiedown = "T";
+        cookieup = "F";
+        upno = Number(upno)-1;
+        $(".jyuseful span").html(upno);
+        downno = Number(downno)+1;
+        $(".jyuseless span").html(downno);
+        aosup = -1;
+        aosdown = 1;
+        praflag = true;
+        $(".jyuseless").addClass("hidden");
+        $(".jyuseful").removeClass("hidden");
+      }else if(cookiedown == "T"){
+        cookiedown = "F";
+        downno = Number(downno)-1;
+        $(".jyuseless span").html(downno);
+        aosdown = -1;
+        praflag = true;
+        $(".jyuseful").addClass("hidden");
+        $(".jyuseless").removeClass("hidden");
+      }else if(cookieup == "F"&& cookiedown == "F"){
+        cookiedown = "T";
+        downno = Number(downno)+1;
+        $(".jyuseless span").html(downno);
+        aosdown = 1;
+        praflag = true;
+        $(".jyuseful").removeClass("hidden");
+        $(".jyuseless").addClass("hidden");
+      }
+    }
+    if(praflag){
+      isReqing = true;
+      $.ajax({
+        type:'post',
+        url:'/swordfish/praise',
+        data:{type:type,aosup:aosup,aosdown:aosdown,id:goTemplateData.params.obj._id},
+      cache:false,
+        dataType:'json',
+        success:function(data){
+        if(data.flag == "T"){
+          $.cookie("up" + goTemplateData.params.obj._id,'', { expires: -1 })
+          $.cookie("down" + goTemplateData.params.obj._id,'', { expires: -1 })
+          $.cookie("up" + goTemplateData.params.obj._id,cookieup,{expires:300});
+          $.cookie("down" + goTemplateData.params.obj._id,cookiedown,{expires:300});
+          praflag = false;
+        }
+        setTimeout(function(){
+          isReqing = false;
+        },500);
+      },
+      error: function(){
+        isReqing = false;
+      }
+    });
+    }
+  }else{
+    cookieup = "F";
+    cookiedown = "F";
+    if (type == "up"){
+      cookieup = "T";
+      upno = Number(upno)+1;
+      $(".jyuseful span").html(upno);
+      praflag = true;
+      aosup = 1;
+      $(".jyuseless").removeClass("hidden");
+      $(".jyuseful").addClass("hidden");
+    }else if (type == "down"){
+      cookiedown = "T";
+      downno = Number(downno)+1;
+      $(".jyuseless span").html(downno);
+      praflag = true;
+      aosdown = 1;
+      $(".jyuseless").addClass("hidden");
+      $(".jyuseful").removeClass("hidden");
+    }
+    if(praflag){
+      isReqing = true;
+      $.ajax({
+        type:'post',
+        url:'/swordfish/praise',
+        data:{type:type,aosup:aosup,aosdown:aosdown,id:goTemplateData.params.obj._id},
+      cache:false,
+        dataType:'json',
+        success:function(data){
+        if(data.flag == "T"){
+          $.cookie("up" + goTemplateData.params.obj._id,cookieup,{expires:300});
+          $.cookie("down" + goTemplateData.params.obj._id,cookiedown,{expires:300});
+          $.cookie("id" + goTemplateData.params.obj._id,id,{expires:300});
+          praflag = false;
+        }
+        setTimeout(function(){
+          isReqing = false;
+        },500);
+      },
+      error: function(){
+        isReqing = false;
+      }
+    });
+    }
+  }
+}
+function getQueryString(name){
+  var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
+  var r = window.location.search.substr(1).match(reg);
+  if(r != null)
+    return decodeURIComponent(r[2]);
+  return "";
+}
+function getacount(bidamount,budget){
+  if(typeof(bidamount) != "undefined" && bidamount != null && bidamount != ""){
+    return bidamount
+  }
+  if(typeof(budget) != "undefined" && budget != null && budget != ""){
+    return budget
+  }
+  return ""
+}
+//金额转化   金额:0-万元以下单位为元  ,万元以上至亿元以下单位为万元 ,亿元以上单位为亿元。保留 小数点后 2 位,不进行四舍五入。
+function conversionMoeny(money){
+  var m = ""+money;
+  var m_arr = m.split(".")
+  var m_1 = m_arr[0]
+  var len_m1 = m_1.length;
+  if (len_m1 >= 9 ){
+    m = m_1.substring(0,len_m1-8) + "." + m_1.substring(len_m1-8,len_m1-6) + "亿元"
+  } else if (len_m1 >= 5) {
+    m =m_1.substring(0,len_m1-4) + "." + m_1.substring(len_m1-4,len_m1-2) + "万元"
+  } else {
+    if(m_arr.length == 1) {
+      return m + ".00元"
+    }
+    var m_2 = m_arr[1]
+    if (m_2.length > 1) {
+      m_2 = m_2.substring(0,2)
+    } else {
+      m_2 = m_2.substring(0,1) + "0"
+    }
+    m = m_1 + "." + m_2 + "元"
+  }
+  return m
+}
+function fromwhere(text){
+  var ad="pc_articel_";
+  if (getinfotype(subtype)=="拟建项目"){
+    ad+="nj"
+  }
+  if (getinfotype(subtype)=="招标公告"){
+    ad+="zb"
+  }
+  if (getinfotype(subtype)=="中标公告"){
+    ad+="win"
+  }
+  if (getinfotype(subtype)=="其他"){
+    ad+="qt"
+  }
+  if (jQuery.inArray(text,zb_adv)!=-1){
+    ad+="_zb_"+(jQuery.inArray(text,zb_adv)+1);
+  }
+  if (jQuery.inArray(text,win_adv)!=-1){
+    ad+="_win_"+(jQuery.inArray(text,win_adv)+1);
+  }
+  if (jQuery.inArray(text,any_adv)!=-1){
+    ad+="_sj_"+(jQuery.inArray(text,any_adv)+1);
+  }
+  if (jQuery.inArray(text,nj_adv)!=-1){
+    ad+="_nj_"+(jQuery.inArray(text,nj_adv)+1);
+  }
+  return ad
+}
+
+// 附件下载
+function goDownload(url) {
+  if (!loginflag) {
+    openLoginDig()
+    return
+  }
+  // 免费用户
+  if (window.isFree) {
+    // 判断有无体验过 0:未体验过
+    if (window.freeFile == 0) {
+      // 判断有无留过资 且未体验过 - 去留资
+      vm.source = 'article_attach_freeuser'
+      vm.calcTitleText('article_attach_freeuser')
+      vm.showForm = true
+      vm.getOldInfo()
+      // vm.isNeedSubmit('article_attach_freeuser', function() {})
+    } else if (window.freeFile > 0 ){
+      // 留过资 更新下载次数 进入附件下载页面
+      location.href = url
+    } else {
+      // 免费用户 体验过 下载次数为-1 弹框提醒跳至超级订阅购买页
+      bidVue.$alert('您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
+        showClose:false,
+        center: true,
+        confirmButtonText: '去开通',
+        customClass: 'custom-alert',
+        showCancelButton: true,
+        confirmButtonClass: 'custom-confirm-btn',
+        cancelButtonClass: 'custom-cancel-btn'
+      }).then(function(){
+        location.href = '/swordfish/page_big_pc/free/svip/buy'
+      }).catch(function(){});
+    }
+  } else {
+    // 付费用户
+    // 大会员用户 有下载权限
+    if (window.memberPower.indexOf(3) > -1) {
+      location.href = url
+      return
+    }
+    // 超级订阅用户
+    if (window.vipStatus > 0) {
+      // 是新超级订阅用户
+      if (window.viper) {
+        // 有下载次数
+        if (window.fileNum > 0 ) {
+          location.href = url
+        } else {
+          // 次数用完提醒联系客服
+          bidVue.$confirm('您本月查看机会已经消耗完毕,如需要更多服务,请前往联系客服。', {
+            showClose:false,
+            center: true,
+            confirmButtonText: '取消',
+            customClass: 'custom-alert',
+            showCancelButton: true,
+            confirmButtonClass: 'custom-cancel-btn',
+            cancelButtonClass: 'custom-confirm-btn',
+            cancelButtonText: '联系客服'
+          }).then(function(data){
+
+          }).catch(function(){
+            $('.open-customer').trigger('click')
+            $('body').trigger('click')
+          });
+        }
+      } else {
+        // 老超级订阅用户 提醒升级
+        bidVue.$alert('对不起,暂无权限,您可升级超级订阅解锁附件下载', '升级超级订阅', {
+          showClose:false,
+          center: true,
+          confirmButtonText: '前往升级',
+          customClass: 'custom-alert',
+          showCancelButton: true,
+          confirmButtonClass: 'custom-confirm-btn',
+          cancelButtonClass: 'custom-cancel-btn'
+        }).then(function(){
+          location.href = '/swordfish/page_big_pc/free/svip/buy?type=upgrade'
+        }).catch(function(){});
+      }
+      return
+    }
+    //  是大会员自定义版本没有下载权限 或 非超级订阅的商机管理用户 (弹框提醒联系客服)
+    var memberNoVip = (window.memberStatus > 0 &&  window.memberPower.indexOf(3) == -1) && !(window.vipStatus > 0 && window.viper)
+    if (memberNoVip || (window.vipStatus <=0 && window.entniche)) {
+      bidVue.$alert('对不起,暂无权限,请联系客服', {
+        showClose:false,
+        center: true,
+        confirmButtonText: '我知道了',
+        customClass: 'custom-alert',
+        showCancelButton: true,
+        confirmButtonClass: 'custom-confirm-btn'
+      });
+      return
+    }
+  }
+}
+
+//超级订阅附件下载
+function cjdyDownload (fname) {
+  $.ajax({
+    type:'post',
+    //url:'/publicapply/attachment/get',
+    url:'/jypay/resourcePack/consumePack',
+    data:{
+      id:goTemplateData.params.obj._id,
+  productName:"附件下载包",
+    platform:"PC",
+    fileName:fname,
+    title:goTemplateData.params.obj.title
+},
+  success:function(data){
+    if(data){
+      if (data.r&&data.r.code&&data.r.code<0&&window.vipStatus>0){
+        // 次数用完提醒去充值
+        bidVue.$confirm('您本月附件下载机会已消耗完毕,如需下载更多附件,请前往充值。', {
+          showClose:false,
+          center: true,
+          confirmButtonText: '立即充值',
+          customClass: 'custom-alert',
+          showCancelButton: true,
+          confirmButtonClass: 'custom-confirm-btn',
+          cancelButtonClass: 'custom-cancel-btn',
+          cancelButtonText: '取消'
+        }).then(function(data){
+          location.href = '/swordfish/page_big_pc/free/filePack/buy'
+        }).catch(function(){
+          //$('.open-customer').trigger('click')
+          //$('body').trigger('click')
+        });
+      }else if ((data.m && data.m!="")||data.r["downUrl"]==undefined||data.r["downUrl"]==""){
+        bidVue.$confirm('附件下载异常,请前往联系客服。', {
+          showClose:false,
+          center: true,
+          confirmButtonText: '取消',
+          customClass: 'custom-alert',
+          showCancelButton: true,
+          confirmButtonClass: 'custom-cancel-btn',
+          cancelButtonClass: 'custom-confirm-btn',
+          cancelButtonText: '联系客服'
+        }).then(function(data){
+
+        }).catch(function(){
+          $('.open-customer').trigger('click')
+          $('body').trigger('click')
+        });
+      }else{
+        if(data.r&&fname == data.r["fileName"]){
+          if (!data.r["isExists"]){
+            $(".file-count").text($(".file-count").text()-1);
+          }
+          location.href = data.r["downUrl"]
+          //goDownload(data.r["downUrl"])
+        }
+      }
+    }
+  }
+});
+}
+window.collectSubmitCallback = function (source, data) {
+  if (source === 'article_attach_freeuser') {
+    checkBigStatus()
+  }
+}
+// 获取附件内容
+function getFileData () {
+  $.ajax({
+    type:'post',
+    url:'/bigmember/attachment/get',
+    data:{
+      infoId:goTemplateData.params.obj._id
+},
+  success:function(data){
+    // TODO 留资判断
+    if(data.data && data.data.attachment !=null && data.data.attachment.length!==0){
+      var html = ''
+      for(var i=0;i<data.data.attachment.length;i++) {
+        // html += "<div class='downs'>"+"<a class='menu_list' style='text-decoration:underline;color: #2CB7CA' onclick='goDownload(\""+data.data.attachment[i].downurl+"\")'>"+(i+1)+"."+data.data.attachment[i].filename+"</a></div>"
+        html += "<div class='downs'>"+"<a class='menu_list' style='text-decoration:underline;color: #2CB7CA'>"+(i+1)+"."+data.data.attachment[i].filename+"</a></div>"
+
+      }
+      if(html!==""){
+        $("#attach-list").css("display","").find(".download-list").html(html)
+      }
+      $(".downs").click(function (){
+        var name = $(this).find('a').text()
+        var fname = name.replace(/^\d+./, '')
+        if(window.isFree){
+          if(window.freeFile == 0){
+            // 判断有无留过资 且未体验过 - 去留资
+            // 弹窗留资弹框,第一个参数为source,第二个是留资成功后是否需要刷新页面 可不传,不传即为不刷新
+            vm.noCallApiFn('article_attach_freeuser', true)
+          }else if (window.freeFile > 0 ){
+            window.freeFile = -1
+            // 留过资 更新下载次数 进入附件下载页面
+            cjdyDownload(fname)
+          }else {
+            // 免费用户 体验过 下载次数为-1 弹框提醒跳至超级订阅购买页
+            bidVue.$alert('您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
+              showClose:false,
+              center: true,
+              confirmButtonText: '去开通',
+              customClass: 'custom-alert',
+              showCancelButton: true,
+              confirmButtonClass: 'custom-confirm-btn',
+              cancelButtonClass: 'custom-cancel-btn'
+            }).then(function(){
+              location.href = '/swordfish/page_big_pc/free/svip/buy'
+            }).catch(function(){});
+          }
+        }else{
+          // 付费用户
+          // 大会员用户 有下载权限
+          if (window.memberPower.indexOf(3) > -1) {
+            cjdyDownload(fname)
+            return
+          }
+          // 超级订阅用户
+          if (window.vipStatus > 0) {
+            // 是新超级订阅用户
+            if (window.viper) {
+              cjdyDownload(fname)
+            } else {
+              // 老超级订阅用户 提醒升级
+              bidVue.$alert('对不起,暂无权限,您可升级超级订阅解锁附件下载', '升级超级订阅', {
+                showClose:false,
+                center: true,
+                confirmButtonText: '前往升级',
+                customClass: 'custom-alert',
+                showCancelButton: true,
+                confirmButtonClass: 'custom-confirm-btn',
+                cancelButtonClass: 'custom-cancel-btn'
+              }).then(function(){
+                location.href = '/swordfish/page_big_pc/free/svip/buy?type=upgrade'
+              }).catch(function(){});
+            }
+            return
+          }
+          //  是大会员自定义版本没有下载权限 或 非超级订阅的商机管理用户 (弹框提醒联系客服)
+          if ((window.memberStatus > 0 &&  window.memberPower.indexOf(3) == -1) || (window.vipStatus <=0 && window.entniche)) {
+            bidVue.$alert('对不起,暂无权限,请联系客服', {
+              showClose:false,
+              center: true,
+              confirmButtonText: '我知道了',
+              customClass: 'custom-alert',
+              showCancelButton: true,
+              confirmButtonClass: 'custom-confirm-btn'
+            });
+            return
+          }else if(window.memberStatus > 0 &&  window.memberPower.indexOf(3) == -1){
+            if(window.vipStatus > 0 && window.fileNum >0){
+              $('.super-vip-show').show()
+              cjdyDownload(fname)
+            }
+          }
+        }
+        // cjdyDownload()
+      })
+      // $(".downs").click(function (){
+      //
+      // })
+    }
+  }
+});
+}
+
+// $(".menu_list").click(function (){
+//
+// })
+
+// 根据isAdd接口 展示附件部分dom
+function showFileSomeDom () {
+  // 免费用户展示可下载一次提示(免费用户且没有体验过附件下载权益的展示)
+  if (window.isFree) {
+    if (window.freeFile == 0) {
+      $('.free-download').css('display', 'inline-block')
+      $('.free-go-open').hide()
+    } else {
+      $('.free-go-open').css('display', 'inline-block')
+      $('.free-download').hide()
+    }
+  }
+  // 新超级订阅用户
+  if (window.vipStatus > 0 && window.viper) {
+    $('.super-vip-show').show()
+    $('.super-vip-show .file-count').html(window.fileNum)
+    $('.recharge-new').unbind("click").bind("click",function(){
+      //超级订阅附件下载立即充值页面
+      window.open("/swordfish/page_big_pc/free/filePack/buy")
+    })
+  }
+  // 大会员隐藏次数
+  if(window.memberStatus >0 && window.memberPower.indexOf(3) >= 0){
+    $('.super-vip-show').hide()
+  }
+}
+var isEntnicheNew = goTemplateData.params.isEntnicheNew
+var isHasBuyer = goTemplateData.params.obj.buyer
+console.log(isEntnicheNew, isHasBuyer)
+// 新商机管理用户是否认领该采购单位
+function getClaimStatus() {
+  if (!isEntnicheNew || !isHasBuyer) return
+  var params = {
+    names:goTemplateData.params.obj.buyer
+}
+  $.ajax({
+    type:'post',
+    url:'/entnicheNew/customer/claimcheck',
+    contentType: "application/json",
+    data: JSON.stringify(params),
+    success: function(res){
+      if (res.data) {
+        if (res.data.iscoll) {
+          $('.claim').addClass('claim-yes').removeClass('claim-no').text('已认领')
+          // 认领
+          $('.claim-yes').unbind('click').click(function() {
+            cancelClaim()
+          })
+        } else {
+          $('.claim').addClass('claim-no').removeClass('claim-yes').text('认领')
+          // 认领
+          $('.claim-no').unbind('click').click(function(e) {
+            var top = e.target.offsetParent.offsetTop + 50
+            var left = e.target.offsetLeft
+            $('#entNicheTags.tags-box').show().css({'top': top, 'left': left})
+            geEntNicheUserTags()
+            // 点击确定按钮,绑定标签
+            $('#entNicheTags .tags-footer .button-confirm').on('click', function () {
+              if (!$('#entNicheTags.tags-box').is(':hidden')){
+                var lids = ""
+                var lname = ""
+                $('#entNicheTags .tags-item.tags-active').each(function() {
+                  if ($(this).attr('data-id')){
+                    if(lids != ""){
+                      lids += ",";
+                    }
+                    if(lname != "") {
+                      lname+= ",";
+                    }
+                    lids += $(this).attr('data-id');
+                    lname += $(this).text()
+                  }
+                })
+                let lidArr = []
+                activeTags.forEach(v => {
+                  lidArr.push(v.lid)
+                })
+                var params = {
+                  name: goTemplateData.params.obj.buyer,
+                mold: 1,
+                  D: false,
+                  label: lidArr.toString()
+              }
+                console.log(params)
+                // 执行保存绑定标签操作
+                if (params.name !== '') {
+                  confirmClaim(params, function(res) {
+                    if (res.data) {
+                      toastFn('认领成功', 1000)
+                      $('.claim').addClass('claim-yes').removeClass('claim-no').text('已认领')
+                      getClaimStatus()
+                    } else {
+                      toastFn(res.error_msg)
+                    }
+                    $('#entNicheTags .tags-footer .button-cancel').trigger('click')
+                  })
+                }
+              }
+            })
+            // confirmClaim()
+          })
+        }
+      }
+    }
+  })
+}
+// 新商机管理-认领采购单位
+function confirmClaim (params, callback) {
+  if (!isEntnicheNew || !isHasBuyer) return
+  $.ajax({
+    type:'post',
+    url:'/entnicheNew/customer/attention',
+    contentType: "application/json",
+    data: JSON.stringify(params),
+    success: function(res){
+      if (res.error_code == 0) {
+        callback && callback(res)
+      } else {
+        console.log(res.error_msg)
+      }
+    }
+  })
+}
+// 新商机管理-取消认领采购单位
+function cancelClaim() {
+  if (!isEntnicheNew || !isHasBuyer) return
+  var params = {
+    name:goTemplateData.params.obj.buyer,
+  mold: 1,
+    D: true, // false:认领 true:取消认领
+}
+  $.ajax({
+    type:'post',
+    url:'/entnicheNew/customer/attention',
+    contentType: "application/json",
+    data: JSON.stringify(params),
+    success: function(res){
+      if (res.error_code == 0) {
+        if (res.data) {
+          toastFn('已取消认领', 1000)
+          $('.claim').addClass('claim-no').removeClass('claim-yes').text('认领')
+          getClaimStatus()
+        } else {
+          toastFn(res.error_msg)
+        }
+      }
+    }
+  })
+}
+$(function() {
+  getClaimStatus()
+  getFileData();
+  // 定时取login.js里isAdd接口返回的用户身份(暴露给window变量) 取到清除定时器
+  var timer = null
+  clearInterval(timer)
+  timer = setInterval(() => {
+    if (window.isLogin) {
+      //console.log(window.vipStatus, window.isFree,window.freeFile,window.viper, window.entniche, window.memberStatus,window.memberPower,'11')
+      showFileSomeDom()
+      clearInterval(timer)
+    }
+  }, 1000);
+  // 下载提示
+  $('.file-icon-help').click(function() {
+    bidVue.$alert('点击附件即为下载,系统会扣除当月附件下载个数;每月1号上月余额清零重新计算,请合理使用。',  {
+      showClose:false,
+      center: true,
+      confirmButtonText: '我知道了',
+      customClass: 'custom-alert',
+      confirmButtonClass: 'custom-confirm-btn'
+    });
+  })
+  // 免费下载一次点击
+  $('.free-download').click(function() {
+    // 弹窗留资弹框,第一个参数为source,第二个是留资成功后是否需要刷新页面 可不传,不传即为不刷新
+    vm.noCallApiFn('article_attach_freeuser', true)
+  })
+  // 控制正文下table里没有内容 但有标签时取消其样式
+  $('.com-detail table').each(function(){
+    var tableText = $(this).text()
+    if (tableText.trim() == '') {
+      $(this).children().children().children('td').css({
+        'padding': '0'
+      })
+    }
+  })
+})

+ 441 - 0
src/web/staticres/public-pc/js/baiducc.js

@@ -0,0 +1,441 @@
+var _hmt = _hmt || [];
+var advUrl = window.location.href;
+if (is_weixin()) {
+  if (window.location.pathname.indexOf("/article/content/") > -1) {
+    _hmt.push(['_setAutoPageview', false]);
+    _hmt.push(['_trackPageview', '/wx' + window.location.pathname]);
+  }
+}
+(function () {
+  var host = location.host
+  var hm = document.createElement("script");
+  var patterns = {
+    ip: /((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}/g,
+    // testServer: /(^web-|jytest|jydev)/g,  // 以web-开头的、包含jytest或者jydev的域名
+    testServer: /jianyu360\.cn$/g
+  }
+  // ip或者以jianyu360.cn结尾的使用测试环境百度统计
+  if (patterns.ip.test(host) || patterns.testServer.test(host)) {
+    // 测试环境
+    hm.src = "https://hm.baidu.com/hm.js?52c42de35032567eb9d7a24a43c84bda";
+  } else {
+    // 正式环境
+    hm.src = "https://hm.baidu.com/hm.js?72331746d85dcac3dac65202d103e5d9";
+  }
+  var s = document.getElementsByTagName("script")[0];
+  s.parentNode.insertBefore(hm, s);
+})();
+
+function is_weixin() {
+  var ua = window.navigator.userAgent.toLowerCase();
+  if (ua.match(/MicroMessenger/i) == 'micromessenger') {
+    return true;
+  } else {
+    return false;
+  }
+}
+
+function adv_statistics(e) {
+  var advName = $(e).attr("adv_name");
+  var ad = "广告"
+
+  _hmt.push(['_trackEvent', ad, 'click', advName]);
+  grafana_statistics(advName);
+  // console.log(advName)
+  var dataHref = $(e).find("a").attr("dataHref") || $(e).find("a").attr("datahref")
+  var isOriginal = $(e).find("a").text().indexOf('阅读原文') !== -1
+  if (typeof dataHref != 'undefined' && dataHref) {
+    var isWeiXinBrowser = navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
+    if (isWeiXinBrowser && isOriginal) {
+      $.ajax({
+        url: '/salesLeads/retainedCapital?t=' + new Date().getTime(),
+        type: 'POST',
+        data: {source: 'article_original'},
+        success: function (r) {
+          if (r && r.error_msg === '' && r.data) {
+            if (r.data.retainedCapital) {
+              vKeepComponent.$dialog.confirm({
+                message: '为给您匹配精准的推荐信息,请完善个人信息,免费查看原文',
+                className: 'ent-search-dialog max-54 add-close-after',
+                overlayClass: 'z-2030',
+                showCancelButton: false,
+                confirmButtonText: '立即前往',
+              }).then(function () {
+                sessionStorage.setItem('salesBackData', JSON.stringify({
+                  type: 'article_original',
+                  url: dataHref
+                }))
+                location.href = '/weixin/frontPage/bigmember/free/perfect_info?origin=article_original'
+              }).catch(function () {
+              });
+              $("body").on('click', '.add-close-after .van-dialog__content', function (e) {
+                vKeepComponent.$dialog.close()
+              })
+            } else {
+              location.href = dataHref
+            }
+          } else {
+            location.href = dataHref
+          }
+        },
+        error: function () {
+          location.href = dataHref
+        }
+      })
+    } else {
+      window.open(dataHref);
+    }
+  }
+}
+
+function grafana_statistics(advName) {
+  var obj = {
+    "pccontent_bottom": "PC快照页-底部",
+    "pccontent_right": "PC快照页-右部",
+    "pcsearch_bottom": "PC搜索列表页-底部",
+    "jy_pc_index_bottom": "PC首页广告位-底部",
+    "wxcontent_bottom": "微信快照页-底部",
+    "wxpush_middle": "微信推送历史页-中部",
+    "wxsearch_middle": "微信搜索列表页-中部",
+    "appcontent_bottom": "APP快照页-底部",
+    "apppush_middle": "APP推送历史页-中部",
+    "appsearch_middle": "APP搜索列表页-中部",
+    "wxswiper_one": "微信搜索页轮播图1",
+    "wxswiper_two": "微信搜索页轮播图2",
+    "wxswiper_three": "微信搜索页轮播图3",
+    "wxswiper_four": "微信搜索页轮播图4",
+    "appswiper_one": "APP搜索页轮播图1",
+    "appswiper_two": "APP搜索页轮播图2",
+    "appswiper_three": "APP搜索页轮播图3"
+  }
+  if (advName !== "") {
+    for (var i in obj) {
+      if (advName === obj[i]) {
+        $.ajax({
+          type: "get",
+          url: "/front/grafanaStatistics?advName=" + i
+        })
+      }
+    }
+  }
+}
+
+// 荟聚工具函数
+var jyPageMaps = {
+  maps: [{"name": "页面名称", "id": "页面ID", "url": "页面链接",}, {
+    "name": "招标搜索",
+    "id": "supsearch",
+    "url": "/jylab/supsearch/index.html"
+  }, {"name": "企业搜索", "id": "entsearch", "url": "/jylab/entSearch/index.html"}, {
+    "name": "标讯详情页",
+    "id": "article_content",
+    "url": "/article/content/"
+  }, {"name": "企业画像", "id": "entportrait", "url": "/swordfish/page_big_pc/ent_portrait/"}, {
+    "name": "采购单位画像",
+    "id": "unitportrait",
+    "url": "/swordfish/page_big_pc/unit_portrayal/"
+  }, {"name": "超级订阅落地页", "id": "supersubscribe_landpage", "url": "/front/subscribe.html"}, {
+    "name": "数据_自主导出_条件筛选",
+    "id": "dataexport_tosieve",
+    "url": "/front/dataExport/toSieve"
+  }, {
+    "name": "数据_自主导出_订单支付",
+    "id": "dataexport__tocreateorder",
+    "url": "/front/dataExport/toCreateOrderPage/"
+  }, {
+    "name": "数据_定制服务(招标大数据)",
+    "id": "structeddata_landpage",
+    "url": "/front/structed/pc_index.html"
+  }, {"name": "中标必听课", "id": "courselist", "url": "/jyxspc"}, {
+    "name": "中标必听课_课程详情页",
+    "id": "course_content",
+    "url": "/jyxspc/courser_details"
+  }, {"name": "中标必听课_课程详情页_购买", "id": "coursebuy", "url": "/jyxspc/buy_courser"}, {
+    "name": "招标文件解读",
+    "id": "bidfile_landpage",
+    "url": "/bid/pc/page/bidfile_landpage"
+  }, {"name": "招标文件解读_查看历史记录", "id": "bidfile_historylist", "url": "/bid/pc/page/bidfile_list"}, {
+    "name": "剑鱼文库列表页面",
+    "id": "doclist",
+    "url": "/swordfish/docs"
+  }, {"name": "剑鱼文库_文章详情页", "id": "docs_content", "url": "/swordfish/docs/content/"}, {
+    "name": "大会员落地页",
+    "id": "bigvip_landpage",
+    "url": "/big/page/index"
+  }, {"name": "中标预测", "id": "ai_search", "url": "/swordfish/page_big_pc/ai_search"}, {
+    "name": "中标预测分析页面",
+    "id": "ai_search_analysis",
+    "url": "/swordfish/page_big_pc/ai_add"
+  }, {
+    "name": "投标决策分析",
+    "id": "decision_search",
+    "url": "/swordfish/page_big_pc/analysis_search"
+  }, {
+    "name": "投标决策分析_采购内容设置",
+    "id": "decision_search_set",
+    "url": "/swordfish/page_big_pc/set_scope"
+  }, {
+    "name": "投标决策分析_分析结果页面",
+    "id": "decision_analysis",
+    "url": "/swordfish/page_big_pc/analysis_result"
+  }, {"name": "潜在项目预测", "id": "project_forecast", "url": "/swordfish/page_big_pc/forecast_list"}, {
+    "name": "潜在客户挖掘",
+    "id": "potential_customer",
+    "url": "/swordfish/page_big_pc/potential_cor_list/c"
+  }, {
+    "name": "潜在竞争对手_/_合作伙伴挖掘",
+    "id": "potential_rivil&partner",
+    "url": "/swordfish/page_big_pc/potential_rival_list/r"
+  }, {"name": "我的数据_我的数据流量包", "id": "mydatapack", "url": "/front/dataPack/index"}, {
+    "name": "我的数据_数据导出记录",
+    "id": "mydatapack_historylist",
+    "url": "/front/dataPack/index?type=history"
+  }, {"name": "我的文库", "id": "mydocs", "url": "/swordfish/docs/user/docs"}, {
+    "name": "文库收藏",
+    "id": "docs_collection",
+    "url": "/swordfish/docs/user/collections"
+  }, {"name": "我的剑鱼币", "id": "mycoins", "url": "/swordfish/integral/index"}, {
+    "name": "我的剑鱼币_查看明细",
+    "id": "mycoins_detail",
+    "url": "/swordfish/integral/index/detail"
+  }, {"name": "充值剑鱼币", "id": "coins_recharge", "url": "/swordfish/integral/index/recharge"}, {
+    "name": "我的奖券",
+    "id": "mycoupons",
+    "url": "/swordfish/coupon/"
+  }, {"name": "我的订单", "id": "myorders", "url": "/front/swordfish/toMyOrder"}, {
+    "name": "标讯收藏",
+    "id": "peugeot_collection",
+    "url": "/swordfish/frontPage/collection/sess/index"
+  }, {"name": "我的_大会员", "id": "mybigvip_landpage", "url": "/swordfish/page_big_pc"}, {
+    "name": "大会员订阅管理",
+    "id": "bigvip_subscribe_set",
+    "url": "/swordfish/page_big_pc/set_subscribe/config"
+  }, {
+    "name": "大会员周报",
+    "id": "bigvip_subreport_month",
+    "url": "/swordfish/page_big_pc/bigvip_subreport_week"
+  }, {
+    "name": "大会员月报",
+    "id": "bigvip_subreport_month",
+    "url": "/swordfish/page_big_pc/bigvip_subreport_month"
+  }, {"name": "企业情报监控", "id": "ent_follow", "url": "/swordfish/page_big_pc/ent_follow"}, {
+    "name": "解决方案_电信解决方案",
+    "id": "telecomsolution_landpage",
+    "url": "/swordfish/frontPage/solution/free/index"
+  }, {"name": "商务合作", "id": "busicooperation_landpage", "url": "/front/busicooperation.html"}, {
+    "name": "广告服务",
+    "id": "advservices_landpage",
+    "url": "/front/advservices.html"
+  }, {"name": "关于我们", "id": "aboutus_landpage", "url": "/front/aboutus.html"}, {
+    "name": "产品销售合作",
+    "id": "salescooperation_andpage",
+    "url": "/swordfish/frontPage/partner/free/index"
+  }, {
+    "name": "标书编写",
+    "id": "bidedocwrite_landpage",
+    "url": "/swordfish/frontPage/bidedoc/free/index"
+  }, {"name": "剑鱼标讯博客", "id": "jyblog", "url": "/jyblog/index.html"}, {
+    "name": "剑鱼标讯博客详情页",
+    "id": "jyblog_content",
+    "url": "/jyblog"
+  }, {"name": "剑鱼币_查看明细", "id": "mycoins_detail", "url": "/page_points_mobile/list"}, {
+    "name": "赚剑鱼币介绍页",
+    "id": "makecoins_introduction",
+    "url": "/page_points_mobile/home"
+  }, {"name": "充值剑鱼币", "id": "coins_recharge", "url": "/page_points_mobile/pay"}, {
+    "name": "我的订单",
+    "id": "myorders",
+    "url": "/weixin/pay/toMyWxOrder"
+  }, {"name": "标讯收藏", "id": "peugeot_collection", "url": "/weixin/frontPage/collection/sess/index"}, {
+    "name": "我的文库",
+    "id": "mydocs",
+    "url": "/page_docs_mobile/user/lib"
+  }, {"name": "文库收藏", "id": "docs_collection", "url": "/page_docs_mobile/user/lib"}, {
+    "name": "我的数据流量包",
+    "id": "mydatapack",
+    "url": "/swordfish/dataPack/myIndex"
+  }, {"name": "数据导出记录", "id": "mydatapack_historylist", "url": "/swordfish/dataPack/recordList"}, {
+    "name": "我的奖券",
+    "id": "mycoupons",
+    "url": "/weixin/frontPage/coupon/free/myCoupon"
+  }, {"name": "首页", "id": "frompage", "url": "/jylab/mainSearch"}, {
+    "name": "首页",
+    "id": "frompage",
+    "url": "/jyapp/jylab/mainSearch"
+  }, {"name": "标讯详情页", "id": "article_content", "url": "/jyapp/article/content"}, {
+    "name": "超级订阅首页",
+    "id": "supersubscribe_landpage",
+    "url": "/jyapp/swordfish/historypush"
+  }, {
+    "name": "超级订阅管理",
+    "id": "supsubscribe_set",
+    "url": "/jyapp/vipsubscribe/toSubVipSetPage?vSwitch=v"
+  }, {"name": "我的企业", "id": "myent", "url": "/page_entniche/ent/enterprise"}]
+}
+var jyClabUtils = {
+  platform: 'pc',
+  params: {
+    "summary": document.title + ' (' + location.href + ')'
+  },
+  init: function () {
+    this.platform = this.getPlatform()
+    this.getPageInfo()
+    if (this.getCookie('ud_safe')) {
+      this.params.identityType = "c_uid"
+      this.params.identityValue = this.getCookie('ud_safe')
+    }
+    if (typeof jQuery === 'function') {
+      $(window).on('popstate hashchange', this.getPageInfo.bind(this))
+    }
+  },
+  findMapsForUrl: function (url) {
+    var tempReuslt = []
+    jyPageMaps.maps.forEach(function (v) {
+      if (url.indexOf(v.url) !== -1) {
+        tempReuslt.push(v)
+      }
+    })
+    return tempReuslt.sort(function (a, b) {
+      return b.url.length - a.url.length
+    })
+  },
+  getPageInfo: function () {
+    var tempInfo = this.findMapsForUrl(location.href)
+    if (location.pathname === '/') {
+      tempInfo = [
+        {
+          "name": "首页",
+          "id": "frompage",
+          "url": "/"
+        }
+      ]
+    }
+    if (tempInfo && tempInfo[0]) {
+      this.params.targetName = tempInfo[0].name
+      this.params.pageId = tempInfo[0].id
+    }
+  },
+  getNowPageInfo: function () {
+    var params = JSON.parse(JSON.stringify(this.params))
+    if (params.pageId) {
+      params.pageId = this.platform + '_' + params.pageId
+    }
+    return params
+  },
+  getPlatform: function () {
+    var platform = 'pc'
+    if (this.isApp()) {
+      platform = 'app'
+    } else if (this.isWeChatWeb()) {
+      platform = 'wx'
+    }
+    return platform
+  },
+  isWeChatWeb: function () {
+    return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
+  },
+  isApp: function () {
+    var isApp = false
+    try {
+      isApp = Boolean(JyObj.getVersion())
+    } catch (e) {
+      isApp = false
+    }
+    return isApp
+  },
+  getCookie: function (name) {
+    var tempFn = typeof getCookie === 'function' ? getCookie : this.getCookieSpare
+    return tempFn(name)
+  },
+  getCookieSpare: function (name) {
+    var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
+    if (arr = document.cookie.match(reg))
+      return unescape(arr[2]);
+    else
+      return null;
+  }
+}
+
+try {
+  jyClabUtils.init()
+
+  function initClabTracker() {
+    var trackURL = "https://cbe.huiju.cool/cbe/collect?tid=281617177&at=0&h=web"
+
+    function loadJS(url, success) {
+      var scripts = document.getElementsByTagName('script')
+      for (var i = 0; i < scripts.length; i++) {
+        if (scripts[i].src && scripts[i].src.indexOf(url) > -1) {
+          if (success) success();
+          return;
+        }
+      }
+      var domScript = document.createElement('script');
+      domScript.src = url;
+      success = success || function () {
+      };
+      domScript.onload = domScript.onreadystatechange = function () {
+        if (!this.readyState || 'loaded' === this.readyState || 'complete' === this.readyState) {
+          success();
+          this.onload = this.onreadystatechange = null;
+          //this.parentNode.removeChild(this);
+        }
+      }
+      document.getElementsByTagName('head')[0].appendChild(domScript);
+    }
+
+    function checkHasJquery() {
+      if (typeof jQuery === 'undefined') {
+        return false
+      }
+      return $.fn.jquery
+    }
+
+    /* 拦截 clab_chunk 注入 */
+    var injectionTrackStatus = true
+    if (injectionTrackStatus) {
+      var tempCAppend = document.head.appendChild
+      document.head.appendChild = function (t) {
+        if (t.tagName === 'SCRIPT' && t.src.indexOf('cbe.huiju.cool/cbe/clab_chunk.js') !== -1) {
+          t.src = goTemplateData.cdn + '/common-module/track/clab_chunk.js'
+        }
+        return tempCAppend.bind(this)(t)
+      }
+    }
+
+
+    /* 注册荟聚SDK */
+    function registerClabTarcker(tracker) {
+      if (typeof tracker !== 'undefined' && typeof tracker.track === 'function') {
+        clab_tracker = tracker
+      }
+      if (typeof clab_tracker !== 'undefined' && typeof clab_tracker.track === 'function') {
+        clab_tracker.ready(function () {
+          this.push({"pageType": "web"});
+          this.track("open_page", jyClabUtils.getNowPageInfo());
+        })
+        /* 自定义事件传递 */
+        if (checkHasJquery()) {
+          $('body').on('click', '*[data-cl-event]', function () {
+            clab_tracker && clab_tracker.track($(this).attr('data-cl-event'))
+          })
+        }
+      }
+    }
+
+    /* 判断环境 */
+    if (typeof System !== 'undefined' && typeof System.import === 'function') {
+      System.import(trackURL).then(registerClabTarcker);
+    } else {
+      loadJS(trackURL, registerClabTarcker)
+    }
+  }
+
+  // 荟聚
+  initClabTracker()
+} catch (error) {
+  console.log(error)
+}
+// 将版本号存至本地缓存,供vue单页面程序获取
+localStorage.setItem('jyVersion-to-vue', goTemplateData.version)
+

+ 309 - 0
src/web/staticres/public-pc/js/header-nav.js

@@ -0,0 +1,309 @@
+// 初始化message模块内容
+var message = new Message()
+
+function zbSeatch(id){
+  $("#"+id).submit();
+}
+
+// 切换底部滑块line
+function index(el) {
+  if (!el) return -1;
+  var i = 0;
+  do {
+    i++;
+  } while (el = el.previousElementSibling);
+  return i;
+}
+
+var firstTheme = '',firstPage = true;
+function setNavTheme (type) {
+  var el = document.getElementById("public-nav")
+  el.setAttribute('data-theme', type || 'light')
+  if(firstPage){
+    firstPage = false;
+    firstTheme = el.getAttribute('data-theme')
+  }
+}
+function trySelectNav (name) {
+  try {
+    if(name == '解决方案') {
+      name = '电信行业解决方案'
+    }
+    var activeDom = document.querySelector("#public-nav .jynav li .jynav-list span[name='"+ name +"']")
+    activeDom.parentNode.parentNode.className = 'active'
+    activeDom.className += ' active'
+  } catch (e) {
+    document.querySelector(".public-nav .jynav .slider").style.display = 'none'
+  }
+}
+;(function () {
+  function navInit(){
+    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',
+        '/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')
+      }
+      if(window.location.pathname == ('/swordfish/integral/index')){
+        setNavTheme('dark')
+        $("body").css({
+          "height":"auto",
+          "overflow":"hidden"
+        })
+      }
+      var naParams = window.location.search
+      if(naParams.indexOf('?name=bbx_')>-1){
+        var urlArr = naParams.split('=')
+        trySelectNav(urlArr[1])
+      }else{
+        trySelectNav(isEnableCheck.content)
+      }
+    } else {
+      if ((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)) {
+        setNavTheme('light')
+      } else {
+        setNavTheme('dark')
+      }
+    }
+
+    // 导航栏是否固定
+    var noFixedArr = ['/article/indexcontent','/article/content', '/article/mailprivate']
+    var hasPage = noFixedArr.some(function (v) {
+      return $href.indexOf(v) !== -1
+    })
+    if(hasPage){
+      $("#public-nav").css("position","relative")
+      setNavTheme('light')
+    }
+  }
+  navInit()
+
+})();
+function docScroll(e){
+  var $href = window.location.href;
+  var opa = $(document).scrollTop() / 150
+  var curTheme =$("#public-nav").attr('data-theme')
+  if(opa >= 1){
+    setNavTheme('light')
+    $(".loginBtn").css({"border-color":"#e0e0e0","color":"rgb(37, 38, 39)"});
+    $(".loginBtn").attr("onmouseover","this.style.borderColor='#2cb7ca'; this.style.color='#2cb7ca';");
+    $(".loginBtn").attr("onmouseout","this.style.borderColor='#e0e0e0'; this.style.color='#252627';");
+  }else {
+    if(window.location.pathname == ('/swordfish/integral/index')){
+      setNavTheme('dark')
+    }
+    if(firstTheme === 'dark'){
+      setNavTheme('dark')
+      $(".loginBtn").css('color','#fff')
+      $(".loginBtn").attr("onmouseover","this.style.borderColor='#2cb7ca'; this.style.color='#2cb7ca';");
+      $(".loginBtn").attr("onmouseout","this.style.borderColor='#fff'; this.style.color='#fff';");
+    }
+  }
+
+}
+window.addEventListener('scroll', docScroll, true)
+
+$(function(){
+
+  // 搜索框显示、隐藏
+  $("#public-nav .iner .fl .jy_nav_searchBtn").on("click",function(){
+    $(this).hide()
+    $("#public-nav .iner .fl .search-box").show()
+  })
+  $("#public-nav .iner .fl .search-box .search-close").on('click',function(){
+    $(this).parents('.search-box').hide()
+    $("#public-nav .iner .fl .jy_nav_searchBtn").show()
+  })
+
+  // 导航栏展示/关闭
+  var curTheme = 'light'
+  $("#public-nav .iner .jynav li").bind("mouseenter",function(){
+    var l = $(this).find('.jynav-list').length;
+    if(l > 0){
+      //  隐藏消息悬浮窗
+      $('#public-nav .iner .jynav li').find('.jy-list-msg').hide()
+      $(this).find('.jynav-list').toggle()
+      $(this).find('.msg-img1').hide()
+      $(this).find('.msg-img2').show()
+
+      $(this).siblings().find('.jynav-list').hide()
+      curTheme =$("#public-nav").attr('data-theme')
+      setNavTheme('light',1)
+      $(".loginBtn").css({"borderColor":"#e0e0e0","color":'#252627'})
+    }
+  })
+  $("#public-nav .iner .jynav li").bind("mouseleave",function(){
+    setNavTheme(curTheme,1)
+    docScroll()
+
+    //  隐藏消息悬浮窗
+    $('#public-nav .iner .jynav li').find('.jy-list-msg').show()
+
+    $("#public-nav .iner .jynav li").find('.jynav-list').hide()
+    $(this).find('.msg-img1').show()
+    $(this).find('.msg-img2').hide()
+  })
+
+
+  var href = window.location.pathname;
+  $("#myModal").on("show.bs.modal", function () {
+    //$(".public-nav").css({"padding-right":"17px"});
+  })
+  $("#myModal").on("hidden.bs.modal", function () {
+    $(".public-nav").css({"padding-right":""});
+  })
+  $("#myModal-01").on("show.bs.modal", function () {
+    //$(".public-nav").css({"padding-right":"17px"});
+  })
+  $("#myModal-01").on("hidden.bs.modal", function () {
+    $(".public-nav").css({"padding-right":""});
+  })
+  if (href.indexOf("subscribe")>-1||href.indexOf("advservices")>-1||href.indexOf("aboutus")>-1||href.indexOf("busicooperation")>-1){
+    $(".search").show();
+  }
+  if(href.indexOf("jylab/bidsearchforent/index.html")>-1){
+    return;
+  }
+
+  $(document).on('keydown', function(e){
+    if(e.keyCode == "13"){
+      if($("#bidLogin").is(":visible")){
+        return;
+      }
+      zbSeatch('zbSeatchIndex');
+      //将搜索次数记录cookie
+      $.cookie("selectNum",1, { expires: 1 });
+    };
+  });
+})
+
+$("#xspc").click(function(){
+  window.location.href=$(this).attr("datahref");
+})
+$("#dataExport").click(function(){
+  //清除筛选条件页面的相应session-20190102
+  for(var i in sessionStorage){
+    if(sessionStorage.hasOwnProperty(i) && /^sieve_/.test(i)){
+      sessionStorage.removeItem(i);
+    }
+  }
+  if(!loginflag){
+    $(".code-text").html('<span style="font-size: 22px;margin-top: 10px;display: inline-block;color:#252627;font-weight:normal;"><img id="wxpng" src="/images/wx1.png">请先微信扫码登录</span>')
+    $("#bidLogin").attr("data-rec","sjdc");
+    $("#bidLogin").modal("show");
+  }else {
+    window.location.href=$(this).attr("datahref");
+  }
+})
+$("#jyDocs").click(function(){
+  if(!loginflag){
+    $(".code-text").html('<span style="font-size: 22px;margin-top: 10px;display: inline-block;color:#252627;font-weight:normal;"><img id="wxpng" src="/images/wx1.png">请先微信扫码登录</span>')
+    $("#bidLogin").attr("data-rec","jydocs");
+    $("#bidLogin").modal("show");
+  }else {
+    window.location.href=$(this).attr("datahref");
+  }
+})
+
+// 点击解决方案跳转
+$('.navDX').click(function() {
+  location.href = '/swordfish/frontPage/solution/free/index'
+})
+
+
+
+//隐藏弹窗
+$("body").click(function(event){
+  //$(".QRLogin").hide();
+  //获取鼠标点击目标
+  var target = $(event.target);
+  //点击目标为头像 弹出或关闭用户信息列表
+  if(target.is('img[class*=imgShow]')){
+    $(".infoList").toggle();
+    //$(".infoList").css({
+    //	'boxShadow': '0px 0px 10px rgba(0,0,0, .15)'
+    //});
+  }else{
+    //点击body隐藏
+    $(".infoList").hide();
+  }
+})
+$(function(){
+  commonMouseEvent();
+  $('.useronline').on('mouseover',function(){
+    $(".infoList").show();
+  }).mouseout(function(){
+    $(".infoList").hide();
+  })
+})
+function commonMouseEvent(){
+  $('.exitDiv,.myorderDiv').on('mouseover',function(){
+    $(this).css({'backgroundColor':'#f4f4f7','color':'#2cb7ca'})
+  })
+  $('.infoList').on('mouseover',function(){
+    //$(this).css({
+    //	'boxShadow': '0px 0px 10px rgba(0,0,0, .15)'
+    //});
+
+  }).mouseout(function(){
+    //$(this).css({
+    //	'boxShadow': 'none'
+    //});
+    $('.exitDiv,.myorderDiv').css({
+      'backgroundColor':'#fff',
+      'color':'#1d1d1d'
+    });
+  })
+}
+function infoListCss(){
+  var $useronline = $('.useronline');
+  var $infoList = $('.infoList');
+  $useronline.css('position','relative');
+  $infoList.css({
+    'position':'absolute',
+    'left':'-109px',
+    'top':'42px',
+    'z-index':'999',
+    'cursor': 'pointer',
+    'height':'auto',
+    'min-width':'152px',
+    'box-shadow':' 0 0 20px rgba(0,0,0, .2)'
+  })
+  $('.userInfo .one').css({
+    'display': 'inline-block',
+    'width': '0px',
+    'height': '0px',
+    'border': '1px solid #ccc',
+    'position': 'absolute',
+    'left': '119px',
+    'top': '-11px',
+    'border-width': '6px',
+    'border-color': 'transparent transparent #e0e0e0 transparent'
+  })
+
+  $('.userInfo .two').css({
+    'display': 'inline-block',
+    'width': '0px',
+    'height': '0px',
+    'border': '1px solid #fff',
+    'position': 'absolute',
+    'left': '119px',
+    'top': '-10px',
+    'border-width': '6px',
+    'border-color': 'transparent transparent #fff transparent',
+    'z-index': '99'
+  })
+}

+ 4 - 0
src/web/staticres/public-pc/js/header.js

@@ -0,0 +1,4 @@
+// 屏蔽console.log输出, 如需查看手动 localStorage.setItem('env', 'development') 刷新页面
+if (localStorage.getItem('env') !== 'development') {
+  console.log = function () {}
+}

+ 337 - 0
src/web/staticres/public-pc/js/pc-bottom.js

@@ -0,0 +1,337 @@
+$(".jy_classify_list ul li").mouseenter(function(){
+  $(".jy_classify_list ul li").removeClass('active')
+  $(".jy_classify_list ul li div").hide()
+  $(this).addClass('active')
+  $(this).find('div').show()
+})
+// qq分享
+function pcShare(){
+  this.flag = false;
+  var thisCla = this;
+  if(!thisCla.flag){
+    loadJS(goTemplateData.cdn + "/js/bdshare.js?v=20210521.js?cdnversion="+~(-new Date()/36e5),function(){});
+    $("#share-sqq").click(function(e){
+      document.getElementById('bds_sqq').click();
+    });
+    thisCla.flag = true;
+  }
+}
+if (location.href.indexOf('jyblog') === -1) {
+  new pcShare()
+}
+
+function IEVersion() {
+  var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
+  var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器
+  var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器
+  var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf("rv:11.0") > -1;
+  if(isIE) {
+    var reIE = new RegExp("MSIE (\\d+\\.\\d+);");
+    reIE.test(userAgent);
+    var fIEVersion = parseFloat(RegExp["$1"]);
+    if(fIEVersion == 7) {
+      return 7;
+    } else if(fIEVersion == 8) {
+      return 8;
+    } else if(fIEVersion == 9) {
+      return 9;
+    } else if(fIEVersion == 10) {
+      return 10;
+    } else {
+      return 6;//IE版本<=7
+    }
+  } else if(isEdge) {
+    return 'edge';//edge
+  } else if(isIE11) {
+    return 11; //IE11
+  }else{
+    return -1;//不是ie浏览器
+  }
+}
+// console.info(IEVersion());
+IEVersion();
+if (IEVersion() != '-1' && IEVersion() != 'edge') {
+  var IEtips = document.getElementById('tips');
+  // IEtips.classList.remove('tips_none');
+  IEtips.style.display = "block";
+}
+function scrollSideIconHide(el) {
+  var sNode = $('#sideIcon')
+  var sTop = '50'
+  var scrollBox = $(el)
+  scrollBox.on('scroll', function () {
+    var nTop = scrollBox.scrollTop()
+    if (nTop > sTop) {
+      sNode.addClass('fadeOutRight')
+    } else {
+      sNode.removeClass('fadeOutRight')
+    }
+  })
+}
+$(function () {
+  scrollSideIconHide()
+})
+/* 客服咨询 */
+;(function (w, d, e, x) {
+  w[e] = function () { w.cbk = w.cbk || []; w.cbk.push(arguments); }
+  x = d.createElement('script');
+  x.async = true;
+  x.id = 'zhichiScript';
+  x.className="open-customer";
+  // wxh5、app、pc
+  x.src = 'https://pc-jianyu.sobot.com/chat/frame/v2/entrance.js?sysnum=9d1e3980f91e4b75b8f04e2d206a4c76&t=' + new Date().getTime();
+  d.body.appendChild(x);
+})(window, document, 'zc');
+var ajaxUserInfo = {
+  headImage: '',
+  nickName: '默认昵称',
+  userId: '',
+}
+function setConfig () {
+  typeof window.getUserInfoCallback === 'function' ? getUserInfoCallback() : null
+  zc("config", {
+    custom:true,
+    auto_expand: false,
+    show_face: 1,
+    partnerid: ajaxUserInfo.userId,
+    face: ajaxUserInfo.headImage,
+    height: '640',
+    async: 0,
+    manual: false
+  })
+  zc("offline_message_count",function(res){
+    // console.log(res, 'offline_message_count')
+    if (res && res.size && res.size > 0) {
+      var omc = res.size > 99 ? '99+' : res.size
+      $(".icon-badge-number").attr('data-badge-number', omc)
+    } else {
+      $(".icon-badge-number").removeAttr('data-badge-number')
+    }
+  })
+  zc("dynamic_ready")
+}
+$.post("/jypay/user/getSimpleData?t="+new Date().getTime(),{},function(r) {
+  if (r) {
+    Object.keys(ajaxUserInfo).forEach(function (v) {
+      if (r[v] && r[v] !== '') {
+        ajaxUserInfo[v] = r[v]
+      }
+    })
+    // 存储userId 大会员中标预测历史记录要用到
+    localStorage.setItem('BIGMEMBER_PC', r.userId)
+  }
+  setConfig()
+}).fail(function () {
+  ajaxUserInfo = {
+    headImage: '',
+    nickName: '默认昵称',
+    userId: '',
+  }
+  setConfig()
+})
+var openCustomDig = false
+window.onmessage = function(e){
+  if(e&&e.data&&e.data!== ''){
+    try {
+      var dd = JSON.parse(e.data);
+      if(dd.name==='zc_post_message'){
+        switch(dd.data.action){
+          case 'chat_collapse_window':
+            openCustomDig = false
+            break;
+        }
+      }
+    } catch (e) {
+      // console.log('!not call message')
+    }
+  }
+};
+$(window).on('click', function (e) {
+  var openDom = $(e.target).hasClass('open-customer') || $(e.target).parents().hasClass('open-customer')
+  if (openDom) {
+    openCustomDig = true
+    $(".icon-badge-number").removeAttr('data-badge-number');
+    var href = window.location.href;
+    var sourceStr =""
+    if (href.indexOf("/front/structed/pc_index.html?source=baidusem")>-1){//结构化数据
+      sourceStr="结构化数据-pc-baidusem";
+    }else if (href.indexOf("/bid/pc/page/bidfile_list?source=baidusem")>-1){//招标文件解读
+      sourceStr="招标文件解读-pc-baidusem";
+    }
+    if(sourceStr!=""){ _hmt && _hmt.push(['_trackEvent',sourceStr, 'click', '咨询客服'])};
+    try {
+      if ($(e.target).attr('id') === 'go-customer-1' || $(e.target).attr('id') === 'go-customer-2') {
+      } else {
+        $.get('/front/pc/sobot?t='+new Date().getTime() + '&q=右侧客服')
+        _hmt && _hmt.push(['_trackEvent','客服', 'click', '右侧客服']);
+      }
+    } catch (e) {
+      $.get('/front/pc/sobot?t=' + new Date().getTime() + '&q=右侧客服问题测试')
+      _hmt && _hmt.push(['_trackEvent','客服', 'click', '右侧客服问题测试']);
+      console.log('未初始化百度统计')
+    }
+  } else {
+    // 收起客服
+    if (openCustomDig) {
+      zc('frame_status', function(data) {
+        console.log(data, 'click')
+        openCustomDig = data === 'expand'
+      })
+    }
+  }
+})
+$(function () {
+  function getDomScreenHeight () {
+    var clientHeight = [document.documentElement.clientHeight, document.body.clientHeight, window.screen.availHeight, window.screen.height]
+    var minH = Math.min.apply(null, clientHeight)
+    return minH
+  }
+  $(window).scroll(function () {
+    // 侧边栏显示控制
+    if (typeof goBackTop_disBottom !== 'number') {
+      var metaValue = document.getElementsByTagName('meta')['data-backside']
+      if (metaValue) {
+        goBackTop_disBottom = Number(metaValue.getAttribute('content'))
+      } else {
+        goBackTop_disBottom = 484
+      }
+    }
+    var sideDom = $("div[data-backside]")
+    if (sideDom.attr('data-backside').length < 1) {
+      sideDom.attr('data-backside', sideDom.css('bottom'))
+    }
+    var hHeight = $("html").height()
+    hHeight = hHeight < $(document).height() ? $(document).height() : hHeight
+    var scrollDisBottom = hHeight - getDomScreenHeight() - $(window).scrollTop()
+    if (scrollDisBottom <= goBackTop_disBottom) {
+      sideDom.css({
+        bottom: (goBackTop_disBottom - scrollDisBottom) + 'px'
+      })
+    } else {
+      sideDom.css({
+        bottom: sideDom.attr('data-backside')
+      })
+    }
+    // 返回顶部显示控制
+    if ($(window).scrollTop() > 150) {
+      $("div[data-backtop]").show().prev().removeClass('fix-b-w')
+    } else {
+      $("div[data-backtop]").hide().prev().addClass('fix-b-w')
+    }
+  })
+  /* 返回顶部 */
+  function goBackTop(e) {
+    var setting = {
+      top: 0,
+      height: $(window).scrollTop() / 300 * 10
+    };
+    var test = setInterval(function () {
+      var height = $(window).scrollTop()
+      if (height === setting.top) {
+        document.querySelector('div[data-backtop]').style.display = 'none'
+        return clearInterval(test);
+      }
+
+      $(window).scrollTop($(window).scrollTop() - setting.height);
+    }, 10);
+  }
+  $("div[data-backtop]").off('click').on('click', goBackTop)
+  // 显示帮助弹框
+  $('#go-customer-4').click(function(){
+    $('.right-side-box .help-slide').fadeIn()
+  })
+  // 关闭帮助弹框
+  $('.right-side-box .help-close').off('click').on('click', function(e) {
+    e.stopPropagation()
+    $(this).parents('.help-slide').fadeOut()
+  })
+  // 客服
+  $('.help-slide-kf').off('click').on('click', function(e) {
+    e.stopPropagation()
+    $('.right-side-box .kf-phone').toggle()
+  })
+});
+;(function(){
+  // 动态设置copyright
+  function setCopyRightForBottom (url) {
+    var host = url || location.host
+    var nowCopyRightInfo = {
+      rule: '',
+      icp: ''
+    }
+    var copyRightMap = [
+      {
+        rule: 'jianyu360.com',
+        icp: '京ICP备14030217号-3'
+      },
+      {
+        rule: 'jianyu360.cn',
+        icp: '京ICP备2021020018号-1'
+      },
+      {
+        rule: 'jianyubiaoxun.com',
+        icp: '京ICP备14030217号-8'
+      }
+    ]
+    copyRightMap.forEach(function (v) {
+      if (host.indexOf(v.rule) !== -1) {
+        nowCopyRightInfo = v
+      }
+    })
+    var copyright = '©2015-' + new Date().getFullYear() + ' ' +nowCopyRightInfo.rule+ ' 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + nowCopyRightInfo.icp + '</a>'
+    $('.copyright').html(copyright)
+  }
+  setCopyRightForBottom()
+
+
+  $(".j-bottom .jy_province font").click(function(){
+    var scope = $(this).text();
+    areasearch(scope);
+  })
+  $(".j-bottom .jy_classify font").click(function(){
+    var stype = $(this).attr("data-value");
+    stypesearch(stype);
+  })
+})();
+function zbsqClose(){
+  $("#bidcommunity").modal("hide");
+}
+//
+function areasearch(scope){
+  $("#bottomform").remove();
+  $(".j-bottom").append('<form id="bottomform" action="/jylab/supsearch/index.html?publishtime=thisyear" method="post" class="hide" ><input type="hidden" name="area" value="'+scope+'"></form>');
+  $("#bottomform").submit();
+}
+//
+function stypesearch(stype){
+  $("#bottomform").remove();
+  $(".j-bottom").append('<form id="bottomform" action="/jylab/supsearch/index.html?publishtime=thisyear" method="post" class="hide" ><input type="hidden" name="subtype" value="'+stype+'"></form>');
+  $("#bottomform").submit();
+}
+//
+function zbSeatch(id){
+  var pathname = window.location.pathname;
+  if (pathname.indexOf("supsearch/index.html")>0){
+    $("#"+id).attr("action",pathname);
+  }
+  $("#"+id).submit();
+}
+
+$("#zbSeatchB [name='keywords']").on("input propertychange",function(){
+  if($(this).val().length > 0){
+    $("#b-clear").show();
+  }else{
+    $("#b-clear").hide();
+  }
+});
+$("#b-clear").click(function(){
+  $("#b-clear").hide();
+  $("#zbSeatchB [name='keywords']").val("").focus();
+});
+
+var tjhost = location.host;
+var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261815924'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1261815924' type='text/javascript'%3E%3C/script%3E"));
+setTimeout(function(){
+  $("#cnzz_stat_icon_1261815924 a").text("");
+},1000)
+

+ 32 - 0
src/web/staticres/public-pc/js/polyfill.js

@@ -0,0 +1,32 @@
+// polyfills
+if (typeof Object.assign != 'function') {
+  // Must be writable: true, enumerable: false, configurable: true
+  Object.defineProperty(Object, "assign", {
+    value: function assign(target, varArgs) {
+      // .length of function is 2
+      if (target == null) {
+        // TypeError if undefined or null
+        throw new TypeError('Cannot convert undefined or null to object');
+      }
+
+      var to = Object(target);
+
+      for (var index = 1; index < arguments.length; index++) {
+        var nextSource = arguments[index];
+
+        if (nextSource != null) {
+          // Skip over if undefined or null
+          for (var nextKey in nextSource) {
+            // Avoid bugs when hasOwnProperty is shadowed
+            if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
+              to[nextKey] = nextSource[nextKey];
+            }
+          }
+        }
+      }
+      return to;
+    },
+    writable: true,
+    configurable: true
+  });
+}

+ 5 - 5
src/web/templates/big-member/pc/page_cg.html

@@ -34,12 +34,12 @@
             font-display: swap;
             src:url('{{Msg "seo" "cdn"}}/big-member/image/new_big_index/font/YouSheBiaoTiHei-2.ttf');
         }
-        a:focus{
-            text-decoration: none;
-            color: white;
+        .page--big--index a:focus{
+          text-decoration: none;
+          color: white;
         }
-        a{
-            display: block;
+        .page--big--index a{
+          display: block;
         }
         .subpage-button:hover {
             color: white;

+ 6 - 7
src/web/templates/big-member/pc/page_qy.html

@@ -76,14 +76,13 @@
         font-display: swap;
         src:url('{{Msg "seo" "cdn"}}/big-member/image/new_big_index/font/YouSheBiaoTiHei-2.ttf');
       }
-      a:focus{
-            text-decoration: none;
-            color: white;
+      .page--big--index a:focus{
+        text-decoration: none;
+        color: white;
+      }
+      .page--big--index a{
+        display: block;
       }
-
-      a{
-            display: block;
-        }
         .subpage-button:hover {
             color: white;
             text-decoration: none;

+ 2 - 2
src/web/templates/big-member/pc/page_qz.html

@@ -42,11 +42,11 @@
             font-display: swap;
             src:url('{{Msg "seo" "cdn"}}/big-member/image/new_big_index/font/YouSheBiaoTiHei-2.ttf');
         }
-        a:focus{
+        .page--big--index a:focus{
             text-decoration: none;
             color: white;
         }
-        a{
+        .page--big--index a{
             display: block;
         }
         .subpage-button:hover {

+ 5 - 5
src/web/templates/big-member/pc/page_sc.html

@@ -42,12 +42,12 @@
             font-display: swap;
             src:url('{{Msg "seo" "cdn"}}/big-member/image/new_big_index/font/YouSheBiaoTiHei-2.ttf');
         }
-        a:focus{
-            text-decoration: none;
-            color: white;
+        .page--big--index a:focus{
+          text-decoration: none;
+          color: white;
         }
-        a{
-            display: block;
+        .page--big--index a{
+          display: block;
         }
         .subpage-button:hover {
             color: white;

+ 7 - 7
src/web/templates/big-member/pc/page_tb.html

@@ -76,13 +76,13 @@
         font-display: swap;
         src:url('{{Msg "seo" "cdn"}}/big-member/image/new_big_index/font/YouSheBiaoTiHei-2.ttf');
       }
-      a:focus{
-            text-decoration: none;
-            color: white;
-        }
-      a{
-            display: block;
-        }
+      .page--big--index a:focus{
+        text-decoration: none;
+        color: white;
+      }
+      .page--big--index a{
+        display: block;
+      }
         .subpage-button:hover {
             color: white;
             text-decoration: none;

+ 7 - 7
src/web/templates/big-member/pc/page_yw.html

@@ -73,13 +73,13 @@
         font-display: swap;
         src:url('{{Msg "seo" "cdn"}}/big-member/image/new_big_index/font/YouSheBiaoTiHei-2.ttf');
       }
-      a:focus{
-            text-decoration: none;
-            color: white;
-        }
-        a{
-            display: block;
-        }
+      .page--big--index a:focus{
+        text-decoration: none;
+        color: white;
+      }
+      .page--big--index a{
+        display: block;
+      }
         .subpage-button:hover {
             color: white;
             text-decoration: none;

+ 5 - 5
src/web/templates/big-member/pc/page_zb.html

@@ -42,12 +42,12 @@
             font-display: swap;
             src:url('{{Msg "seo" "cdn"}}/big-member/image/new_big_index/font/YouSheBiaoTiHei-2.ttf');
         }
-        a:focus{
-            text-decoration: none;
-            color: white;
+        .page--big--index a:focus{
+          text-decoration: none;
+          color: white;
         }
-        a{
-            display: block;
+        .page--big--index a{
+          display: block;
         }
         .subpage-button:hover {
             color: white;

+ 0 - 5
src/web/templates/big-member/wx/meta.html

@@ -14,11 +14,6 @@
 <meta name="format-detection" content="telephone=no">
 <link rel="icon" href="/favicon.ico">
 <script src='https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js'></script>
-<script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
-<script>
-  if (typeof window._jyGlobal !== 'object') { window._jyGlobal = {} }
-  try { window._jyGlobal.baseURL = {{Msg "seo" "buryingPointUrl"}} } catch (e) { window._jyGlobal.baseURL = '' }
-</script>
 <script src='{{Msg "seo" "cdn"}}/common-module/track/j-track.min.js?v={{Msg "seo" "version"}}'></script>
 <!--E-meta-->
 <!--监控-->

+ 1 - 6
src/web/templates/big-member/wx/page_unit_portrayal.html

@@ -18,15 +18,10 @@
     <link rel="preload" as="style" href=//cdn-common.jianyu360.com/cdn/lib/v-charts/1.19.0/style.min.css />
     <!--E-当前页必定需要预加载的资源-->
     <script src='https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js'></script>
-    <script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
-    <script>
-    if (typeof window._jyGlobal !== 'object') { window._jyGlobal = {} }
-    try { window._jyGlobal.baseURL = {{Msg "seo" "buryingPointUrl"}} } catch (e) { window._jyGlobal.baseURL = '' }
-    </script>
     <!--监控-->
     <script src='{{Msg "seo" "cdn"}}/js/monitor/monitor.js?v={{Msg "seo" "version"}}'></script>
     <script src='{{Msg "seo" "cdn"}}/js/monitor/new_monitor.js?v={{Msg "seo" "version"}}'></script>
-    
+    <!--荟聚埋点-->
     <script src='{{Msg "seo" "cdn"}}/common-module/track/j-track.min.js?v={{Msg "seo" "version"}}'></script>
     <script src="/big-member/js/rem.js"></script>
     <!--S-当前页面的css资源-->

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 124
src/web/templates/common/baiducc.html


+ 13 - 945
src/web/templates/common/pcbottom.html

@@ -1,3 +1,4 @@
+<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/public-pc/css/pc-bottom.css?v={{Msg "seo" "version"}}'>
 <div class="j-bottom">
 	<div>
 		<div class="jy_proandcify">
@@ -123,79 +124,6 @@
         </div>
 	</div>
 </div>
-<script>
-    var link_str = ''
-    {{$s:=(Ad "jy-pc-index-friendlink" -1)}}
-    {{range $t,$v := $s}}
-    var data = {{$v}}
-
-
-    link_str += "<li><a href=\"" + data.s_link + "\" target=\"_blank\" ><img src=\"" + data.s_pic + "\" alt=\"\" /></a></li>";
-    {{end}}
-    $(".jy_friendlink_content ul").html(link_str)
-
-    $(".jy_classify_list ul li").mouseenter(function(){
-        $(".jy_classify_list ul li").removeClass('active')
-        $(".jy_classify_list ul li div").hide()
-        $(this).addClass('active')
-        $(this).find('div').show()
-    })
-    // qq分享
-    function pcShare(){
-	this.flag = false;
-	var thisCla = this;
-		if(!thisCla.flag){
-            if (!window.JyGlobalConfig) {
-              window.JyGlobalConfig = {}
-            }
-            window.JyGlobalConfig.SEO_CDN = {{Msg "seo" "cdn"}}
-			loadJS(window.JyGlobalConfig.SEO_CDN + "/js/bdshare.js?v=20210521.js?cdnversion="+~(-new Date()/36e5),function(){});
-			$("#share-sqq").click(function(e){
-				document.getElementById('bds_sqq').click();
-			});
-			thisCla.flag = true;
-		}
-}
-if (location.href.indexOf('jyblog') === -1) {
-  new pcShare()
-}
-
-        function IEVersion() {
-            var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
-            var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器
-            var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器
-            var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf("rv:11.0") > -1;
-            if(isIE) {
-                var reIE = new RegExp("MSIE (\\d+\\.\\d+);");
-                reIE.test(userAgent);
-                var fIEVersion = parseFloat(RegExp["$1"]);
-                if(fIEVersion == 7) {
-                    return 7;
-                } else if(fIEVersion == 8) {
-                    return 8;
-                } else if(fIEVersion == 9) {
-                    return 9;
-                } else if(fIEVersion == 10) {
-                    return 10;
-                } else {
-                    return 6;//IE版本<=7
-                }
-            } else if(isEdge) {
-                return 'edge';//edge
-            } else if(isIE11) {
-                return 11; //IE11
-            }else{
-                return -1;//不是ie浏览器
-            }
-        }
-        // console.info(IEVersion());
-        IEVersion();
-        if (IEVersion() != '-1' && IEVersion() != 'edge') {
-            var IEtips = document.getElementById('tips');
-            // IEtips.classList.remove('tips_none');
-            IEtips.style.display = "block";
-        }
-</script>
 
 <div class="modal fade bidcommunity j-modal-dialog" id="bidcommunity"  tabindex="-1" role="dialog" aria-labelledby="bidcommunity" aria-hidden="true" >
   <div class="modal-dialog" style="width:400px;border:0px;" >
@@ -214,521 +142,7 @@ if (location.href.indexOf('jyblog') === -1) {
 		</div>
   </div>
 </div>
-<!-- 底部浏览器兼容性提醒相关样式 -->
-<style>
-.jy_compatibility_tips{
-    width: 780px;
-    height: 80px;
-    opacity: 1;
-    /* background: linear-gradient(180deg,#f4fffe, #ffffff 100%); */
-    /* background:rgba(255,255,255,1); */
-
-    background: -moz-linear-gradient(180deg,#f4fffe, #ffffff 100%);
-    background: -webkit-gradient(180deg,#f4fffe, #ffffff 100%);
-    background: -webkit-linear-gradient(180deg,#f4fffe, #ffffff 100%);
-    background: -o-linear-gradient(180deg,#f4fffe, #ffffff 100%);
-    background: -ms-linear-gradient(180deg,#f4fffe, #ffffff 100%);
-    background: linear-gradient(180deg,#f4fffe, #ffffff 100%);
-    filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#f4fffe', endColorstr='#ffffff',GradientType=0 );
-
-    border-radius: 12px;
-    box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.16);
-    position: fixed;
-    left: 50%;
-    transform: translateX(-50%);
-    bottom: 80px;
-    z-index: 999;
-    padding:0 38px;
-}
-.jy_compatibility_tips_left{
-    opacity: 1;
-    font-size: 16px;
-    font-weight: 400;
-    color: #1d1d1d;
-    line-height: 24px;
-    position: absolute;
-    top: 50%;
-    left: 38px;
-    transform: translateY(-50%);
-}
-.jy_compatibility_tips_right{
-    height: 100%;
-    margin-left: 27px;
-    position: absolute;
-    top: 50%;
-    right: 38px;
-    transform: translateY(-50%);
-}
-.logo_wrap{
-    float: left;
-    margin-left: 42px;
-    position: relative;
-    top: 50%;
-    transform: translateY(-50%);
-}
-.jy_compatibility_tips_right .logo_wrap:first-child{
-    margin-left:0 ;
-}
-.logo_wrap img{
-    width: 36px;
-    height: 36px;
-}
-.logo_wrap span{
-    display: block;
-    opacity: 1;
-    font-size: 12px;
-    font-weight: 400;
-    color: #686868;
-    line-height: 20px;
-    text-align: center;
-}
-.tips_none{
-    display: none;
-    /* opacity: 0; */
-}
-</style>
-
-
-<!--S-侧边样式-->
-<style>
-    /* 对勾 */
-    .icon-tick {
-        width: 24px;
-        height: 24px;
-        margin: 0 auto;
-        background-size: 100% 100%;
-        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMpSURBVHgB7ZpNTttAFMffTKBV6YIcgU2lEKkivgEmUqWuWk5AOEHFCQg3oCcATpDuKrVF7g2cUClB6iZHyIqqbeLpvHxQPjzOjDMzAfN+mxiPLZGfPDPv/xwAgiAIgiAIgiAIgiAIgiAIXRg8ATZacflluXQIQjTwbyHYpys+OuiHwWDevSvwBHixXmoJIbavTzDRWEtKeLQ/714OBacaXZwwuCFnBhPvNW4vtqBq1LmeVncRAHOnF1JYQRM50FSNMwFnoEEhF+l5cuTYUbe+1QQNCidoM+p8kE/HsfICAzlIoQRVos4eF3CqGpfrzllvZ6sBBhRGUPVLXGMrPJISymnj8nxbygnAkEIs0pXP8cY8Ob9YEkIOHr0glMOfZ8rpC5bs6lTNaWhPscrXeJvx0js8Ho5GZz/fBG1YMjM58nAjbXwqJ7wMgz7kREtQ9TxuAOMnt+/kzW74+giWhA85iN4UY/zw3jmRNKvRj0NYAhg+pZwWKORIBjbkILprUOr8XpYkDJ/yo6a8wJIcREuQDHvq9cazJGX4nJKIZL8b2lsftQStMrErP7IlnV+cgGOywuf43xDJwWU9OAWLaAlqyy3y2aSOUEuSPRaXknTyVa8eHINljCvpzW+dU8ZhL+OS9pWUmbfuSMNm+DQlV9TwKcl2+DQldxaTtVEzdfv/Tz/5LXeTt/l3Exfh05SFwqpLSRg+YYXHqnEB4ntvp5YrX5mwUBbr1oOm3MGyqulxtYtVLxgwC5+q8Un4HO+szlk4rNqW5Dp8mmKtH2RjuvnKVyZYbZhVZKjld0PtbQZ/h0mY1gl4iHIQq/0grGKx1M+4pLwq15ZXuADfwGf4NMV6w2xc6g8TbG2q1giUFOMWPjuxtj5+clThcwBLkoM460lPt2n84mXVNQmDBge2nZWv8Im0na9McNq0r0RyuxY8YuqpkwmGTxf5ygSnPWmcFrh24AILpjgKn6Z4ee1j/CQ5zlcmeHsvpi3pAclBvL44nCfJR/g0xfub1VoUl/+I+9u6r/BpivcXh7PupIAEf36CtdJACPjoK3wSBEEQBEEQBEEQBEEQBEG44x/qVZ39mGkA4AAAAABJRU5ErkJggg==);
-    }
-
-    /* 对勾 */
-    .icon-close {
-        width: 20px;
-        height: 20px;
-        margin: 0 auto;
-        background-size: 100% 100%;
-        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADRSURBVHgB7dZRCoMwEEXRRzfa7KTdSWdnXcpUIYKEGs3kTQYkF/zShPNjJsBsNrt5qvpcng/IrXuue6OnjNuiITNuy4YscDRkgbMjl0Wi/zMjD3BrAktMJB3HRLrhGEh3XA9yGM6CHI5rQYbhLiBf4bgLyHhcI1IQ2QlS0NkD/X0r7xSRVX6IffSrGhMXg6zg3upwC2LhZPdNDFIbDuHhSDVMiGFI7Rhf7kglzFY3JAPnhmTiXJDLosTEnSATLBVIAakCmdBTRgrIZWTCbDa7eT9Dv+U/i+afwgAAAABJRU5ErkJggg==);
-    }
-
-    /* 客服 */
-    .icon-customer {
-        width: 56px;
-        height: 56px;
-        margin: 0 auto;
-        background-size: 24px 24px;
-        background-repeat: no-repeat;
-        background-position: center center;
-        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARUSURBVHgB7Vi9bhs5EJ7dBLCt5nRPcHtdzlfENuz6drvr7HTXWW78AxeWn8BxeZV1gAH/FZGfwHF9SLRlCgNWUqXLpksppAhswBbzjUIqFENKuxKDpNgPIJbLXXK+4c/McIhKlChR4kciIE+o1+vVm5ubuSAIlvEad7vdCPUqfxNCdFBvo5rheXl0dPScPGFiBSTxHZCsK8I5kKGkKPvHx8cZTYAHNAE2NjZ27u7unoP43yjTBbqyonMoK0tLS8HV1dUrGhNjrYCc9QNUa+QHzenp6d1Go9GhgiisAJO/vb1tYcvMmd/kXj/H/k/DMGyr7bG5uRnhwaWG8pesDxLBGZmamkqKKvGQCsJGXhL/b2ZmpmEjIBXhkvL71tZWHUru6WeGx+SxUZ2nAii0AhB8wId1YADMHNqeFD2MclWYcKS3Y6zGycnJLuVEbgXW19dXsC0uBjqPuewKtVqtiv4tjGNuxwQTkuYZI6ScAPkDoynjmR+XPKPZbHawbRL6sr10PKOcyKUAlrtG3x68ZFIbzmAl8FgzmiMpcyTyrsCqKdcHeQW5Xc5HyLRipALysMVG8z75x1PjPd7e3v5tVKehCrDNx2PPaM7oO4HNsf4OL9+QE+iE0wq5zJxERp7OwKSynCuA2bhwDEiyvUX+4CKvZDmtklUBzEhs2GaegQDe84m2zGwpYpoQ7F/oK/lMyaJByxS7ZFkVANE+eRC+VE7l9PSUI0/dWsQ0IeBf9Inqy8KzSYOWKbL2dwzaj1HkRUTH2I4rB8yxM60e2Trk9sQ/K0oFFGZbr/dmX74Wf754c+D654+Xb1qj/ikKfysgvnhSEYj6o/+vY/Pz7IvrWkAiVv+QJxS+0LgAcqmgIOZ6+CC8AOHdTx+pl32oVB/uBKJbF/2fRZM8waVAptXNeMSaebgPxFoogmv5vUpB+Kzyi3RAokuKvOAwnIQrlhoYGxbwMcy4qlutX5hDgZoKbaUzWVYf4C/6JvZtMp/RXTcRQ2KlHvmgm/T+/YpUI7wqHVtPFsiv9PsK0baNOSwWYvcekxsZnM3vZuOj1nUUdGmFyWB46aQgHA7xU0iNLJnvWGS9I3co0fNFSIZZ78rDzgC78qEBlq2TnN2GLHmRDJPFNz9XR2diC8mmzuLi4iWqv5Lc1zL7cIL6ls8LDctaWFh4j7H/UW1S1r/IF60dHh5+cPX1lhtV4NAYgjnVaDvs78lym5P7/UJLs/D3XOG6VwWQdlkFkeawf9ia4KKSnJ2dtWWSbM9I1WRU4K7hTQF5KXmX519WgvM/loRwRgUvSt4cGUwq5410IjZbz9fTSG6vpyCvf0tR1oqeLW8K6CE4cC7j+QFgiy2DfKS38WFF332YySJWqw+fK9BRK8CHGKn3x6b31B0TkKLPZaVSaU6SHPN2BjhNCJPHoUSU43erExwH3qJRmWGzpQlNpORwguPAux9gyJgpMtvv7+/bbD6pRIkSJRQ+A3PvAW69H84gAAAAAElFTkSuQmCC);
-    }
-
-    .icon-customer.white {
-        background:url(/images/pc/slide_kefu.png) no-repeat center center;
-        background-size:56px;
-        /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKXSURBVHgB7ZiLcdswDEDhXgbwBuUG8QjqBPUGdSaIN7A6gbOB1AncTCBvYG8gdQJ7AxQ4kTkcReoTQ05yx3eHM02KIPgDSAIkEonER7IAJRBxST8rkp8kGYkhWdriK8mZpCF5XSwWf+GzwIaT7EguOJ6apCAx8JGQAc8TDQ91ZAv3xo56gXoU2C7Buxl/ihjCs/FCskaxPDhNkpGUdtRDnO7SiYjxbHg+1gD6bovhpXeCOaEG9pGRMzAROyt1QN8e5sAuC9Vpx/hyzECbwGjVqOAGbSc6ukETUrgJjJIBJbDd4D4b0IKUVZ7yApTB1kNJKtAA28022+gPtPN9qN63AaW8QXdedgPzcfX+v7x7sDDu5hCVNvCsbWE82r4pBiV6jHdM2w/Y9QqZzedYcPHzbzR+7Y12ZvM3IRt8YntgJdJ8fj9ywp7j/4iyDG4n1lbptWVClWMdkNH17JVdYT583Y1Im1CFXi/0FUgdcGB7rWT2Pd9UQ99MRXMGcvu7DXkMbM82Ll/tGqnZgaNIH6wbXFrhaC5HvQQlHiL5jUj755HY+f+J5GTLWQorId2/Izp83Y8iPd77BQLZRuTXIn/t1Vthf1TlMtPT1sXpxEgwndKJCvupI/X4XMP7QB5FOJ1j5PaGw0eJ6Xdl/OqHOaG4FMrds4kBZbB75x710qH2NioMMfTzDOHN/o+kpHNO49XJ6Ocg6nD5D/+72SFDfuEwPLIr+z272L3akrnReIPj4U7ssPu4VU81/gH0kC61gbCv54BmoF0quVd2JHm6+7Jx2A3nyCPfHCKz8e6jheYMyEjJz+6P0I2ecpaOJK/Qbuo57xjjwPALWwzdlzctsD8gOSpU9DLqcYDB1q+bQNGZlssZEolEwvEf7G8VfkMza2MAAAAASUVORK5CYII=); */
-    }
-
-    /* 上箭头 */
-    .icon-arrow--up {
-        width: 56px;
-        height: 56px;
-        margin: 0 auto;
-        background-size: 56px;
-        background-repeat: no-repeat;
-        background-position: center center;
-        background-image: url(/images/pc/slide_arrow_grey.png);
-        /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEnSURBVHgB7ZbNrYJAFEaH9zYuLQb6sAN1ydIOtAN3sFP7YaEdaAdWAF4TvsQQZgTmXnXxnYSQYfg5BzIJzhFCCCGEEPItEmdEnufLuq73SZLcZdsWRXFyBvw7A57yTdMcRXwmw7lsiyzLrlVVXZwy6gGQ75kyiVANCMgD9Qi1gAHyQDVCZREH5Nft/tCdkPWx0ljY0V8gJF+W5VHe9DlN05uMF515lS8RFfBOHgPLiMkBQ+WBVcSkgLHywCJidMBUeaAdMSogVh5oRgwO0JIHWhGDArTlgUbE2wAreRAbEQywlgcxEd6AT8mDqRF/vhuK/LbnsIk8aO+97pna+64JBcw7h0zlQV+EuNx953sD5G9xI7tre/FH5MFLBJ6/c4QQQgghhPwcD62mJ887e9SSAAAAAElFTkSuQmCC); */
-    }
-
-    .icon-arrow--up.white {
-        background-image: url(/images/pc/slide_arrow.png);
-        /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC5SURBVHgB7ZdRDoMgEAX3pvXmHMEjUBv5eDGtSgvL0swkJH7I7swnZgAAAAAAf0fO+bGddTvp9W0zUeSPzBHxQX6OiAv52BE35WNGnMgv5cSNOJOXf2JG3JGXf2NF1MjLnRgR38jL3bERv8jLjDERLeRllm9ES3mZ6RPRQ15m943oKS87+kR4yMuuthGe8rKzXUTeHyJu8rL3XcRqteT9NeUqL7uPEclqKUNSCVnMmdH7AQAAAACueQIAR4pmNbCOwAAAAABJRU5ErkJggg==); */
-    }
-
-    .right-side-box {
-        display: -ms-flexbox;
-        display: flex;
-        -ms-flex-direction: column;
-        flex-direction: column;
-        -ms-flex-align: center;
-        align-items: center;
-        -ms-flex-pack: center;
-        justify-content: center;
-        border: none;
-        box-sizing: border-box;
-        position: fixed;
-        z-index: 100;
-        min-width: 56px;
-        bottom: 108px;
-        left: initial;
-        right: 16px;
-        transition: all 0.75s;
-    }
-
-
-    .right-side-box .hover-open-box {
-        position: absolute;
-        top: 0;
-        right: 0px;
-        height: 100%;
-        box-sizing: border-box;
-        display: -ms-flexbox;
-        display: flex;
-        -ms-flex-direction: row;
-        flex-direction: row;
-        -ms-flex-align: center;
-        align-items: center;
-        -ms-flex-pack: start;
-        justify-content: flex-start;
-        cursor: pointer;
-        border: none !important;
-    }
-
-    .right-side-box .hover-open-box span {
-        display: block;
-        margin-left: 8px;
-        color: #FFFFFF;
-        font-size: 14px;
-        line-height: 24px;
-        -ms-flex-negative: 0;
-        flex-shrink: 0;
-    }
-
-    .right-side-box .icon-customer,
-    .right-side-box .icon-arrow--up {
-        box-sizing: content-box;
-        cursor: pointer;
-    }
-
-    .right-side-box .icon-customer.white,
-    .right-side-box .icon-arrow--up.white {
-        /* padding: 12px; */
-    }
-
-     .right-side-box > .right-side-item .text-customer {
-        font-size: 13px;
-        line-height: 16px;
-        height: 56px;
-        text-align: center;
-        color: #1D1D1D;
-         margin-left: 0;
-    }
-    .right-side-box .right-side-phone{
-        height: 56px;
-        margin: 6px 0;
-        position: relative;
-    }
-    .right-side-box .right-side-pop::before{
-        content: "客服热线:400-108-6670";
-        position: absolute;
-        left: -200px;
-        top: 4px;
-        display: none;
-        width: 189px;
-        height: 48px;
-        background: #2cb7ca;
-        border-radius: 8px;
-        color: #fff;
-        line-height: 48px;
-        font-size: 14px;
-        text-align: center;
-    }
-    .right-side-box .right-side-pop::after{
-        content:'';
-        position: absolute;
-        left: -12px;
-        top: 22px;
-        display: none;
-        width: 0;
-        height: 0;
-        border-top: 6px solid transparent;
-        border-left: 8px solid #2cb7ca;
-        border-bottom: 6px solid transparent;
-    }
-    .right-side-box > .right-side-item .text-customer img,.right-side-box  .right-side-phone .text-customer img{
-        width: 56px;
-    }
-    .right-side-box .right-side-phone .text-customer-hover{
-        display: none;
-    }
-    .right-side-box .right-side-pop:hover .text-customer{
-        display: none;
-    }
-    .right-side-box .right-side-pop:hover::after,.right-side-box .right-side-pop:hover::before{
-        display: block;
-    }
-    .right-side-box .right-side-pop:hover .text-customer-hover{
-        display: inherit;
-    }
-    .right-side-box .right-side-wx:hover .slidePop{
-        display: block;
-    }
-    .right-side-box .right-side-wx:hover .text-customer{
-        display: none;
-    }
-    .right-side-box .right-side-wx:hover .text-customer-hover{
-        display: inherit;
-    }
-    .right-side-box .right-side-wx .slidePop{
-        display: none;
-        position: absolute;
-        left: -134px;
-        top: 0;
-        width: 120px;
-        height: 148px;
-        background: #ffffff;
-        border-radius: 8px;
-        box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.16);
-    }
-    .right-side-box .right-side-wx .slidePop::before{
-        content:'';
-        position: absolute;
-        right: -8px;
-        top: 22px;
-        display: block;
-        width: 0;
-        height: 0;
-        border-top: 6px solid transparent;
-        border-left: 8px solid #fff;
-        box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.16);
-        border-bottom: 6px solid transparent;
-    }
-    .right-side-box .right-side-wx .slidePop img{
-        border-radius: 8px;
-        width: 120px;
-    }
-    .right-side-box .right-side-wx .slidePop  p{
-        font-size: 14px;
-        text-align: center;
-    }
-
-    .right-side-box > .right-side-item:last-child {
-        margin-bottom: 0;
-    }
-    .right-side-box > .right-side-item {
-        width: 100%;
-        position: relative;
-        height: 56px;
-        margin:6px 0;
-        box-sizing: border-box;
-    }
-
-
-    .right-side-box > .right-side-item .white {
-        display: none;
-    }
-
-    .right-side-box > .right-side-item span {
-        display: none;
-    }
 
-    .right-side-box > .right-side-item .hover-open-box {
-        border-top-width: 0;
-        border-bottom-width: 0;
-        border-radius: 0;
-    }
-
-    .right-side-box > .right-side-item.fix-b-w .hover-open-box {
-        border-bottom-width: 1px;
-        border-bottom-right-radius: 4px;
-        border-bottom-left-radius: 4px;
-    }
-
-    .right-side-box > .right-side-item:first-child .hover-open-box {
-        border-top-right-radius: 4px;
-        border-top-left-radius: 4px;
-        border-top-width: 1px;
-    }
-
-    .right-side-box > .right-side-item:first-child .hover-open-box:hover {
-        border-bottom-left-radius: 4px;
-    }
-
-    .right-side-box > .right-side-item:first-child::before {
-        content: none;
-    }
-
-    .right-side-box > .right-side-item:last-child .hover-open-box {
-        border-bottom-right-radius: 4px;
-        border-bottom-left-radius: 4px;
-        border-bottom-width: 1px;
-    }
-
-    .right-side-box > .right-side-item:last-child .hover-open-box:hover {
-        border-top-left-radius: 4px;
-    }
-
-    .right-side-box > .right-side-item:only-child .hover-open-box {
-        border-top-width: 1px;
-        border-bottom-width: 1px;
-        border-radius: 4px;
-    }
-
-    .right-side-box > .right-side-item:hover .hover-open-box {
-        z-index: 3;
-    }
-
-    .right-side-box > .right-side-item:hover .white {
-        display: inherit;
-    }
-
-    .right-side-box > .right-side-item:hover .white + div {
-        display: none;
-    }
-
-    .right-side-box > .right-side-item:hover span {
-        display: inherit;
-        color: white;
-    }
-
-    @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
-        .right-side-box > .right-side-item:hover .hover-open-box {
-            background: inherit;
-            border: 1px solid #ECECEC;
-            z-index: inherit;
-        }
-        .right-side-box > .right-side-item:hover .white {
-            display: none;
-        }
-        .right-side-box > .right-side-item:hover .white + div {
-            display: inherit;
-        }
-        .right-side-box > .right-side-item:hover span {
-            display: none;
-        }
-    }
-    #zc__sdk__sys__btn {
-        display: none !important;
-    }
-     .icon-badge-number {
-         position: relative;
-     }
-     .white.icon-badge-number::before {
-         top: 7px;
-         right: 5px;
-     }
-    .icon-badge-number::before {
-        content: attr(data-badge-number);
-        position: absolute;
-        top: -7px;
-        right: 2px;
-        font-size: 11px;
-        line-height: 15px;
-        min-width: 15px;
-        color: #fff;
-        background: #FB483D;
-        padding: 0 4px;
-        display: inline-block;
-        text-align: center;
-        white-space: nowrap;
-        border-radius: 40px;
-        box-sizing: border-box;
-    }
-    .right-side-box  .back-to-up{
-        background-color: #b5b6ba;
-        border-radius: 50%;
-        width: 56px;
-        display: none;
-    }
-    .right-side-box .back-to-up .hover-open-box{
-        /* width: 52px !important; */
-    }
-    .right-side-box  .back-to-up:hover{
-        background: #2cb7ca;
-    }
-    .help-slide{
-      position: absolute;
-      left: -210px;
-      top: -29px;
-      width: 200px;
-      background: #ffffff;
-      border-radius: 8px;
-      box-shadow: 0px 0px 28px 0px rgb(0 0 0 / 16%);
-      z-index: 100;
-    }
-    .help-slide-top{
-      text-align: center;
-      line-height: 54px;
-      color: #1d1d1d;
-      font-size: 14px;
-      border-bottom: 1px solid #ececec;
-    }
-    .help-slide-bottom{
-      position: relative;
-      padding: 0 12px;
-      height: 38px;
-    }
-    .help-slide-kf,.help-slide-zx{
-      display: inline-block;
-      font-size: 14px;
-      color: #2cb7ca;
-      padding-left: 20px;
-      line-height: 38px;
-      cursor: pointer;
-    }
-    .help-slide-kf{
-      float: left;
-      background: url('{{print (Msg "seo" "cdn") "/images/kfrx.png?v=" (Msg "seo" "version")}}') no-repeat left center;
-      background-size: 16px 16px;
-    }
-    .help-slide-zx{
-      position: relative;
-      float: right;
-      background: url('{{print (Msg "seo" "cdn") "/images/zxzx.png?v=" (Msg "seo" "version")}}') no-repeat left center;
-      background-size: 16px 16px;
-    }
-    .help-slide-bottom::after{
-      position: absolute;
-      content: '';
-      height: 38px;
-      width: 1px;
-      background-color: #ececec;
-      top: 0;
-      left: 49%;
-    }
-    .help-close{
-      position: absolute;
-      top: 4px;
-      right: 4px;
-      width: 18px;
-      height: 18px;
-      box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.08);
-      cursor: pointer;
-      opacity: 0.5;
-    }
-    .kf-phone{
-      display: none;
-      position: absolute;
-      left: 10px;
-      top: 101px;
-      width: 189px;
-      height: 48px;
-      background: #2cb7ca;
-      border-radius: 8px;
-      color: #fff;
-      line-height: 48px;
-      font-size: 14px;
-      text-align: center;
-    }
-    .kf-phone::after{
-      content:'';
-      position: absolute;
-      left: 32px;
-      top: -6px;
-      width: 0;
-      height: 0;
-      border-left: 6px solid transparent;
-      border-bottom: 8px solid #2cb7ca;
-      border-right: 6px solid transparent;
-    }
-    .right-side-box .right-side-pop:hover::after .kf-phone{
-      display: none;
-    }
-    #sideIcon {
-        position: absolute;
-        top: -108px;
-        right: 0;
-    }
-</style>
-<!--E-侧边样式-->
 <!--S-侧边栏-->
 <div class="right-side-box" data-backside>
     <div id="sideIcon" class="">
@@ -770,364 +184,18 @@ if (location.href.indexOf('jyblog') === -1) {
         </div>
     </div>
 </div>
-<!-- 暂无法开发票弹框 -->
-<!-- <style>
-  #cantOpenInvoiceDialog.modal{
-    display: none;
-    overflow-x: hidden!important;
-    overflow-y: auto!important;
-    background-color: transparent;
-  }
-  #cantOpenInvoiceDialog .modal-dialog{
-    width: 400px;
-  }
-  #cantOpenInvoiceDialog .modal-title{
-    text-align: center;
-    font-size: 18px;
-    font-weight: 600;
-  }
-  #cantOpenInvoiceDialog .modal-header{
-    padding: 30px 34px 0px;
-  }
-  #cantOpenInvoiceDialog .modal-content{
-    border: 0;
-  }
-  #cantOpenInvoiceDialog .modal-body {
-    line-height: 22px;
-    font-size: 15px;
-    text-align: justify;
-  }
-  #cantOpenInvoiceDialog .modal-footer{
-    text-align: center!important;
-  }
-  #cantOpenInvoiceDialog .btn-default, 
-  #cantOpenInvoiceDialog .btn-default:hover, 
-  #cantOpenInvoiceDialog .btn-default:focus, 
-  #cantOpenInvoiceDialog .btn-default:active {
-    background-color: #24C0D7;
-    border: none;
-    color: #fff;
-    font-size: 16px;
-  }
-</style>
-<div class="modal fade" id="cantOpenInvoiceDialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
-  <div class="modal-dialog">
-      <div class="modal-content">
-          <div class="modal-header">
-              <h4 class="modal-title" id="myModalLabel">温馨提示</h4>
-          </div>
-          <div class="modal-body">因年底集中结算,发票功能暂停使用。给您带来的不便表示抱歉,我们会在恢复发票功能后第一时间通知!</div>
-          <div class="modal-footer">
-              <button type="button" class="btn btn-default" data-dismiss="modal">我知道了</button>
-          </div>
-      </div>
-  </div>
-</div> -->
 <!--E-侧边栏-->
 
-<script type="text/javascript">
-    function scrollSideIconHide(el) {
-        var sNode = $('#sideIcon')
-        var sTop = '50'
-        var scrollBox = $(el)
-        scrollBox.on('scroll', function () {
-            var nTop = scrollBox.scrollTop()
-            if (nTop > sTop) {
-                sNode.addClass('fadeOutRight')
-            } else {
-                sNode.removeClass('fadeOutRight')
-            }
-        })
-    }
-    $(function () {
-        scrollSideIconHide()
-    })
-    /* 客服咨询 */
-    ;(function (w, d, e, x) {
-        w[e] = function () { w.cbk = w.cbk || []; w.cbk.push(arguments); }
-        x = d.createElement('script');
-        x.async = true;
-        x.id = 'zhichiScript';
-        x.className="open-customer";
-        // wxh5、app、pc
-        x.src = 'https://pc-jianyu.sobot.com/chat/frame/v2/entrance.js?sysnum=9d1e3980f91e4b75b8f04e2d206a4c76&t=' + new Date().getTime();
-        d.body.appendChild(x);
-    })(window, document, 'zc');
-    var ajaxUserInfo = {
-        headImage: '',
-        nickName: '默认昵称',
-        userId: '',
-    }
-    function setConfig () {
-        typeof window.getUserInfoCallback === 'function' ? getUserInfoCallback() : null
-        zc("config", {
-            custom:true,
-            auto_expand: false,
-            show_face: 1,
-            partnerid: ajaxUserInfo.userId,
-            face: ajaxUserInfo.headImage,
-            height: '640',
-            async: 0,
-            manual: false
-        })
-        zc("offline_message_count",function(res){
-            // console.log(res, 'offline_message_count')
-            if (res && res.size && res.size > 0) {
-                var omc = res.size > 99 ? '99+' : res.size
-                $(".icon-badge-number").attr('data-badge-number', omc)
-            } else {
-                $(".icon-badge-number").removeAttr('data-badge-number')
-            }
-        })
-        zc("dynamic_ready")
-    }
-    $.post("/jypay/user/getSimpleData?t="+new Date().getTime(),{},function(r) {
-        if (r) {
-            Object.keys(ajaxUserInfo).forEach(function (v) {
-                if (r[v] && r[v] !== '') {
-                    ajaxUserInfo[v] = r[v]
-                }
-            })
-            // 存储userId 大会员中标预测历史记录要用到
-            localStorage.setItem('BIGMEMBER_PC', r.userId)
-        }
-        setConfig()
-    }).fail(function () {
-        ajaxUserInfo = {
-            headImage: '',
-            nickName: '默认昵称',
-            userId: '',
-        }
-        setConfig()
-    })
-    var openCustomDig = false
-    window.onmessage = function(e){
-        if(e&&e.data&&e.data!== ''){
-            try {
-                var dd = JSON.parse(e.data);
-                if(dd.name==='zc_post_message'){
-                    switch(dd.data.action){
-                        case 'chat_collapse_window':
-                            openCustomDig = false
-                            break;
-                    }
-                }
-            } catch (e) {
-                // console.log('!not call message')
-            }
-        }
-    };
-    $(window).on('click', function (e) {
-        var openDom = $(e.target).hasClass('open-customer') || $(e.target).parents().hasClass('open-customer')
-        if (openDom) {
-            openCustomDig = true
-            $(".icon-badge-number").removeAttr('data-badge-number');
-            var href = window.location.href;
-            var sourceStr =""
-            	if (href.indexOf("/front/structed/pc_index.html?source=baidusem")>-1){//结构化数据
-            		sourceStr="结构化数据-pc-baidusem";
-            	}else if (href.indexOf("/bid/pc/page/bidfile_list?source=baidusem")>-1){//招标文件解读
-            		sourceStr="招标文件解读-pc-baidusem";
-            	}
-            if(sourceStr!=""){ _hmt && _hmt.push(['_trackEvent',sourceStr, 'click', '咨询客服'])};
-            try {
-                if ($(e.target).attr('id') === 'go-customer-1' || $(e.target).attr('id') === 'go-customer-2') {
-                } else {
-                    $.get('/front/pc/sobot?t='+new Date().getTime() + '&q=右侧客服')
-                    _hmt && _hmt.push(['_trackEvent','客服', 'click', '右侧客服']);
-                }
-            } catch (e) {
-                $.get('/front/pc/sobot?t=' + new Date().getTime() + '&q=右侧客服问题测试')
-                _hmt && _hmt.push(['_trackEvent','客服', 'click', '右侧客服问题测试']);
-                console.log('未初始化百度统计')
-            }
-        } else {
-            // 收起客服
-            if (openCustomDig) {
-                zc('frame_status', function(data) {
-                    console.log(data, 'click')
-                    openCustomDig = data === 'expand'
-                })
-            }
-        }
-    })
-    $(function () {
-        function getDomScreenHeight () {
-            var clientHeight = [document.documentElement.clientHeight, document.body.clientHeight, window.screen.availHeight, window.screen.height]
-            var minH = Math.min.apply(null, clientHeight)
-            return minH
-        }
-        $(window).scroll(function () {
-            // 侧边栏显示控制
-            if (typeof goBackTop_disBottom !== 'number') {
-                var metaValue = document.getElementsByTagName('meta')['data-backside']
-                if (metaValue) {
-                  goBackTop_disBottom = Number(metaValue.getAttribute('content'))
-                } else {
-                  goBackTop_disBottom = 484
-                }
-            }
-            var sideDom = $("div[data-backside]")
-            if (sideDom.attr('data-backside').length < 1) {
-                sideDom.attr('data-backside', sideDom.css('bottom'))
-            }
-            var hHeight = $("html").height()
-            hHeight = hHeight < $(document).height() ? $(document).height() : hHeight
-            var scrollDisBottom = hHeight - getDomScreenHeight() - $(window).scrollTop()
-            if (scrollDisBottom <= goBackTop_disBottom) {
-                sideDom.css({
-                    bottom: (goBackTop_disBottom - scrollDisBottom) + 'px'
-                })
-            } else {
-                sideDom.css({
-                    bottom: sideDom.attr('data-backside')
-                })
-            }
-            // 返回顶部显示控制
-            if ($(window).scrollTop() > 150) {
-                $("div[data-backtop]").show().prev().removeClass('fix-b-w')
-            } else {
-                $("div[data-backtop]").hide().prev().addClass('fix-b-w')
-            }
-        })
-        /* 返回顶部 */
-        function goBackTop(e) {
-            var setting = {
-                top: 0,
-                height: $(window).scrollTop() / 300 * 10
-            };
-            var test = setInterval(function () {
-                var height = $(window).scrollTop()
-                if (height === setting.top) {
-                    document.querySelector('div[data-backtop]').style.display = 'none'
-                    return clearInterval(test);
-                }
-
-                $(window).scrollTop($(window).scrollTop() - setting.height);
-            }, 10);
-        }
-        $("div[data-backtop]").off('click').on('click', goBackTop)
-        // 显示帮助弹框
-        $('#go-customer-4').click(function(){
-          $('.right-side-box .help-slide').fadeIn()
-        })
-        // 关闭帮助弹框
-        $('.right-side-box .help-close').off('click').on('click', function(e) {
-          e.stopPropagation()
-          $(this).parents('.help-slide').fadeOut()
-        })
-        // 客服
-        $('.help-slide-kf').off('click').on('click', function(e) {
-          e.stopPropagation()
-          $('.right-side-box .kf-phone').toggle()
-        })
-    });
-</script>
-<script type="text/javascript">
-(function(){
-	// 动态设置copyright
-    function setCopyRightForBottom (url) {
-        var host = url || location.host
-        var nowCopyRightInfo = {
-            rule: '',
-            icp: ''
-        }
-        var copyRightMap = [
-            {
-                rule: 'jianyu360.com',
-                icp: '京ICP备14030217号-3'
-            },
-            {
-                rule: 'jianyu360.cn',
-                icp: '京ICP备2021020018号-1'
-            },
-            {
-                rule: 'jianyubiaoxun.com',
-                icp: '京ICP备14030217号-8'
-            }
-        ]
-        copyRightMap.forEach(function (v) {
-            if (host.indexOf(v.rule) !== -1) {
-                nowCopyRightInfo = v
-            }
-        })
-        var copyright = '©2015-' + new Date().getFullYear() + ' ' +nowCopyRightInfo.rule+ ' 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + nowCopyRightInfo.icp + '</a>'
-        $('.copyright').html(copyright)
-    }
-    setCopyRightForBottom()
-
-
-	$(".j-bottom .jy_province font").click(function(){
-		var scope = $(this).text();
-		areasearch(scope);
-	})
-	$(".j-bottom .jy_classify font").click(function(){
-		var stype = $(this).attr("data-value");
-		stypesearch(stype);
-	})
-})();
-function zbsqClose(){
-	$("#bidcommunity").modal("hide");
-}
-//
-function areasearch(scope){
-		$("#bottomform").remove();
-		$(".j-bottom").append('<form id="bottomform" action="/jylab/supsearch/index.html?publishtime=thisyear" method="post" class="hide" ><input type="hidden" name="area" value="'+scope+'"></form>');
-		$("#bottomform").submit();
-}
-//
-function stypesearch(stype){
-		$("#bottomform").remove();
-		$(".j-bottom").append('<form id="bottomform" action="/jylab/supsearch/index.html?publishtime=thisyear" method="post" class="hide" ><input type="hidden" name="subtype" value="'+stype+'"></form>');
-		$("#bottomform").submit();
-}
-//
-function zbSeatch(id){
-	var pathname = window.location.pathname;
-	if (pathname.indexOf("supsearch/index.html")>0){
-		$("#"+id).attr("action",pathname);
-	}
-	$("#"+id).submit();
-}
-
-$("#zbSeatchB [name='keywords']").on("input propertychange",function(){
-	if($(this).val().length > 0){
-		$("#b-clear").show();
-	}else{
-		$("#b-clear").hide();
-	}
-});
-$("#b-clear").click(function(){
-	$("#b-clear").hide();
-	$("#zbSeatchB [name='keywords']").val("").focus();
-});
-
-
-</script>
-<script type="text/javascript">
-	var tjhost = location.host;
-	var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261815924'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1261815924' type='text/javascript'%3E%3C/script%3E"));
-	setTimeout(function(){
-		$("#cnzz_stat_icon_1261815924 a").text("");
-	},1000)
-</script>
-<script>;
-  /* 能开发票时删除以下代码 及详情页开发票点击事件里的return false */
-  /*
-  $('#order_detail .openinvoice').css({
-    'background': '#EDEFF2',
-    'color': '#5F5E64'
-  })
-  $('#order_detail .openinvoice').unbind('click').bind('click', function(e) {
-    return $('#cantOpenInvoiceDialog').modal()
-  })
-  $('#order_two .openinvoice').css({
-    'background': '#EDEFF2',
-    'color': '#5F5E64'
-  })
-  $('#order_two .openinvoice').unbind('click').bind('click', function(e) {
-    return $('#cantOpenInvoiceDialog').modal()
-  })
-  */
-  
+<script>
+  /*--S-友情链接--*/
+  var link_str = ''
+  {{$s:=(Ad "jy-pc-index-friendlink" -1)}}
+  {{range $t,$v := $s}}
+  var data = {{$v}}
+
+  link_str += "<li><a href=\"" + data.s_link + "\" target=\"_blank\" ><img src=\"" + data.s_pic + "\" alt=\"\" /></a></li>";
+  {{end}}
+  $(".jy_friendlink_content ul").html(link_str)
+  /*--E-友情链接--*/
 </script>
+<script src='{{Msg "seo" "cdn"}}/public-pc/js/pc-bottom.js?v={{Msg "seo" "version"}}'></script>

+ 136 - 1092
src/web/templates/common/pchead.html

@@ -1,692 +1,35 @@
-<style>
-	.new-info {
-		position: relative;
-		padding-top: 4px;
-		z-index: 1;
-	}
-	.new-info .link {
-		display: inline-block;
-		color: #2CB7CA;
-		font-size: 12px;
-		letter-spacing: -0.8;
-		text-decoration:none
-	}
-    #public-nav{
-        position: fixed;
-        top: 0;
-    }
-    #public-nav .iner {
-        width: 1200px;
-    }
-    #public-nav .iner .fl{
-        margin-left: 0;
-        display: flex;
-        width: 430px;
-        height: 100%;
-    }
-    #public-nav .iner .fl .jy_nav_searchBtn{
-        background: url(/images/pc/public-search-white.png) no-repeat center center;
-        background-size: 20px;
-        width: 40px;
-        height: 64px;
-        margin-left: auto;
-        position: relative;
-        border: none;
-        cursor: pointer;
-    }
-    #public-nav .iner .fl .jy_nav_searchBtn img{
-        position: absolute;
-        top: 22px;
-        left: 50%;
-        margin-left: -7px;
-        width: 20px;
-    }
-    #public-nav .iner .fl .search-box{
-        width: 100%;
-        height: 100%;
-        background: rgba(255,255,255,0.12);
-        display: flex;
-        align-items: center;
-    }
-    #public-nav .iner .fl .search-box i{
-        background: rgba(255,255,255,0.5);
-        display: inline-block;
-        margin: 0 8px;
-        width: 1px;
-        height: 14px;
-    }
-    #public-nav .iner .fl .search-box img{
-        width: 20px;
-    }
-    #public-nav .iner .fl .search-box .public-nav-search{
-        border: none;
-        background: url(/images/pc/public-search-white.png) no-repeat center 22px;
-        background-size: 20px;
-        width: 20px;
-        height: 100%;
-    }
-    #public-nav .iner .fl .search-box .public-nav-close{
-        border: none;
-        background: url(/images/pc/public-close-white.png) no-repeat center 22px;
-        background-size: 36px;
-        width: 36px;
-        height: 100%;
-        cursor: pointer
-    }
-    #public-nav .iner .fl .jynav-search{
-        font-size: 14px;
-        width: 360px;
-        height: 64px;
-        color: #fff;
-        border:none;
-        box-sizing: border-box;
-        background-color: transparent;
-        padding-left: 16px;
-    }
-    #public-nav[data-theme="light"]{
-        border-bottom: 1px solid #ECECEC;
-    }
-    #public-nav[data-theme="light"] .iner .fl .search-box{
-        background: #F2F2F4;
-    }
-    #public-nav[data-theme="light"] .iner .fl .search-box i{
-        background: #ccc;
-        display: inline-block;
-        margin: 0 8px;
-        width: 1px;
-        height: 14px;;
-    }
-    #public-nav[data-theme="light"] .iner .fl .jynav-search{
-        color: #2F2B39;
-        font-style: 14px;
-    }
-    #public-nav[data-theme="light"] .iner .fl .search-box .public-nav-search{
-        background: url(/images/pc/public-search-grey.png) no-repeat center 22px;
-        background-size: 20px;
-    }
-    #public-nav[data-theme="light"] .iner .fl .search-box .public-nav-search:hover{
-        background: url(/images/pc/public-search-light.png) no-repeat center 22px;
-        background-size: 20px;
-    }
-    #public-nav[data-theme="light"] .iner .fl .search-box .public-nav-close{
-        background: url(/images/pc/public-close-grey.png) no-repeat left 21px;
-        background-size: 22px;
-    }
-    #public-nav[data-theme="light"] .iner .fl .search-box .public-nav-close:hover{
-        background: url(/images/pc/public-close-light.png) no-repeat left 21px;
-        background-size: 22px;
-    }
-    #public-nav[data-theme="light"]  .iner .fl .jy_nav_searchBtn{
-        background: url(/images/pc/public-search-grey.png) no-repeat center center;
-        background-size: 20px 20px;
-    }
-    #public-nav[data-theme="light"]  .iner .fl .jy_nav_searchBtn:hover{
-        background: url(/images/pc/public-search-light.png) no-repeat center center;
-        background-size: 20px 20px;
-    }
-    #public-nav[data-theme="light"] .iner .fl .jynav-search::placeholder{
-        color: #ccc;
-        font-style: 14px;
-    }
-
-
-
-    #public-nav .iner .jynav{
-        position: relative;
-    }
-    #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 .jynav li{
-        position: relative;
-        padding: 0 23px !important;
-        min-width: inherit !important;
-    }
-    #public-nav .iner .jynav li:nth-child(6){
-        height: 63px;
-        margin-left: 23px;
-    }
-    #public-nav .iner .jynav li .jynav-list{
-        display: flex;
-        flex-direction: column;
-        width: 186px;
-        position: absolute;
-        left: 50%;
-        transform: translate(-50%, 0%);
-        line-height: 34px;
-        padding: 24px;
-        background: #fff;
-        border-radius: 0px 0px 4px 4px;
-        box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.08);
-        font-size: 14px;
-        display: none;
-        text-align: left;
-        border-top: 1px solid rgba(0, 0, 0, 0.1);
-    }
-    #public-nav .iner .jynav li  .jy-rember{
-        width: 104px;
-    }
-    #public-nav .iner .jynav li  .jy-rember .tag{
-        width: 46px;
-        height: 18px;
-        opacity: 1;
-        background: #ff3a20;
-        border-radius: 9px;
-        font-size: 12px;
-        display: flex;
-        justify-content: center;
-        align-items: center;
-        color: #fff !important;
-    }
-    #public-nav .iner .jynav li .jynav-list span{
-        display: block;
-        height: 34px;
-        position: relative;
-    }
-    #public-nav .iner .jynav li .discount::after{
-        content: "特惠";
-        display: inline-block;
-        width: 46px;
-        height: 18px;
-        background: #ff3a20;
-        border-radius: 9px;
-        font-size: 12px;
-        color: #ffff;
-        position: absolute;
-        right: 0px;
-        top: 8px;
-        text-align: center;
-        line-height: 18px;
-    }
-    #public-nav .iner .jynav li .jy-nav-hot{
-        position: absolute;
-        top: 4px;
-        left: 68px;
-        width: 50px;
-    }
-    #public-nav .iner .jynav li .jy-nav-msg{
-        width: 24px;
-        vertical-align: middle;
-    }
-    #public-nav .iner .jynav li .msg-img2 {
-        display: none;
-    }
-    #public-nav[data-theme] .iner .jynav li .img-flex {
-        display: flex;
-        flex-direction: column;
-    }
-    #public-nav[data-theme] .iner .jynav li .msg-img1,#public-nav[data-theme] .iner .jynav li .msg-img2 {
-        position: absolute;
-        left: 0;
-        top: 20px;
-    }
-    #public-nav[data-theme] .iner .jynav li .msg-img1 {
-        opacity: 0;
-    }
-    #public-nav[data-theme="light"] .iner .jynav li .msg-img1[data-theme='light'] {
-        opacity: 1;
-    }
-    #public-nav[data-theme="dark"] .iner .jynav li .msg-img1[data-theme='dark'] {
-        opacity: 1;
-    }
-    #public-nav .iner .jynav li .tips {
-        display: none;
-        position: absolute;
-        left: 14px;
-        top: 13px;
-        height: 18px;
-        line-height: 16px;
-        padding: 0 4px;
-        border: 1px solid #fff;
-        background: #ff3a20;
-        border-radius: 10px;
-        font-size: 12px;
-        color: #fff;
-    }
-    /* 滚动条样式 */
-    #public-nav .iner .jynav li .jy-list-msg .msg-par ::-webkit-scrollbar {
-        /*滚动条整体样式*/
-        width: 6px;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par ::-webkit-scrollbar-thumb {
-        /*滚动条里面小方块*/
-        border-radius: 3px;
-        background: #E0E0E0;
-        opacity: 0.15;
-    }
-    #public-nav .iner .jynav li .msg-style {
-        display: none;
-        position: absolute;
-        right: 0!important;
-        left: initial;
-        transform: translate(0%, 0%)!important;
-        width: 400px;
-        padding: 0;
-        background: #ffffff;
-        border-radius: 0px 0px 8px 8px;
-        box-shadow: 0px 6px 8px 0px rgba(0,0,0,0.08);
-        margin-top: 63px;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par {
-        display: flex;
-        flex-direction: column;
-        justify-content: center;
-        height: 368px;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-head {
-        display: flex;
-        justify-content: space-between;
-        align-items: center;
-        padding: 16px 24px;
-        line-height: 24px;
-        box-shadow: 0px -1px 0px 0px rgba(0,0,0,0.05) inset;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .imgs, #public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .imgs1 {
-        width: 16px;
-        height: 16px;
-        cursor: pointer;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .imgs1 {
-        display: none;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .spa {
-        height: auto;
-        font-size: 16px;
-        color: #1d1d1d;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .spa i {
-        font-size: 14px;
-        color: #686868;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-head .spa i em {
-        color: #2CB7CA;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul {
-        flex: 1;
-        overflow-y: scroll;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .lis-cont .dots {
-        position: absolute;
-        left: 28px;
-        top: 7px;
-        width: 6px;
-        height: 6px;
-        background: #fb483d;
-        border: 1px solid #ffffff;
-        border-radius: 50%;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li {
-        padding: 12px 24px!important;
-        box-shadow: 0px -1px 0px 0px rgb(0 0 0 / 5%) inset;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li:hover {
-        cursor: pointer;
-        background: #f5f6f7;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont {
-        position: relative;
-        display: flex;
-        flex-direction: initial;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont img {
-        width: 32px;
-        height: 32px;
-        margin: 4px 12px 0 0;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis {
-        width: 100%;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis .title {
-        display: flex;
-        flex-direction: initial;
-        justify-content: space-between;
-        font-size: 14px;
-        color: #1d1d1d;
-        line-height: 22px;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis .title span {
-        height: auto;
-        text-align: left;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis .title span:nth-child(2) {
-        font-size: 12px;
-        color: #999;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-ul .m-li .lis-cont .r-lis p {
-        font-size: 13px;
-        color: #686868;
-        line-height: 20px;
-        margin-top: 4px;
-        text-align: left;
-        word-break: break-all;
-    }
-    #public-nav .iner .jynav li .no-datas {
-        display: flex;
-        flex-direction: column;
-        align-items: center;
-        margin-top: 18px;
-    }
-    #public-nav .iner .jynav li .no-datas img {
-        width: 200px;
-        height: 200px;
-    }
-    #public-nav .iner .jynav li .no-datas .tip-text p {
-        color: #999;
-        font-size: 14px;
-        line-height: 22px;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-foot {
-        padding: 12px 0;
-        display: flex;
-        justify-content: center;
-        box-shadow: 0px 1px 0px 0px rgba(0,0,0,0.05) inset;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-foot a {
-        font-size: 16px;
-        color: #1d1d1d;
-        line-height: 24px;
-    }
-    #public-nav .iner .jynav li .jy-list-msg .msg-par .m-foot a:hover {
-        color: #2CB7CA;
-    }
-    #public-nav .iner .jynav li .jynav-list span.active a{
-        color: #2CB7CA;
-    }
-    #public-nav .iner .jynav li .jynav-list span a{
-        color: #1D1D1D;
-        font-size: 14px;
-    }
-    #public-nav .iner .jynav li .jynav-list span a:hover{
-        color: #2CB7CA;
-        font-size: 14px;
-    }
-    #public-nav .iner ul.jynav.hover li:not(.hover) > a {
-        color: #fff;
-    }
-    #public-nav[data-theme="light"]{
-        background: #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: none;
-    }
-    /* light theme */
-    #public-nav[data-theme="light"] .badge-box.badge--new,
-    .badge-box.badge--new{
-        background: #FF3A20;
-        color: #fff;
-    }
-    #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: #EFC197;
-    }
-    #public-nav[data-theme="dark"] .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;
-    }
-    .public-nav .iner .jynav li {
-        width: auto;
-        min-width: 75px;
-    }
-
-    /* 绑定手机号头部样式 */
-    .bind-phone-head{
-        padding: 12px 0 24px;
-        width: 100%;
-        text-align: center;
-    }
-    .bind-phone-head .bind-phone-title{
-        color: #1D1D1D;
-        font-size: 16px;
-        line-height: 24px;
-        letter-spacing: 0px;
-    }
-    .bind-phone-head .bind-phone-tip{
-        margin-top: 6px;
-        color: #999999;
-        font-weight: regular;
-        font-size: 12px;
-        line-height: 20px;
-        text-align: center;
-
-    }
-    .bindphonebtn:disabled{
-        background: #2CB7CA;
-        opacity: 0.5;
-    }
-    .bindphonebtn{
-        background: #2CB7CA;
-        opacity: 1;
-        border: 1px solid #2CB7CA;
-    }
-    /* 解决方案样式 */
-    #public-nav .iner .jynav li .jynav-list .navDX {
-        padding-left: 24px;
-        display: flex;
-        flex-direction: column;
-        justify-content: center;
-        width: 150px;
-        height: 90px;
-        opacity: 1;
-        border-radius: 4px;
-    }
-    #public-nav .iner .jynav li .jynav-list .navDX:hover{
-        cursor: pointer;
-        background: rgba(44,183,202,0.08);
-    }
-    #public-nav .iner .jynav li .jynav-list .navDX:hover a{
-        color: #2CB7CA;
-    }
-    .public-nav .iner .jynav li .navDX>a{
-        display: initial;
-    }
-    #public-nav .useronline{
-      height: 50px;
-      margin-left: 20px;
-    }
-</style>
-<style type="text/css">
-    @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
-        /* IE10+ CSS styles go here */
-        .text-gradient::after {content: none !important;}
-        .page--big--index [data-text].text-gradient::after {content: none !important;}
-    }
-</style>
-<!--[if IE]>
-<style type="text/css">
-.text-gradient::after {content: none !important;}
-.page--big--index [data-text].text-gradient::after {content: none !important;}
-</style>
-<![endif]-->
-<!--S-绑定手机号-->
-<style>
-    #bidLogin .login-dig-footer-box[data-name='bind-phone'],
-    #bidLogin .login-dig-tabbar-navbar[data-name='bind-phone'] {
-        display: none;
-    }
-
-    #bidLogin[data-name='bind-phone'] .login-dig-footer-box,
-    #bidLogin[data-name='bind-phone'] .login-dig-tabbar-content[data-name='pass'],
-    #bidLogin[data-name='bind-phone'] .login-dig-tabbar-navbar {
-        display: none;
-    }
-    #bidLogin[data-name='bind-phone'] .login-dig-footer-box[data-name='bind-phone'],
-    #bidLogin[data-name='bind-phone'] .login-dig-tabbar-content[data-name='code'],
-    #bidLogin[data-name='bind-phone'] .login-dig-tabbar-navbar[data-name='bind-phone'] {
-        display: block !important;
-    }
-    #bidLogin[data-name='bind-phone'] .login-dig-tabbar-content[data-name='code'] {
-        margin-top: 24px;
-    }
-</style>
-<!--E-绑定手机号-->
-<style>
-    .f-box {
-        display: flex;
-        flex-direction: row;
-        align-items: center;
-        justify-content: space-between;
-    }
-    .go-register {
-        display: inline-block;
-        color: #2CB7CA;
-        font-size: 14px;
-        line-height: 24px;
-        margin-left: 112px;
-        margin-top: 12px;
-        text-align: center;
-    }
-    #public-nav form{
-        display: flex;
-    height: 64px;
-    align-items: center;
-    }
-    .super-vip::after {
-      content: "升级";
-      display: inline-block;
-      width: 46px;
-      height: 18px;
-      background: #ff3a20;
-      border-radius: 9px;
-      font-size: 12px;
-      color: #ffff;
-      position: absolute;
-      right: 0px;
-      top: 8px;
-      text-align: center;
-      line-height: 18px;
-    }
-    .recruit {
-        margin-left: -14px;
-        word-break: keep-all;
-    }
-    .nav-text {
-        position: relative;
-    }
-    .nav-text .dot-red {
-        position: absolute;
-        top: 20px;
-        right: -4px;
-    }
-    .dot-red {
-        display: inline-block;
-        width: 5px;
-        height: 5px;
-        background-color: #ff3a20;
-        border-radius: 50%;
-    }
-</style>
-
+<link rel="stylesheet" href="{{Msg "seo" "cdn"}}/public-pc/css/header-nav.css?v={{Msg "seo" "version"}}">
 <section class="public-nav" id="public-nav">
-	<div class="iner">
-		<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"}}' />
+    <div class="iner">
+        <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="fl">
-            <div class="search-box"  style="display: none;">
+            <div class="search-box" style="display: none;">
                 <form method="post" action="/jylab/supsearch/index.html?publishtime=thisyear" id="public_header">
-                    <input class="jynav-search" autocomplete="off" placeholder="请输入您想要查询的招标信息,多个关键词用空格隔开" value="" type="text" name="keywords" />
+                    <input class="jynav-search" autocomplete="off" placeholder="请输入您想要查询的招标信息,多个关键词用空格隔开" value=""
+                           type="text" name="keywords"/>
                     <input type="hidden" name="searchvalue">
-                    <button class="public-nav-search" type="submit" onclick="zbSeatch('public_header')" ></button><i></i>
+                    <button class="public-nav-search" type="submit" onclick="zbSeatch('public_header')"></button>
+                    <i></i>
                     <span class="public-nav-close search-close"></span>
                 </form>
             </div>
-           <span class="jy_nav_searchBtn">
-
-            </span>
+            <span class="jy_nav_searchBtn"></span>
         </div>
-		<div class="fr">
-			<ul class="jynav">
-				<li  name="会员">
-					<a href="/front/subscribe.html">会员</a>
+        <div class="fr">
+            <ul class="jynav">
+                <li name="会员">
+                    <a href="/front/subscribe.html">会员</a>
                     <div class="jynav-list jy-rember" style="width:158px;">
                         <span name="招标订阅" class="super-vip"><a href="/front/subscribe.html">超级订阅</a></span>
                         <span name="大会员"><a href="/big/page/index">大会员</a></span>
                          <span name="商机管理"><a href="/swordfish/frontPage/entpc/free/enptc_index">商机管理</a></span>
                     </div>
-				</li>
-                <li  name="数据">
-					<a class="nav-text" href="/front/dataExport/toSieve">
+                </li>
+                <li name="数据">
+                    <a class="nav-text" href="/front/dataExport/toSieve">
                         数据
                         <span class="dot-red"></span>
                     </a>
@@ -695,22 +38,24 @@
                         <span name="数据服务"><a href="/front/structed/pc_index.html">定制服务</a></span>
                         <span name="数据流量包"><a style="display: flex;justify-content: space-between; align-items: center" href="/front/dataPack/createOrder">数据流量包 <div class="tag">特惠</div></a></span>
                     </div>
-				</li>
-                <li  name="解决方案">
-					<a href="/swordfish/frontPage/solution/free/index">解决方案</a>
+                </li>
+                <li name="解决方案">
+                    <a href="/swordfish/frontPage/solution/free/index">解决方案</a>
                     <div class="jynav-list jy-rember" style="width: 197px;height: 138px;">
                         <span class="navDX" name="电信行业解决方案">
-                            <img src='{{Msg "seo" "cdn"}}/frontRouter/pc/solution/image/nav-dx.png' alt="" style="width: 32px;height: 32px;">
+                            <img src='{{Msg "seo" "cdn"}}/frontRouter/pc/solution/image/nav-dx.png' alt=""
+                                 style="width: 32px;height: 32px;">
                             <a href="/swordfish/frontPage/solution/free/index">电信行业解决方案</a>
                         </span>
                     </div>
-				</li>
-                <li  name="百宝箱">
-					<a href="/jyxspc">百宝箱</a>
-                    <img src='{{Msg "seo" "cdn"}}/images/pc/hot.png?v={{Msg "seo" "version"}}' class="jy-nav-hot" alt="" />
+                </li>
+                <li name="百宝箱">
+                    <a href="/jyxspc">百宝箱</a>
+                    <img src='{{Msg "seo" "cdn"}}/images/pc/hot.png?v={{Msg "seo" "version"}}' class="jy-nav-hot"
+                         alt=""/>
                     <div class="jynav-list">
                         <span name="中标必听课"><a href="/jyxspc">中标必听课</a></span>
-<!--                        <span class="discount" name="招标文件解读"><a href="/bid/pc/page/bidfile_landpage">招标文件解读</a></span>-->
+                        <!--                        <span class="discount" name="招标文件解读"><a href="/bid/pc/page/bidfile_landpage">招标文件解读</a></span>-->
                         <span name="剑鱼文库"><a href="/swordfish/docs">剑鱼文库</a></span>
                         <span name="bbx_0"><a href="/big/page/zb">中标预测</a></span>
                         <span name="bbx_1"><a href="/big/page/yw">潜在客户挖掘</a></span>
@@ -720,437 +65,136 @@
                         <span name="bbx_5"><a href="/big/page/sc">市场分析</a></span>
                         <span name="bbx_6"><a href="/big/page/cg">客户分析</a></span>
                     </div>
-				</li>
-                <li  name="联系我们">
-					<a href="/front/busicooperation.html">联系我们</a>
+                </li>
+                <li name="联系我们">
+                    <a href="/front/busicooperation.html">联系我们</a>
                     <div class="jynav-list jy-rember">
                         <span name="商务合作"><a href="/front/busicooperation.html">商务合作</a></span>
                         <span name="广告服务"><a href="/front/advservices.html">广告服务</a></span>
                         <span name="关于我们"><a href="/front/aboutus.html">关于我们</a></span>
                         <span name="产品销售合作" class="recruit"><a href="/swordfish/frontPage/partner/free/index">产品销售合作</a></span>
                     </div>
-				</li>
-                <li  name="消息" id="noticed" style="display: none;">
+                </li>
+                <li name="消息" id="noticed" style="display: none;">
                     <a href="/swordfish/frontPage/messageCenter/sess/index">
                         <div class="img-flex">
-                            <img data-theme="light" src='{{Msg "seo" "cdn"}}/images/pc/mesg.png?v={{Msg "seo" "version"}}' class="jy-nav-msg msg-img1" alt="" />
-                            <img data-theme="dark" src='{{Msg "seo" "cdn"}}/images/pc/mesg_fff.png?v={{Msg "seo" "version"}}' class="jy-nav-msg msg-img1" alt="" />
+                            <img data-theme="light"
+                                 src='{{Msg "seo" "cdn"}}/images/pc/mesg.png?v={{Msg "seo" "version"}}'
+                                 class="jy-nav-msg msg-img1" alt=""/>
+                            <img data-theme="dark"
+                                 src='{{Msg "seo" "cdn"}}/images/pc/mesg_fff.png?v={{Msg "seo" "version"}}'
+                                 class="jy-nav-msg msg-img1" alt=""/>
                         </div>
-                        <img src='{{Msg "seo" "cdn"}}/images/pc/mesg_active.png?v={{Msg "seo" "version"}}' class="jy-nav-msg msg-img2" alt="" />
+                        <img src='{{Msg "seo" "cdn"}}/images/pc/mesg_active.png?v={{Msg "seo" "version"}}'
+                             class="jy-nav-msg msg-img2" alt=""/>
                         <span class="tips" id="tips"></span>
                     </a>
                     <div class="jy-list-msg msg-style">
                         <div class="msg-par">
                             <div class="m-head">
                                 <span class="spa">消息中心<i>( <em id="noNum">0</em> 条未读 )</i></span>
-                                <img class="imgs" src='{{Msg "seo" "cdn"}}/images/pc/guan.png?v={{Msg "seo" "version"}}'>
-                                <img id="imgActive" class="imgs1" src='{{Msg "seo" "cdn"}}/images/pc/guan_active.png?v={{Msg "seo" "version"}}'>
+                                <img class="imgs"
+                                     src='{{Msg "seo" "cdn"}}/images/pc/guan.png?v={{Msg "seo" "version"}}'>
+                                <img id="imgActive" class="imgs1"
+                                     src='{{Msg "seo" "cdn"}}/images/pc/guan_active.png?v={{Msg "seo" "version"}}'>
                             </div>
                             <div class="m-ul"></div>
                             <div class="m-foot"><a href="/swordfish/frontPage/messageCenter/sess/index">查看全部</a></div>
                         </div>
                     </div>
-				</li>
-				<li class="slider"></li>
-			</ul>
-			<div class='useronline' id="login" style="float:left;"></div>
-		</div>
-	</div>
+                </li>
+                <li class="slider"></li>
+            </ul>
+            <div class='useronline' id="login" style="float:left;"></div>
+        </div>
+    </div>
 </section>
 
-<div class="modal fade bidLogin" id="bidLogin"  tabindex="-1" role="dialog" aria-labelledby="bidLogin" aria-hidden="true" >
-  <div class="modal-dialog login-dig-box is-show" style="width:376px;">
-      <div class="login-dig-icon-close" onclick="closeLoginDig()"></div>
-      <img class="logo" src="/images/swordfish/sf_01_new.png" alt="logo" style="display: block;">
-      <div class="bind-phone-head" style="display: none;">
-          <h3 class="bind-phone-title">绑定手机号</h3>
-          <p class="bind-phone-tip">为了给您提供更好的服务,请绑定手机号!</p>
-      </div>
-      <div class="login-dig-top-back-box" style="display: none;" onclick="openLoginDigForWx(false)">
-          <i class="login-dig-icon-back"></i>
-          <span>验证码/密码登录</span>
-      </div>
-      <div class="login-dig-tabbar-navbar" style="">
-          <span name="code" class="is-active">验证码登录</span>
-          <span name="pass" class="">密码登录</span>
-          <div class="line-box"></div>
-      </div>
-      <!-- <div class="login-dig-tabbar-navbar" data-name="bind-phone" style="display: none;">
-          <span name="phone" class="is-active">手机号绑定</span>
-          <div class="line-box"></div>
-      </div> -->
-      <div class="login-dig-tabbar-content is-active" data-name="code" style="">
-          <div class="login-dig-input-box" data-error="手机号码输入错误">
-              <i class="login-dig-icon-phone"></i>
-              <input autocomplete="off" name="verify_phone" type="tel" placeholder="输入手机号码" maxlength="11">
-          </div>
-          <div class="login-dig-input-box" data-error="图形验证码输入错误">
-              <i class="login-dig-icon-guard"></i>
-              <input autocomplete="off" name="verify_code" type="text" placeholder="输入图形验证码" maxlength="4">
-              <div class="after-input-box">
-                  <img data-name="verfiy-login" class="verify-img" src="/front/landpage/captcha" alt="verify">
-              </div>
-          </div>
-          <div class="login-dig-input-box" data-error="短信验证码输入错误">
-              <i class="login-dig-icon-guard"></i>
-              <input autocomplete="off" name="verify_sms" type="text" placeholder="输入短信验证码" maxlength="6">
-              <div class="after-input-box">
-                  <span data-name="verify_get_sms" class="l-get-sms is-stop">获取验证码</span>
-              </div>
-          </div>
-          <button class="login-dig-submit-button" name="verify_submit" disabled="true">登录</button>
-          <a class="go-register" href="/phone/register">立即注册</a>
-      </div>
-      <div class="login-dig-tabbar-content" data-name="pass">
-          <div class="login-dig-input-box" data-error="手机号码输入错误">
-              <i class="login-dig-icon-phone"></i>
-              <input autocomplete="off" name="pass_phone" type="tel" placeholder="输入手机号码" maxlength="11">
-          </div>
-          <div class="login-dig-input-box" data-error="密码输入错误">
-              <i class="login-dig-icon-pass"></i>
-              <input autocomplete="off" name="pass_pass" type="password" placeholder="输入密码">
-          </div>
-          <button class="login-dig-submit-button" name="pass_submit" disabled="true">登录</button>
-          <div class="f-box right-box">
-              <a class="forget-pass-link" href="/phone/register">立即注册</a>
-              <a class="forget-pass-link" href="/phone/forgetPwd">忘记密码?</a>
-          </div>
-      </div>
-      <div class="login-dig-wx-qrcode-box" style="display: none;">
-          <img class="wx-qrcode" id="layerImg-login" src="/front/share/10"/>
-          <div class="wx-tip">
-              <div class="wx-logo"><i class="login-dig-icon-wx"></i></div>
-              <span>微信扫码登录</span>
-          </div>
-      </div>
-      <!-- <div class="login-dig-footer-box" data-name="bind-phone" name="tip-bind-phone" style="display: none;">
-          <p>为了确保您账号的安全性与唯一性,在您购买剑鱼标讯任意功能前,请先绑定手机号,以便后期维护。</p>
-      </div> -->
-      <div class="login-dig-footer-box">
-          <div class="login-dig-text-split" style="">
-              <i></i><span>使用微信扫码登录</span><i></i>
-          </div>
-          <div class="wx-logo-box" onclick="openLoginDigForWx(true)" style="">
-              <div class="wx-logo"><i class="login-dig-icon-wx"></i></div>
-          </div>
-          <p>
-              未注册用户验证后自动注册,注册即代表同意
-              <a href="/front/staticPage/permission_rules.html">《剑鱼标讯用户使用许可协议》</a>
-              <a href="/front/staticPage/privacy_rules.html">《剑鱼标讯隐私政策》</a>
-          </p>
-      </div>
-  </div>
+<div class="modal fade bidLogin" id="bidLogin" tabindex="-1" role="dialog" aria-labelledby="bidLogin"
+     aria-hidden="true">
+    <div class="modal-dialog login-dig-box is-show" style="width:376px;">
+        <div class="login-dig-icon-close" onclick="closeLoginDig()"></div>
+        <img class="logo" src="/images/swordfish/sf_01_new.png" alt="logo" style="display: block;">
+        <div class="bind-phone-head" style="display: none;">
+            <h3 class="bind-phone-title">绑定手机号</h3>
+            <p class="bind-phone-tip">为了给您提供更好的服务,请绑定手机号!</p>
+        </div>
+        <div class="login-dig-top-back-box" style="display: none;" onclick="openLoginDigForWx(false)">
+            <i class="login-dig-icon-back"></i>
+            <span>验证码/密码登录</span>
+        </div>
+        <div class="login-dig-tabbar-navbar" style="">
+            <span name="code" class="is-active">验证码登录</span>
+            <span name="pass" class="">密码登录</span>
+            <div class="line-box"></div>
+        </div>
+        <!-- <div class="login-dig-tabbar-navbar" data-name="bind-phone" style="display: none;">
+            <span name="phone" class="is-active">手机号绑定</span>
+            <div class="line-box"></div>
+        </div> -->
+        <div class="login-dig-tabbar-content is-active" data-name="code" style="">
+            <div class="login-dig-input-box" data-error="手机号码输入错误">
+                <i class="login-dig-icon-phone"></i>
+                <input autocomplete="off" name="verify_phone" type="tel" placeholder="输入手机号码" maxlength="11">
+            </div>
+            <div class="login-dig-input-box" data-error="图形验证码输入错误">
+                <i class="login-dig-icon-guard"></i>
+                <input autocomplete="off" name="verify_code" type="text" placeholder="输入图形验证码" maxlength="4">
+                <div class="after-input-box">
+                    <img data-name="verfiy-login" class="verify-img" src="/front/landpage/captcha" alt="verify">
+                </div>
+            </div>
+            <div class="login-dig-input-box" data-error="短信验证码输入错误">
+                <i class="login-dig-icon-guard"></i>
+                <input autocomplete="off" name="verify_sms" type="text" placeholder="输入短信验证码" maxlength="6">
+                <div class="after-input-box">
+                    <span data-name="verify_get_sms" class="l-get-sms is-stop">获取验证码</span>
+                </div>
+            </div>
+            <button class="login-dig-submit-button" name="verify_submit" disabled="true">登录</button>
+            <a class="go-register" href="/phone/register">立即注册</a>
+        </div>
+        <div class="login-dig-tabbar-content" data-name="pass">
+            <div class="login-dig-input-box" data-error="手机号码输入错误">
+                <i class="login-dig-icon-phone"></i>
+                <input autocomplete="off" name="pass_phone" type="tel" placeholder="输入手机号码" maxlength="11">
+            </div>
+            <div class="login-dig-input-box" data-error="密码输入错误">
+                <i class="login-dig-icon-pass"></i>
+                <input autocomplete="off" name="pass_pass" type="password" placeholder="输入密码">
+            </div>
+            <button class="login-dig-submit-button" name="pass_submit" disabled="true">登录</button>
+            <div class="f-box right-box">
+                <a class="forget-pass-link" href="/phone/register">立即注册</a>
+                <a class="forget-pass-link" href="/phone/forgetPwd">忘记密码?</a>
+            </div>
+        </div>
+        <div class="login-dig-wx-qrcode-box" style="display: none;">
+            <img class="wx-qrcode" id="layerImg-login" src="/front/share/10"/>
+            <div class="wx-tip">
+                <div class="wx-logo"><i class="login-dig-icon-wx"></i></div>
+                <span>微信扫码登录</span>
+            </div>
+        </div>
+        <!-- <div class="login-dig-footer-box" data-name="bind-phone" name="tip-bind-phone" style="display: none;">
+            <p>为了确保您账号的安全性与唯一性,在您购买剑鱼标讯任意功能前,请先绑定手机号,以便后期维护。</p>
+        </div> -->
+        <div class="login-dig-footer-box">
+            <div class="login-dig-text-split" style="">
+                <i></i><span>使用微信扫码登录</span><i></i>
+            </div>
+            <div class="wx-logo-box" onclick="openLoginDigForWx(true)" style="">
+                <div class="wx-logo"><i class="login-dig-icon-wx"></i></div>
+            </div>
+            <p>
+                未注册用户验证后自动注册,注册即代表同意
+                <a href="/front/staticPage/permission_rules.html">《剑鱼标讯用户使用许可协议》</a>
+                <a href="/front/staticPage/privacy_rules.html">《剑鱼标讯隐私政策》</a>
+            </p>
+        </div>
+    </div>
 </div>
 <script src='{{Msg "seo" "cdn"}}/js/dateFunc.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/js/message.js?v={{Msg "seo" "version"}}'></script>
-<script type="text/javascript">
-    // 初始化message模块内容
-    var message = new Message()
-
-    function zbSeatch(id){
-        $("#"+id).submit();
-    }
-
-    // 切换底部滑块line
-    function index(el) {
-        if (!el) return -1;
-        var i = 0;
-        do {
-            i++;
-        } while (el = el.previousElementSibling);
-        return i;
-    }
-
-    var firstTheme = '',firstPage = true;
-    function setNavTheme (type) {
-        var el = document.getElementById("public-nav")
-        el.setAttribute('data-theme', type || 'light')
-        if(firstPage){
-            firstPage = false;
-            firstTheme = el.getAttribute('data-theme')
-        }
-    }
-    function trySelectNav (name) {
-        try {
-            if(name == '解决方案') {
-                name = '电信行业解决方案'
-            }
-            var activeDom = document.querySelector("#public-nav .jynav li .jynav-list span[name='"+ name +"']")
-           activeDom.parentNode.parentNode.className = 'active'
-           activeDom.className += ' active'
-        } catch (e) {
-            document.querySelector(".public-nav .jynav .slider").style.display = 'none'
-        }
-    }
-    ;(function () {
-        function navInit(){
-            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',
-                    '/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')
-                }
-                if(window.location.pathname == ('/swordfish/integral/index')){
-                    setNavTheme('dark')
-                    $("body").css({
-                        "height":"auto",
-                        "overflow":"hidden"
-                    })
-                }
-                var naParams = window.location.search
-                if(naParams.indexOf('?name=bbx_')>-1){
-                    var urlArr = naParams.split('=')
-                    trySelectNav(urlArr[1])
-                }else{
-                    trySelectNav(isEnableCheck.content)
-                }
-            } else {
-                if ((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)) {
-                    setNavTheme('light')
-                } else {
-                    setNavTheme('dark')
-                }
-            }
-
-            // 导航栏是否固定
-            var noFixedArr = ['/article/indexcontent','/article/content', '/article/mailprivate']
-            var hasPage = noFixedArr.some(function (v) {
-                return $href.indexOf(v) !== -1
-            })
-            if(hasPage){
-                $("#public-nav").css("position","relative")
-                setNavTheme('light')
-            }
-        }
-        navInit()
-
-    })();
-    function docScroll(e){
-        var $href = window.location.href;
-        var opa = $(document).scrollTop() / 150
-        var curTheme =$("#public-nav").attr('data-theme')
-        if(opa >= 1){
-            setNavTheme('light')
-            $(".loginBtn").css({"border-color":"#e0e0e0","color":"rgb(37, 38, 39)"});
-            $(".loginBtn").attr("onmouseover","this.style.borderColor='#2cb7ca'; this.style.color='#2cb7ca';");
-            $(".loginBtn").attr("onmouseout","this.style.borderColor='#e0e0e0'; this.style.color='#252627';");
-        }else {
-            if(window.location.pathname == ('/swordfish/integral/index')){
-                setNavTheme('dark')
-            }
-            if(firstTheme === 'dark'){
-                setNavTheme('dark')
-                $(".loginBtn").css('color','#fff')
-                $(".loginBtn").attr("onmouseover","this.style.borderColor='#2cb7ca'; this.style.color='#2cb7ca';");
-                $(".loginBtn").attr("onmouseout","this.style.borderColor='#fff'; this.style.color='#fff';");
-            }
-        }
-
-    }
-    window.addEventListener('scroll', docScroll, true)
-
-$(function(){
-
-    // 搜索框显示、隐藏
-    $("#public-nav .iner .fl .jy_nav_searchBtn").on("click",function(){
-        $(this).hide()
-        $("#public-nav .iner .fl .search-box").show()
-    })
-    $("#public-nav .iner .fl .search-box .search-close").on('click',function(){
-        $(this).parents('.search-box').hide()
-        $("#public-nav .iner .fl .jy_nav_searchBtn").show()
-    })
-
-    // 导航栏展示/关闭
-    var curTheme = 'light'
-    $("#public-nav .iner .jynav li").bind("mouseenter",function(){
-         var l = $(this).find('.jynav-list').length;
-         if(l > 0){
-            //  隐藏消息悬浮窗
-            $('#public-nav .iner .jynav li').find('.jy-list-msg').hide()
-            $(this).find('.jynav-list').toggle()
-            $(this).find('.msg-img1').hide()
-            $(this).find('.msg-img2').show()
-
-            $(this).siblings().find('.jynav-list').hide()
-            curTheme =$("#public-nav").attr('data-theme')
-            setNavTheme('light',1)
-            $(".loginBtn").css({"borderColor":"#e0e0e0","color":'#252627'})
-         }
-    })
-    $("#public-nav .iner .jynav li").bind("mouseleave",function(){
-        setNavTheme(curTheme,1)
-        docScroll()
-
-        //  隐藏消息悬浮窗
-        $('#public-nav .iner .jynav li').find('.jy-list-msg').show()
-
-        $("#public-nav .iner .jynav li").find('.jynav-list').hide()
-        $(this).find('.msg-img1').show()
-        $(this).find('.msg-img2').hide()
-    })
-
-
-	var href = window.location.pathname;
-	$("#myModal").on("show.bs.modal", function () {
-		//$(".public-nav").css({"padding-right":"17px"});
-	})
-	$("#myModal").on("hidden.bs.modal", function () {
-		$(".public-nav").css({"padding-right":""});
-	})
-	$("#myModal-01").on("show.bs.modal", function () {
-		//$(".public-nav").css({"padding-right":"17px"});
-	})
-	$("#myModal-01").on("hidden.bs.modal", function () {
-		$(".public-nav").css({"padding-right":""});
-	})
-	if (href.indexOf("subscribe")>-1||href.indexOf("advservices")>-1||href.indexOf("aboutus")>-1||href.indexOf("busicooperation")>-1){
-		$(".search").show();
-	}
-	if(href.indexOf("jylab/bidsearchforent/index.html")>-1){
-		return;
-	}
-
-	$(document).on('keydown', function(e){
-		if(e.keyCode == "13"){
-			if($("#bidLogin").is(":visible")){
-				return;
-			}
-			zbSeatch('zbSeatchIndex');
-			//将搜索次数记录cookie
-			$.cookie("selectNum",1, { expires: 1 });
-		};
-	});
-})
-
-$("#xspc").click(function(){
-   window.location.href=$(this).attr("datahref");
-})
-$("#dataExport").click(function(){
-    //清除筛选条件页面的相应session-20190102
-    for(var i in sessionStorage){
-        if(sessionStorage.hasOwnProperty(i) && /^sieve_/.test(i)){
-            sessionStorage.removeItem(i);
-        }
-    }
-    if(!loginflag){
-        $(".code-text").html('<span style="font-size: 22px;margin-top: 10px;display: inline-block;color:#252627;font-weight:normal;"><img id="wxpng" src="{{Msg "seo" "cdn"}}/images/wx1.png">请先微信扫码登录</span>')
-        $("#bidLogin").attr("data-rec","sjdc");
-		$("#bidLogin").modal("show");
-    }else {
-        window.location.href=$(this).attr("datahref");
-	}
-})
-$("#jyDocs").click(function(){
-    if(!loginflag){
-        $(".code-text").html('<span style="font-size: 22px;margin-top: 10px;display: inline-block;color:#252627;font-weight:normal;"><img id="wxpng" src="{{Msg "seo" "cdn"}}/images/wx1.png">请先微信扫码登录</span>')
-        $("#bidLogin").attr("data-rec","jydocs");
-        $("#bidLogin").modal("show");
-    }else {
-        window.location.href=$(this).attr("datahref");
-    }
-})
-
-// 点击解决方案跳转
-$('.navDX').click(function() {
-    location.href = '/swordfish/frontPage/solution/free/index'
-})
-
-
-
-//隐藏弹窗
-$("body").click(function(event){
-	//$(".QRLogin").hide();
-	//获取鼠标点击目标
-	var target = $(event.target);
-	//点击目标为头像 弹出或关闭用户信息列表
-	if(target.is('img[class*=imgShow]')){
-		$(".infoList").toggle();
-		//$(".infoList").css({
-		//	'boxShadow': '0px 0px 10px rgba(0,0,0, .15)'
-		//});
-	}else{
-		//点击body隐藏
-		$(".infoList").hide();
-	}
-})
-$(function(){
-  commonMouseEvent();
-  $('.useronline').on('mouseover',function(){
-    $(".infoList").show();
-	}).mouseout(function(){
-    $(".infoList").hide();
-	})
-})
-function commonMouseEvent(){
-	$('.exitDiv,.myorderDiv').on('mouseover',function(){
-		$(this).css({'backgroundColor':'#f4f4f7','color':'#2cb7ca'})
-	})
-	$('.infoList').on('mouseover',function(){
-		//$(this).css({
-		//	'boxShadow': '0px 0px 10px rgba(0,0,0, .15)'
-		//});
-
-	}).mouseout(function(){
-		//$(this).css({
-		//	'boxShadow': 'none'
-		//});
-		$('.exitDiv,.myorderDiv').css({
-			'backgroundColor':'#fff',
-			'color':'#1d1d1d'
-		});
-	})
-}
-function infoListCss(){
-	var $useronline = $('.useronline');
-	var $infoList = $('.infoList');
-	$useronline.css('position','relative');
-	$infoList.css({
-		'position':'absolute',
-		'left':'-109px',
-		'top':'42px',
-		'z-index':'999',
-		'cursor': 'pointer',
-		'height':'auto',
-		'min-width':'152px',
-		'box-shadow':' 0 0 20px rgba(0,0,0, .2)'
-	})
-	$('.userInfo .one').css({
-		'display': 'inline-block',
-	    'width': '0px',
-	    'height': '0px',
-	    'border': '1px solid #ccc',
-	    'position': 'absolute',
-	    'left': '119px',
-	    'top': '-11px',
-	    'border-width': '6px',
-	    'border-color': 'transparent transparent #e0e0e0 transparent'
-	})
+<script src='{{Msg "seo" "cdn"}}/public-pc/js/header-nav.js?v={{Msg "seo" "version"}}'></script>
 
-	$('.userInfo .two').css({
-		'display': 'inline-block',
-	    'width': '0px',
-	    'height': '0px',
-	    'border': '1px solid #fff',
-	    'position': 'absolute',
-	    'left': '119px',
-	    'top': '-10px',
-	    'border-width': '6px',
-	    'border-color': 'transparent transparent #fff transparent',
-	    'z-index': '99'
-	})
-}
-</script>

+ 17 - 37
src/web/templates/common/pnc.html

@@ -11,49 +11,29 @@
 <link href="{{Msg "seo" "cdn"}}/css/animate.css" rel="stylesheet">
 <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/css/unicorn.main.css" />
 <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/css/unicorn.grey.css" />
+
 <script src="https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js"></script>
-<script src="https://cdn-common.jianyu360.com/cdn/lib/assets-retry/0.3.2/dist/assets-retry.umd.js"></script>
-<script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
 <script>
-  if (typeof window._jyGlobal !== 'object') { window._jyGlobal = {} }
-  try { window._jyGlobal.baseURL = {{Msg "seo" "buryingPointUrl"}} } catch (e) { window._jyGlobal.baseURL = '' }
-  // 屏蔽console.log输出, 如需查看手动 localStorage.setItem('env', 'development') 刷新页面
-  if (localStorage.getItem('env') !== 'development') {
-      console.log = function () {}
-  }
-  // polyfills
-  if (typeof Object.assign != 'function') {
-    // Must be writable: true, enumerable: false, configurable: true
-    Object.defineProperty(Object, "assign", {
-      value: function assign(target, varArgs) {
-        // .length of function is 2
-        if (target == null) {
-          // TypeError if undefined or null
-          throw new TypeError('Cannot convert undefined or null to object');
-        }
-
-        var to = Object(target);
+    // 全局模版变量
+    window.goTemplateData = {
+      params: {{.T}},
+      session: {
+        s_avatar: {{session "s_avatar"}},
+        s_headimageurl: {{session "s_headimageurl"}},
 
-        for (var index = 1; index < arguments.length; index++) {
-          var nextSource = arguments[index];
+        phone: {{session "phone"}},
+        s_nickname: {{session "s_nickname"}},
+        app_name: {{session "app_name"}},
+        nickname: {{session "nickname"}},
 
-          if (nextSource != null) {
-            // Skip over if undefined or null
-            for (var nextKey in nextSource) {
-              // Avoid bugs when hasOwnProperty is shadowed
-              if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) {
-                to[nextKey] = nextSource[nextKey];
-              }
-            }
-          }
-        }
-        return to;
+        user: {{session "user"}},
       },
-      writable: true,
-      configurable: true
-    });
-  }
+      version: {{Msg "seo" "version"}},
+      cdn: {{Msg "seo" "cdn"}}
+    }
 </script>
+<script src='{{Msg "seo" "cdn"}}/public-pc/js/header.js?v={{Msg "seo" "version"}}'></script>
+<script src='{{Msg "seo" "cdn"}}/public-pc/js/polyfill.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/common-module/track/j-track.min.js?v={{Msg "seo" "version"}}'></script>
 {{Html `<!--[if lt IE 9]><script src="{{Msg "seo" "cdn"}}/js/jquery.js?v={{Msg "seo" "version"}}"><![endif]-->`}}
 <script src="{{Msg "seo" "cdn"}}/js/jquery.cookie.js"></script>

+ 1 - 6
src/web/templates/common/weixin.html

@@ -1,11 +1,6 @@
 <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
-<script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
-<script>
-  if (typeof window._jyGlobal !== 'object') { window._jyGlobal = {} }
-  try { window._jyGlobal.baseURL = {{Msg "seo" "buryingPointUrl"}} } catch (e) { window._jyGlobal.baseURL = '' }
-</script>
 <!--监控-->
 <script src='{{Msg "seo" "cdn"}}/js/monitor/web.min.js?v={{Msg "seo" "version"}}'></script>
 <script src='{{Msg "seo" "cdn"}}/js/monitor/new_monitor.js?v={{Msg "seo" "version"}}'></script>
-
+<!--荟聚埋点-->
 <script src='{{Msg "seo" "cdn"}}/common-module/track/j-track.min.js?v={{Msg "seo" "version"}}'></script>

+ 0 - 1
src/web/templates/frontRouter/wx/buyerPortraitRecord/sess/index.html

@@ -22,7 +22,6 @@
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/icon/local.css />
     <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/common-module/portraitRecord/css/index.css?v={{Msg "seo" "version"}}' />
     <script src='https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js'></script>
-    <script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
 </head>
 <body>
   <div class="j-container">

+ 0 - 1
src/web/templates/frontRouter/wx/fileRecord/sess/index.html

@@ -23,7 +23,6 @@
     <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/big-member/css/public.css">
     <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/common-module/portraitRecord/css/index.css?v={{Msg "seo" "version"}}' />
     <script src='https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js'></script>
-    <script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
     <style>
       .pro-log .on{
         color: #2ABED1!important;

+ 2 - 3
src/web/templates/frontRouter/wx/portraitRecord/sess/index.html

@@ -22,7 +22,6 @@
     <link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/icon/local.css />
     <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/common-module/portraitRecord/css/index.css?v={{Msg "seo" "version"}}' />
     <script src='https://cdn-common.jianyu360.com/cdn/lib/jquery/3.6.0/jquery.min.js'></script>
-    <script src="https://cdn-common.jianyu360.com/cdn/lib/loadjs/4.2.0/dist/loadjs.umd.js"></script>
     <style>
       .pro-log .on{
         color: #2ABED1!important;
@@ -124,12 +123,12 @@
                                 </div>
                             </div>
                             <div class="ent-more">
-                              <div>所在地: 
+                              <div>所在地:
                                 <span v-if="item.province">{item.province}</span>
                                 <span v-if="item.city"> {item.city}</span>
                                 <span v-if="!item.province && !item.city">--</span>
                               </div>
-                              <div>采购单位类型: 
+                              <div>采购单位类型:
                                 <span v-if="item.buyerClass">{item.buyerClass}</span>
                                 <span v-else>--</span>
                               </div>

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

@@ -1,5 +1,4 @@
 <html>
-
 <head>
 	<title>{{.T.obj.title}} - 剑鱼标讯</title>
 	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
@@ -1402,2526 +1401,7 @@ var ucbs_source="pc_rec",ucbsId="{{.T.obj.ucbsId}}";
 	<!-- 多条广告如下脚本只需引入一次 -->
 	<script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" >
 	</script>
-	<script>
-		// var bidpover = false
-		// $('.bid_dev_btn, #bidhistory').mouseover(function(){
-		// 	$('#bidhistory').fadeIn(1000)
-		// 	bidpover = true
-		// })
-		// $('.bid_dev_btn').mouseout(function(){
-		// 	// bidpover = false;
-		// 	setTimeout(function(){
-		// 		if(bidpover){
-		// 			return;
-		// 		}
-		// 		$("#bidhistory").fadeOut(250);
-		// 	},250)
-		// })
-		if({{.T.obj.subtype}}=="中标"||{{.T.obj.subtype}}=="成交"||{{.T.obj.subtype}}=="合同"){
-			$('.bid_dev').hide()
-		} else {
-			$('.bid_dev').show()
-		}
-		var keys = {{.T.obj.purchasing}}
-		var bidNode = {
-			el: '#tab2',
-			data: {
-				bidnum: 0,
-				dialogVisible: false,
-				showClose: false,
-				optionType: 'hover',
-				bidinfo: {},
-				ruleForm: {
-					name: '',
-					region: '',
-					phone: '',
-					company: ''
-				},
-				rules: {
-					name: [
-						{ required: true, message: '请输入活动名称', trigger: 'blur' },
-						{ min: 3, max: 5, message: '长度在 3 到 5 个字符', trigger: 'blur' }
-					],
-					phone: [
-						{ required: true, message: '请输入手机号', trigger: 'blur' },
-						{ min: 11, max: 11, message: '请输入正确格式的手机号', trigger: 'blur' }
-					],
-					company: [
-						{ required: true, message: '请输入公司名称', trigger: 'blur' },
-						{ min: 1, message: '长度在 3 到 5 个字符', trigger: 'blur' }
-					],
-					region: [
-						{ required: true, message: '请选择职位', trigger: 'change' }
-					],
-				},
-				buyerInfo: {},
-				winnerInfo: {}
-			},
-			created () {
-				this.getBidInfo()
-				// 判断大会员权限
-				let bidPower = sessionStorage.getItem('bidPower')
-				if(bidPower) {
-					bidPower = JSON.parse(bidPower)
-					if(bidPower.indexOf(6) != -1) {
-						this.optionType = ''
-					}
-				}
-				//console.log('大会员'+ {{.T.isMember}}, '超级订阅:'  + {{.T.isVip}},'商机管理:' + {{.T.isEntniche}})
-				if({{.T.obj.entId}}) {
-					this.getWinnerFreeData()
-				}
-				if ({{.T.obj.buyer}}) {
-					this.getBuyerFreeData()
-				}
-			},
-			methods: {
-				onFree(){
-					this.dialogVisible = true
-				},
-				getBidInfo: function () {
-					let kds = this.getQueryVariable('kds')
-					let keyArr = []
-					if(kds) {
-						let buyerObj = {
-							"key": [kds],
-							"addKey":[],
-							"notKey":[]
-						}
-						keyArr.push(buyerObj)
-					} else if(keys) {
-						if(keys.indexOf(",") != -1) {
-							keys = keys.split(',')
-						} else if(keys.indexOf("+") != -1) {
-							keys = keys.split('+')
-						} else {
-							keys = keys.split(' ')
-						}
-						keys.forEach(function(item) {
-							let buyerObj = {
-								"key": [item],
-								"addKey":[],
-								"notKey":[]
-							}
-							keyArr.push(buyerObj)
-						})
-					} else {
-						this.bidnum = 2
-						return
-					}
-					bidarea = {
-					{{.T.obj.area}}: [{{.T.obj.city}}]
-				}
-					let params = {
-						buyerContent: keyArr,
-						sid: {{.T.obj._id}},
-					pname: {{.T.obj.projectname}},
-					area: bidarea,
-							industry: {{.T.obj.s_subscopeclass}}
-					// buyerClass:{{.T.obj.buyerclass}}
-				}
-					let _this = this
-					$.ajax({
-						type: 'POST',
-						url: '/bigmember/decision/freeDecInfo',
-						contentType: "application/json",
-						data:JSON.stringify(params),
-						success: function(res) {
-							// console.log(res)
-							if(res.error_code == 0) {
-								if(res.data.all_counts == 0) {
-									_this.bidnum = _this.bidnum + 1
-								}
-								if(res.data.all_money == 0) {
-									_this.bidnum = _this.bidnum + 1
-								}
-								if(res.data.all_review_experts == 0) {
-									_this.bidnum = _this.bidnum + 1
-								}
-								if(res.data.all_winners == 0) {
-									_this.bidnum = _this.bidnum + 1
-								}
-								res.data.all_money = _this.formatNumber(res.data.all_money)
-								_this.bidinfo = res.data
-							}
-						}
-					})
-				},
-				formatNumber(num) {
-					num = Number(num);
-					if (num == 0) {
-						return num + '';
-					} else if (num > 1 && num < 10000) {
-						return num + '';
-					} else {
-						// console.log(num/10000)
-						return (num / 10000).toFixed(2);
-					}
-				},
-
-				// 免费体验
-				freeUse: function() {
-					this.checkLogin()
-					this.sourceLogAjax('pc_analysis_detail_free')
-					vmbid.isNeedSubmit('pc_analysis_detail_free', function() {
-						vmbid.showSuccess = true
-					})
-					$('.el-popover.el-popper').hide()
-				},
-				checkLogin: function () {
-					var moduleOpen = $('body').hasClass('modal-open')
-					if (moduleOpen) return
-					if (!loginflag) {
-						$("#bidLogin").modal("show");
-					}
-				},
-				sourceLogAjax (source) {
-					$.ajax({
-						type: 'get',
-						url: '/front/portraitClassify?source=' + source,
-						success: function(res) {
-							// console.log(res)
-						}
-					})
-				},
-				onlineQue: function() {
-					$('.help-slide-zx.open-customer').trigger('click')
-					this.sourceLogAjax('pc_analysis_detail_kf')
-				},
-				getQueryVariable(variable){
-					var query = window.location.search.substring(1);
-					var vars = query.split("&");
-					for (var i=0;i<vars.length;i++) {
-						var pair = vars[i].split("=");
-						if(pair[0] == variable){
-							return decodeURIComponent(pair[1]);
-						}
-					}
-					return(false);
-				},
-				linkroute: function() {
-					let bidPower = sessionStorage.getItem('bidPower')
-					if(bidPower) {
-						bidPower = JSON.parse(bidPower)
-						if(bidPower.indexOf(6) != -1) {
-							location.href = '/swordfish/page_big_pc/analysis_result?sid=' + {{.T.obj._id}}
-						}
-					}
-				},
-				handleClose(done) {
-					this.$confirm('确认关闭?')
-							.then(_ => {
-								done();
-							})
-							.catch(_ => {});
-				},
-				submitForm(formName) {
-					this.$refs[formName].validate((valid) => {
-						if (valid) {
-							alert('submit!');
-						} else {
-							this.$confirm('我们会尽快联系您并预约演示时间,请耐心等待~您将获得免费体验大会员全部功能!', '提交成功', {
-								confirmButtonText: '我知道了',
-								center: true,
-								customClass: 'getbigmember',
-								showClose: false,
-								showCancelButton: false
-							}).then(() => {
-							}).catch(() => {
-							});
-							console.log('error submit!!');
-							return false;
-						}
-					});
-				},
-				resetForm(formName) {
-					this.$refs[formName].resetFields();
-				},
-				// 采购单位画像免费数据
-				getBuyerFreeData: function() {
-					if ({{.T.isVip}} || {{.T.isMember}} || {{.T.isEntniche}}){
-						return
-					}
-					var _this = this
-					$.ajax({
-						type: 'POST',
-						url: '/bigmember/portrait/buyer/miniData',
-						data: {
-							buyer: {{.T.obj.buyer}}
-				},
-					success: function(res) {
-						if (res.data) {
-							if (!res.data.province && !res.data.city) {
-								res.data.province = '--'
-							}
-							if (!res.data.buyerclass) {
-								res.data.buyerclass = '--'
-							}
-							if (!res.data.biddingCount) {
-								res.data.biddingCount = '--'
-							}
-							if (!res.data.contactCount) {
-								res.data.contactCount = '--'
-							}
-							if (!res.data.project_count) {
-								res.data.project_count = '--'
-							}
-							if (!res.data.bidamount_count) {
-								res.data.bidamount_count = '--'
-							} else{
-								var unit = moneyUnit(res.data.bidamount_count)
-								var reg = /[\u4e00-\u9fa5]/g;
-								var strs = unit.match(reg);
-								unit = strs.join('')
-								res.data.bidamount_count = moneyUnit(res.data.bidamount_count).replace(/[\u4e00-\u9fa5]/g, '')
-								res.data.unit = unit
-							}
-							if (res.data.contactList){
-								res.data.contactList.forEach(function(item,index){
-									if (item.date) {
-										item.date = new Date(Number(item.date + '000')).pattern('yyyy-MM-dd');
-									}
-								})
-							}
-						}
-						_this.buyerInfo = res.data
-					}
-				})
-				},
-				// 中标企业画像免费数据
-				getWinnerFreeData: function() {
-					if ({{.T.isVip}} || {{.T.isMember}} || {{.T.isEntniche}}){
-						return
-					}
-					var _this = this
-					$.ajax({
-						type: 'POST',
-						url: '/bigmember/portrait/winner/miniData',
-						data: {
-							entId: {{.T.obj.entId}}
-				},
-					success: function(res) {
-						if (res.data) {
-							if (!res.data.biddingCount) {
-								res.data.biddingCount = '--'
-							}
-							if (!res.data.contactCount) {
-								res.data.contactCount = '--'
-							}
-							if (!res.data.project_count) {
-								res.data.project_count = '--'
-							}
-							if (!res.data.bidamount_count) {
-								res.data.bidamount_count = '--'
-							} else{
-								var unit = moneyUnit(res.data.bidamount_count)
-								var reg = /[\u4e00-\u9fa5]/g;
-								var strs = unit.match(reg);
-								unit = strs.join('')
-								res.data.bidamount_count = moneyUnit(res.data.bidamount_count).replace(/[\u4e00-\u9fa5]/g, '')
-								res.data.unit = unit
-							}
-							if (res.data.contactList){
-								res.data.contactList.forEach(function(item,index){
-									if (item.date) {
-										item.date = new Date(Number(item.date + '000')).pattern('yyyy-MM-dd');
-									}
-								})
-							}
-						}
-						_this.winnerInfo = res.data
-					}
-				})
-				},
-				// 采购单位画像、企业画像留资弹框
-				goCollect: function(source) {
-					$('.el-popover.el-popper').hide()
-					this.sourceLogAjax(source)
-					vm.isNeedSubmit(source, function() {
-						vm.showSuccess = true
-					})
-				}
-			}
-		}
-		var bidVue = new Vue(bidNode)
-	</script>
-	<script type="text/javascript">
-		var isMember = {{.T.isMember}} // 大会员
-		var isVip = {{.T.isVip}} // 超级订阅
-		var isEntniche = {{.T.isEntniche}} // 商机管理
-		var hstShowFlag = false;
-		var entProListShowFlag = false;
-		var titleCopyDec = "";
-		var cHeight = window.screen.height;
-		var cWidth = window.screen.width;
-		var m1 = 0;     // 滚动的值
-		var m2 = 0;     // 对比时间的值
-		var m3 = 0;     //滚动开始的值
-		var timer = null;
-		var scrollflag = true;
-		var packageCon = {{.T.obj.package}}
-		var fwtscode = {{.T.obj.fwtscode}}
-		var fwtsname = {{.T.obj.fwtsname}}
-		var s_winner = {{.T.obj.winner}};//
-		var dataName = "";
-		var dataCont = "";
-		var dataCode = "";
-		var originalCon = "";
-		var originalTitle = "";
-		var insertflog = true;
-		var heightLight = 0
-		var transmit = null;
-		var projectName = {{.T.obj.projectname}};
-		var title = {{.T.obj.title}}//统计标识
-		var projectname = {{.T.obj.projectname}}//统计标识
-		var reg ="";
-		var titleCopy ="";
-		var tyflag = false;//纠错是否是金额
-		var area_ = {{.T.obj.area}};
-		var city_ = {{.T.obj.city}};
-		var agency_ = {{.T.obj.agency}};
-		var projectname_ = {{.T.obj.projectname}};
-		var buyer_ = {{.T.obj.buyer}};
-		var buyerperson_ = {{.T.obj.buyerperson}};
-		var buyertel_ = {{.T.obj.buyertel}};
-		var isbid =false; //是否是中标,需要显示所有
-		//拟建项目广告
-		var nj_adv=["批量导出拟建项目"]
-		//招标公告广告
-		var zb_adv=[
-			"更多项目联系人、电话批量导出",
-			"采购单位招标数据批量导出",
-			"全面展示行业项目的数据字段"
-		]
-		//中标公告
-		var win_adv=[
-			"中标项目信息字段全面展示",
-			"更多中标项目、业主、联系人数据批量导出",
-			"中标企业数据字段定制化导出"
-		]
-		//任意类型  --更多数据字段定制化导出,立即查看! 其他都是立即体验
-		var any_adv=[
-			"更多数据字段定制化导出",
-			"导出数据,分析市场",
-			"导出数据,分析竞争对手",
-			"导出数据,分析合作伙伴",
-			"导出数据,分析客户"
-		]
-
-		var count=0;
-		if (area_!=""&&area_!=null){
-			count++
-		}
-		if (city_!=""&&city_!=null){
-			count++
-		}
-		if (agency_!=""&&agency_!=null){
-			count++
-		}
-		if (projectname_!=""&&projectname_!=null){
-			count++
-		}
-		if (buyer_!=""&&buyer_!=null){
-			count++
-		}
-		if (buyerperson_!=""&&buyerperson_!=null){
-			count++
-		}
-		if (buyertel_!=""&&buyertel_!=null){
-			count++
-		}
-		//
-		var isNumber = /^[0-9]+$/
-		var isLetter = /^[a-zA-Z]+$/
-		//
-		function isWechat() {
-			var ua = navigator.userAgent.toLowerCase();
-			if(ua.match(/MicroMessenger/i)=="micromessenger"){
-				return true;
-			}else{
-				return false;
-			}
-		}
-		//
-		function recoveryerr(ts,dcd,name){
-			transmit = ts;
-			if(name!=""){
-				dataName=name
-			}else{
-				dataName = $(ts).parent("td").prev("td").text();
-			}
-			if(dcd.indexOf("price")>-1||dcd.indexOf("bidamount")>-1||dcd.indexOf("budget")>-1){
-				tyflag = true;
-			}else{
-				tyflag = false;
-			}
-			dataCont = $(ts).prev().text();
-			dataCode = dcd;
-			var dtcontent = originalCon;
-			$("#fphl").removeClass("fphl");
-			$(".pop-head span").html("输入或选择正确的"+dataName+"并按“复制”");
-			$("#popup").removeClass("pop-up");
-			$("#pop-textarea").val("");
-			$(".pop-botton").css({"background":"#2cbfca"});
-			$(".tab1").addClass("active").siblings().removeClass("active");
-			var newdataCont= dataCont.replace(/\s/g,"&nbsp;")
-			reg = new RegExp(newdataCont+"|"+dataCont);
-			if(dataCont==""||!reg.test(dtcontent)){
-				$("html, body").stop(true,false).animate({
-					scrollTop: $("#tab1").offset().top-40 }, {duration: 500,easing: "swing"});
-			}else{
-				clearup("R");
-				companyAdd();
-				$("html, body").stop(true,false).animate({
-					scrollTop: $("#fphl").offset().top-cHeight/2+310>0?$("#fphl").offset().top-cHeight/2+310:0 }, {duration: 500,easing: "swing"});
-			}
-			$(".poperr").fadeIn();
-			//防止拖拽的是不跳动
-			$("#popup").css({"top":cHeight*0.6,"left":cWidth/2})
-			params.left=cWidth/2;
-			params.top=cHeight*0.6;
-		}
-
-		// 拟建项目免费用户体验点击留资
-		$('.detail-nj-btn').click(function(){
-			var subType = {{.T.obj.subtype}}
-			var sourceKey = 'article_slogan'
-			if (subType == '拟建') {
-				sourceKey = 'article_proposed_project'
-			}
-			if (subType == '采购意向') {
-				sourceKey = 'article_purchase_intention'
-			}
-			bidVue.sourceLogAjax(sourceKey)
-			vm.isNeedSubmit(sourceKey,function(){
-				vm.showSuccess = true
-			})
-		})
-
-		//
-		function clearup(rp){
-			var dtcontent = originalCon;
-			var dttitlecopy = originalTitle;
-			if(dataCode=="projectname"&&rp=="P"){
-				projectName=$.trim($("#pop-textarea").val());
-			}else if(rp=="R"){
-				if(dataCode=="projectname"){
-					projectName=dataCont;
-				}
-				dtcontent = dtcontent.replace(/fphl/g,"");
-				dtcontent = dtcontent.replace(reg,"<span id='fphl' class='fphl' dataCode='"+dataCode+"'>"+dataCont+"</span>");
-				//
-			}
-			if(projectName){
-				dtcontent = keyWordHighlight(dtcontent,projectName,"<span class='keyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-				dttitlecopy = keyWordHighlight(dttitlecopy,projectName,"<span class='keyword' id='hst'  style=\"border-bottom:1px solid #2cb7ca;cursor: pointer;\">$1</span>");
-
-			}
-			if(dataCode=="winner"&&rp=="P"){
-				s_winner=$.trim($("#pop-textarea").val());
-			}else if(dataCode=="winner"&&rp=="R"){
-				s_winner=dataCont;
-			}
-			if(s_winner){
-				for (var i=0;i<s_winner.split(",").length;i++){
-					var winner_con_i = s_winner.split(",")[i]
-					if(winner_con_i != "" && content.toLowerCase().indexOf(winner_con_i.toLowerCase()) > -1){
-						dtcontent = keyWordHighlight(content,winner_con_i,"<span class='keyword winner' data-val='winner__"+i+"'  style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-					}
-				}
-				//dtcontent = keyWordHighlight(dtcontent,s_winner,"<span class='keyword winner' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-			}
-			var wordsArray = getQueryString("kds").split(" ");
-			if(wordsArray!=""&&wordsArray!="undefined"){
-				for(var i=0;i<wordsArray.length;i++){
-					dtcontent = keyWordHighlight(dtcontent,wordsArray[i],"<span class='jykeyword'>$1</span>");
-				}
-			}
-			if(s_winner){
-				for (var i=0;i<s_winner.split(",").length;i++){
-					var winner_con_i = s_winner.split(",")[i]
-					if(winner_con_i != ""){
-						content = content.replace("winner__"+i,winner_con_i)
-					}
-				}
-			}
-			$(".com-detail").html(dtcontent);
-			$("#com-title").html(dttitlecopy);
-		}
-		//
-		if({{.T.obj.subtype}}=="中标"||{{.T.obj.subtype}}=="成交"||{{.T.obj.subtype}}=="合同"){
-			isbid=true
-			var winnertel = {{.T.obj.winnertel}};
-			var winner_enttel={{.T.obj.winner_enttel}};
-			var tel_source="来源:招标公告网站";
-			if(winnertel==null){
-				if(winner_enttel==null){
-					winnertel=""
-				}else{
-					winnertel=winner_enttel
-					tel_source="来源:国家企业公示网站"
-				}
-			}
-			$("#tel_source").html(tel_source);
-			$("#winnertel").html(winnertel);
-			if(winnertel!=""){
-				$(".winnertel").show();
-			}
-			var winner_ ={{.T.obj.winner}}
-			var bidmt = {{.T.obj.bidamount}}
-			if(winner_!=""&&winner_!=null){
-				count++
-			}
-			if(bidmt!=""&&bidmt!=null){
-				count++
-			}
-			if(count>=5){
-				$("#bidamount").text(bidmt)
-				$("#bidInfoTitle").show();
-				$("#bidInfoCont").show();
-			}
-		}
-		var subtype={{.T.obj.subtype}};
-		var adv_from=getinfotype(subtype);
-		var adv=any_adv;
-		if(adv_from=="中标公告"){
-			adv=adv.concat(win_adv);
-		}else if(adv_from=="招标公告"){
-			adv=adv.concat(zb_adv);
-		}else if(adv_from=="拟建项目"){
-			adv=adv.concat(nj_adv);
-		}
-		var x = Math.floor(Math.random()*adv.length)
-		$(".adv_tosieve").text(adv[x])
-		var btn_text="立即体验"
-		if (adv[x]==any_adv[0]){
-			btn_text="立即查看";
-		}
-		$(".adv_tosieve-btn").text(btn_text)
-		$(".join").attr("adv_name",fromwhere(adv[x]));
-		$(".join > a").attr("dataHref","/front/dataExport/toSieve?adv_from="+fromwhere(adv[x]));
-		// 如果有招标信息类型且不是大会员 再请求大会员引流语接口
-		var userType;
-		if (!isVip && !isEntniche && !isMember){
-			userType = '0'
-		} else if (isVip && isEntniche) {
-			userType = '1,3'
-		} else if (isVip && !isEntniche) {
-			userType = '1'
-		} else if (!isVip && isEntniche) {
-			userType = '3'
-		}
-		if (subtype != '拟建' && !isMember) {
-			try {
-				$.ajax({
-					type: "POST",
-					url: "/publicapply/drainage/copywriting",
-					data: {subtype: subtype},
-					success: function(r){
-						// console.log(r, 'rrrr')
-						if (r.data) {
-							$('.bigmember-slogan').show().find('.slogan-text').html(r.data.s_content)
-							// console.log(powerMap, 'map')
-							$('.bigmember-slogan .free-btn').click(function(){
-								bidVue.sourceLogAjax('article_slogan')
-								vm.isNeedSubmit('article_slogan',function(){
-									vm.showSuccess = true
-								})
-							})
-							$('.bigmember-slogan .more-btn').click(function() {
-								var params = {
-									drainageId: (r.data.id).toString(),
-									bigServiceId: r.data.s_serviceid,
-									userType: userType,
-									platform: 'P'
-								}
-								$.ajax({
-									type: "POST",
-									url: "/publicapply/drainage/behaviorLog",
-									contentType: "application/json",
-									data: JSON.stringify(params),
-									success: function(s){
-										var goURL = powerMap[r.data.s_serviceid] && powerMap[r.data.s_serviceid].info
-										if (goURL) {
-											window.open('/big/page/' + goURL)
-										} else {
-											window.open('/big/page/index')
-										}
-
-										// if (s.data) {
-										// 	if(r.data.s_serviceid == 8) {
-										// 		// 潜在合作伙伴挖掘
-										// 		window.open('/big/page/yw?name=qz_1&id=' + s.data +  '#qz')
-										// 	} else if (r.data.s_serviceid == 5) {
-										// 		// 采购单位
-										// 		window.open('/big/page/cg?name=fx_2&id=' + s.data +  '#fx')
-										// 	} else if (r.data.s_serviceid == 4) {
-										// 		// 企业画像
-										// 		window.open('/big/page/qy?id=' + s.data +  '#fx')
-										// 	} else {
-										// 		window.open('/big/page/index?id=' + s.data +  '#' + powerMap[r.data.s_serviceid].anchor)
-										// 	}
-										// }
-									}
-								})
-							})
-						}
-					}
-				})
-			} catch (error) {
-				console.log(error)
-			}
-		}
-
-
-
-		function getinfotype(subtype){
-			var infotype=""
-			switch (subtype){
-				case "拟建":
-					infotype="拟建项目"
-					break;
-				case "招标": case "邀标": case "询价": case "竞谈": case "变更": case "竞价": case "单一": case "其他":
-					infotype="招标公告"
-					break;
-				case "中标": case "成交": case "废标": case "流标":
-					infotype="中标公告"
-					break;
-				default:
-					infotype="其他"
-					break;
-			}
-			return infotype
-		}
-		function fromwhere(text){
-			var ad="pc_articel_";
-			if (getinfotype(subtype)=="拟建项目"){
-				ad+="nj"
-			}
-			if (getinfotype(subtype)=="招标公告"){
-				ad+="zb"
-			}
-			if (getinfotype(subtype)=="中标公告"){
-				ad+="win"
-			}
-			if (getinfotype(subtype)=="其他"){
-				ad+="qt"
-			}
-			if (jQuery.inArray(text,zb_adv)!=-1){
-				ad+="_zb_"+(jQuery.inArray(text,zb_adv)+1);
-			}
-			if (jQuery.inArray(text,win_adv)!=-1){
-				ad+="_win_"+(jQuery.inArray(text,win_adv)+1);
-			}
-			if (jQuery.inArray(text,any_adv)!=-1){
-				ad+="_sj_"+(jQuery.inArray(text,any_adv)+1);
-			}
-			if (jQuery.inArray(text,nj_adv)!=-1){
-				ad+="_nj_"+(jQuery.inArray(text,nj_adv)+1);
-			}
-			return ad
-		}
-		//
-		$(window).scroll(function(event){
-			if(cHeight <= 0){
-				cHeight = 500;
-			}
-			var offsetTop = 0;
-			var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
-			var t1top = 0;
-			if({{.T.obj.subtype}}!="拟建"&&{{.T.obj.subtype}}!="违规"){
-				offsetTop = $(".recoveryfat").offset().top;
-				t1top = $(".tab1").offset().top;
-			}
-			if(t1top<=(scrollTop+65)&&t1top!=0){
-				if(scrollflag){
-					$(".tab1").addClass("active").siblings().removeClass("active");
-				}
-			}else{
-				if(scrollflag){
-					$(".tab2").addClass("active").siblings().removeClass("active");
-				}
-			}
-			if(scrollTop >= offsetTop&&offsetTop!=0){
-				$(".recoveryhead").addClass("tabfix");
-			}else{
-				$(".recoveryhead").removeClass("tabfix");
-			}
-
-			//纠错高亮位置
-			if($(".com-detail .fphl").length>0){
-				heightLight = $(".com-detail .fphl").offset().top;
-			}
-			if(localStorage.getItem("ere-"+{{.T.obj._id}})==null){
-				if(heightLight>(scrollTop+50)&&heightLight<(scrollTop+cHeight)){
-					$(".pop-up").fadeIn();
-				}else{
-					$(".pop-up").fadeOut();
-				}
-			}
-			clearTimeout(timer) // 每次滚动前 清除一次
-			timer = setTimeout("pscp()", 200);
-			m1 = document.documentElement.scrollTop || document.body.scrollTop;
-		})
-		//
-		function pscp(){
-			m2 = document.documentElement.scrollTop || document.body.scrollTop;
-			if(m2 == m1){
-				scrollflag = true;
-			}
-		}
-		//
-		function hmtab(Dirp){
-			var tabTwoHeight = $("#tab2").offset().top;
-			var scrollTop = document.body.scrollTop|| document.documentElement.scrollTop;
-			var pth = 22;
-			if(Dirp=="D"&&(scrollTop+pth)<tabTwoHeight&&tabTwoHeight<(scrollTop+cHeight-pth)){
-				$("html, body").stop(true,false).animate({scrollTop: $("#tab2").offset().top-inithgt }, {duration: 500,easing: "swing"});
-			}else if(Dirp=="U"&&(scrollTop+pth)<tabTwoHeight&&tabTwoHeight<(scrollTop+cHeight-pth)){
-				$("html, body").stop(true,false).animate({scrollTop: $("#tab2").offset().top-cHeight }, {duration: 500,easing: "swing"});
-			}
-		}
-		var inithgt = 60;//tab高度
-		var reccont ="";
-		var rhcontent = "";
-		function subData(){
-			var fieldName = dataCode;
-			var originalcont = dataCont;
-			$.ajax({
-				type: "POST",
-				url: "/front/recovery/info",
-				data: {id:{{.T.obj._id}},fieldName:fieldName,fwtscode:fwtscode,reccont:reccont,originalcont:originalcont},
-			dataType: "json",
-					traditional: true,
-					success: function(r){
-				if(r.flag){
-					localStorage.setItem("ere-"+{{.T.obj._id}},"T");
-					$(".rec-null").hide();
-					$(".poperr").hide();
-					clearup("P");
-					companyAdd();
-					$("#pop-textarea").val("");
-					$("#fphl").removeClass("fphl");
-					$(transmit).prev("div").text(reccont);
-					EasyAlert.show(r.msg,"",5000);
-				}else{
-					EasyAlert.show("您提交的信息有误,请确认后再提交!","",5000);
-				}
-			}
-		});
-		}
-		//
-		function jumpTab(n){
-			if(n==1){
-				$(".tab1").addClass("active").siblings().removeClass("active");
-				$(window).scrollTop($("#tab"+n).offset().top-inithgt);
-			}else{
-				$(".tab2").addClass("active").siblings().removeClass("active");
-				$(window).scrollTop(0);
-			}
-			scrollflag = false;
-			return false;
-		}
-		$(function(){
-			if ($("#trwidth").find(".preb-exam").length>0){
-				$("#exaapprove").show();
-			}
-			$(document).on("click",function(e) {
-				if($(e.target).parents(".easyalert-mask").length == 0){
-					$("#easyalert-mask").remove();
-				}
-			});
-			$(".null-no").click(function(){
-				$(".rec-null").hide();
-			})
-			$(".null-yes").click(function(){
-				subData();
-			})
-			setTimeout(function(){
-				$(".tab2").click();
-			},700)
-			//提交纠错数据
-			$(".pop-botton").click(function(){
-				var animathistory_ent = $(".animathistory_ent").html();
-				$(".com-detail").find(".animathistory_ent").html("")
-				rhcontent = $(".com-detail").text().replace(/[^\{\u4e00-\u9fa5]{1,90}{[^\}\u4e00-\u9fa5]+?}/g,"");
-				$(".com-detail").find(".animathistory_ent").html(animathistory_ent)
-				reccont = $.trim($("#pop-textarea").val());
-				if(reccont!=""&&(tyflag||rhcontent.indexOf(reccont)>-1)){
-					subData();
-				}else if(reccont==""){
-					$(".null-cont").text("确认 "+dataName+" 为空?");
-					$(".rec-null").show();
-				}
-			})
-			//
-			document.addEventListener('copy', function(event){
-				var userSelection;
-				if (window.getSelection) { //
-					userSelection = window.getSelection();
-				} else if (document.selection) { //IE浏览器 考虑到Opera,应该放在后面
-					userSelection = document.selection.createRange();
-				}
-				var usesetcont = $.trim(userSelection)
-				if(usesetcont!=""){
-					rhcontent = $(".com-detail").text().replace(/[^\{\u4e00-\u9fa5]{1,90}{[^\}\u4e00-\u9fa5]+?}/g,"");
-					if(rhcontent.indexOf(usesetcont.replace(/\n/g,""))>-1){
-						$("#pop-textarea").val(usesetcont.replace(/\n/g,""));
-						$(".pop-botton").css({"background":"#2cbfca"})
-					}else{
-						$(".pop-botton").css({"background":"#d0d0d2"})
-					}
-				}else{
-					$(".pop-botton").css({"background":"#2cbfca"})
-				}
-				var pathname_url=window.location.pathname+window.location.search;
-				$.get("/front/shorturl/replication");
-
-			});
-			//纠错输入框
-			$("#pop-textarea").on("input propertychange",function(){
-				if($.trim($(this).val())!=""){
-					var animathistory_ent = $(".animathistory_ent").html();
-					$(".com-detail").find(".animathistory_ent").html("")
-					rhcontent = $(".com-detail").text().replace(/[^\{\u4e00-\u9fa5]{1,90}{[^\}\u4e00-\u9fa5]+?}/g,"");
-					$(".com-detail").find(".animathistory_ent").html(animathistory_ent)
-					var ptval = $.trim($(this).val());
-					if(tyflag){
-						$(".pop-botton").css({"background":"#2cbfca"})
-					}else if(rhcontent.indexOf(ptval)>-1){
-						$(".pop-botton").css({"background":"#2cbfca"})
-					}else{
-						$(".pop-botton").css({"background":"#d0d0d2"})
-					}
-				}else{
-					$(".pop-botton").css({"background":"#2cbfca"})
-				}
-			})
-			if(packageCon==""){
-				$("#tdbudget").text("项目预算(元)");
-				$("#tdbudget").next("td").find("div").eq(0).text({{.T.obj.budget}})
-				$("#tdbudget").next("td").find("div").eq(1).text("纠错")
-			}
-			if({{.T.obj.subtype}}=="单一"&&packageCon==""){
-				$("#baselast").show();
-			}
-			$(".pop-head img").click(function(){
-				$(".rec-null").hide();
-				$(".poperr").hide();
-				localStorage.setItem("ere-"+{{.T.obj._id}},"T")
-				$("#fphl").removeClass("fphl");
-				$(".pop-botton").css({"background":"#d0d0d2"})
-			})
-			var rerwinnerorder = {{.T.obj.winnerorder}}//中标候选人
-			//分包信息
-			if(packageCon!=""){
-				var pkchtml = '';
-				for(n in packageCon){
-					var pckwinner = packageCon[n].winner;
-					if(pckwinner==undefined){
-						pckwinner=""
-					}
-					var pckorigin = packageCon[n].m_origin;
-					if(pckorigin==undefined){
-						pckorigin=packageCon[n].type+packageCon[n].origin
-					}
-					var pckbidamount = packageCon[n].bidamount;
-					if(pckbidamount==undefined){
-						pckbidamount=""
-					}
-					pkchtml+='<div class="baseInfo">分包</div>'
-							+'<div class="baseTable"><table>'
-							+'<tr id="left-three-gray">'
-					if({{.T.obj.subtype}}=="招标"){
-						pkchtml+='<td class="tab-type">分包/标段</td>'
-								+'<td class="tab-cont">'
-								+'<div class="cont-cont">'+pckorigin+'</div>'
-								+'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-m_origin\',\'\')">纠错</div>'
-								+'<div style="display:none;"></div>'
-								+'</td>'
-						pkchtml+='<td class="tab-type piddingfour">项目预算(元)</td>'
-						pkchtml+='<td class="tab-cont">'
-								+'<div class="cont-cont">'+pckbidamount+'</div>'
-								+'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-bidamount\',\'\')">纠错</div>'
-								+'<div style="display:none;"></div>'
-								+'</td>'
-								+'</tr>'
-					}else{
-						var winnername = "";
-						var abountname = "";
-						pkchtml+='<td class="cd-type">分包/标段</td>'
-						if({{.T.obj.subtype}}=="单一"){
-							pkchtml+='<td class="cd-type">拟定单一来源采购供应商</td>'
-							winnername = "拟定单一来源采购供应商"
-						}else{
-							pkchtml+='<td class="cd-type">中标单位</td>'
-							winnername = "中标单位"
-						}
-						if({{.T.obj.subtype}}=="单一"){
-							pkchtml+='<td class="cd-type piddingfour">项目预算(元)</td>'
-							abountname = "项目预算(元)";
-						}else{
-							pkchtml+='<td class="cd-type piddingfour">中标金额(元)</td>'
-							abountname = "中标金额(元)";
-						}
-						pkchtml+='</tr>'
-						pkchtml+='<tr id="left-three-gray">'
-								+'<td class="cd-cont subpck">'
-								+'<div class="cont-cont">'+pckorigin+'</div>'
-								+'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-m_origin\',\'分包/标段\')">纠错</div>'
-								+'<div style="display:none;"></div>'
-								+'</td>'
-						pkchtml+='<td class="cd-cont winpck">'
-								+'<div class="cont-cont">'+pckwinner+'</div>'
-								+'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-winner\',\''+winnername+'\')">纠错</div>'
-								+'<div style="display:none;"></div>'
-								+'</td>'
-						pkchtml+='<td class="cd-cont amountpck">'
-								+'<div class="cont-cont">'+pckbidamount+'</div>'
-								+'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-bidamount\',\''+abountname+'\')">纠错</div>'
-								+'<div style="display:none;"></div>'
-								+'</td>'
-						pkchtml+='</tr>'
-					}
-					pkchtml+='</table></div>'
-					var pckwinnerorder = packageCon[n].winnerorder;
-					if(pckwinnerorder!=undefined&&pckwinnerorder.length>0){
-						pkchtml+='<div class="baseTable"><table>'+
-								'<tr id="left-three-blue" style="border-top: 0px;">'+
-								'<td class="cd-type" colspan="3" id="candidate">候选人</td>'+
-								'</tr>'+
-								'<tr id="left-three-blue">'+
-								'<td class="cd-type">单位名称</td>'+
-								'<td class="cd-type">报价(元)</td>'+
-								'<td class="cd-type">名次</td>'+
-								'</tr>'
-						for(var i=0;i<pckwinnerorder.length;i++){
-							if(i>0){
-								//pkchtml+='<tr id="left-three-blue" class="cutoff"><td colspan="3"></td></tr>'
-							}
-							var pckentname = pckwinnerorder[i].entname;
-							if(pckentname==undefined){
-								pckentname=""
-							}
-							var pcksortstr = pckwinnerorder[i].sortstr;
-							if(pcksortstr==undefined){
-								pcksortstr=""
-							}
-							var pckprice = pckwinnerorder[i].price;
-							if(pckprice==undefined){
-								pckprice=""
-							}
-							pkchtml+='<tr id="left-three-blue">'+
-									'<td class="cd-cont entnamecont">'+
-									'<div class="cont-cont">'+pckentname+'</div>'+
-									'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-'+i+'-entname\',\'单位名称\')">纠错</div>'+
-									'<div style="display:none;"></div>'+
-									'</td>'+
-									'<td class="cd-cont pricecont">'+
-									'<div class="cont-cont">'+pckprice+'</div>'+
-									'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-'+i+'-price\',\'报价(元)\')">纠错</div>'+
-									'<div style="display:none;"></div>'+
-									'</td>'+
-									'<td class="cd-cont sortstrcont">'+
-									'<div class="cont-cont">'+pcksortstr+'</div>'+
-									'<div class="cont-recy" onclick="recoveryerr(this,\''+n+'-'+i+'-sortstr\',\'名次\')">纠错</div>'+
-									'<div style="display:none;"></div>'+
-									'</td>'+
-									'</tr>'
-						}
-					}
-					pkchtml+='</table></div>'
-				}
-				$("#tab2").append(pkchtml)
-			}else if(packageCon==""&&rerwinnerorder!=""){
-				var pkchtml = '';
-				pkchtml+='<div class="baseTable"><table>'+
-						'<tr id="left-three-blue" style="border-top: 0px;">'+
-						'<td class="cd-type" colspan="3" id="candidate">候选人</td>'+
-						'</tr>'+
-						'<tr id="left-three-blue">'+
-						'<td class="cd-type">单位名称</td>'+
-						'<td class="cd-type">报价(元)</td>'+
-						'<td class="cd-type">名次</td>'+
-						'</tr>'
-				for(var i=0;i<rerwinnerorder.length;i++){
-					if(i>0){
-						//pkchtml+='<tr id="left-three-blue" class="cutoff"><td colspan="4"></td></tr>'
-					}
-					var pckentname = rerwinnerorder[i].entname;
-					if(pckentname==undefined){
-						pckentname=""
-					}
-					var pcksortstr = rerwinnerorder[i].sortstr;
-					if(pcksortstr==undefined){
-						pcksortstr=""
-					}
-					var pckprice = rerwinnerorder[i].price;
-					if(pckprice==undefined){
-						pckprice=""
-					}
-					pkchtml+='<tr id="left-three-blue">'+
-							'<td class="cd-cont entnamecont">'+
-							'<div class="cont-cont">'+pckentname+'</div>'+
-							'<div class="cont-recy" onclick="recoveryerr(this,\'winnerorder'+i+'-entname\',\'单位名称\')">纠错</div>'+
-							'<div style="display:none;"></div>'+
-							'</td>'+
-							'<td class="cd-cont pricecont">'+
-							'<div class="cont-cont">'+pckprice+'</div>'+
-							'<div class="cont-recy" onclick="recoveryerr(this,\'winnerorder'+i+'-price\',\'报价(元)\')">纠错</div>'+
-							'<div style="display:none;"></div>'+
-							'</td>'+
-							'<td class="cd-cont sortstrcont">'+
-							'<div class="cont-cont">'+pcksortstr+'</div>'+
-							'<div class="cont-recy" onclick="recoveryerr(this,\'winnerorder'+i+'-sortstr\',\'名次\')">纠错</div>'+
-							'<div style="display:none;"></div>'+
-							'</td>'+
-							'</tr>'
-
-				}
-				pkchtml+='</table></div>'
-				$("#tab2").append(pkchtml)
-			}
-
-			//
-			haslogin({{.T.logid}},{{.T.obj.projectname}},"D");
-			JYLogin({{.T.logid}})
-			if (_loop){
-				//console.log("-",_loop)
-				return;
-			}
-			_loop = true;
-			var infoDetail = $(".com-detail").html();
-			if(infoDetail){
-				$(".com-detail").html(infoDetail.replace(/(<\/?br\/?>)+/ig,"<br>"));
-			}
-			$(".com-wxshare,.com-guanzhu").hover(function(){
-				$(this).children(".scanqr").show();
-			},function(){
-				$(this).children(".scanqr").hide();
-			});
-			//重新计算最新信息的发布时间
-			$(".otherinfo .com-time").each(function(){
-				var thisValue = $(this).attr("data-value");
-				if(thisValue != "" && thisValue != "0" && thisValue != 0){
-					var diff = timeDiff(new Date(Number(thisValue+"000")));
-					if(diff != null){
-						$(this).text(diff);
-					}
-				}
-			});
-			$.post("/front/rewardText",{},function(r){
-				$(".reward").prepend(r);
-			},"text");
-			$(".reward>div").click(function(){
-				$(".payQRcode").show();
-			});
-			$(".payQRcode .reward-close").click(function(){
-				$(".payQRcode").hide();
-			});
-			//
-			var uli = 960;
-			var tdno = $(".preb-list tr").eq(1);
-			if(tdno.find("td").length != 0){
-				var tdclass = "";
-				for(var i=0;i<tdno.find("td").length;i++){
-					var fsize = tdno.find("td").eq(i).find("div").attr("class")
-					if(i==0){
-						tdclass += fsize;
-					}else{
-						tdclass += ","+fsize;
-					}
-				}
-				var sparr = tdclass.split(",");
-				for(var m =0;m<sparr.length;m++ ){
-					var average = uli/tdno.find("td").length ;
-					$("#"+sparr[m]).parent("td").css("width",average);
-				}
-
-			}
-			if({{.T.obj.subtype}}=="拟建"){
-				$('.lead-btn').hide()
-				$(".lead-btn-nj").hide();
-			}
-			var attaflag = false;
-			{{if .T.obj.projectinfo.attachments}}
-			var attachments = {{.T.obj.projectinfo.attachments}}
-			var j = 0 ;
-			for(var m in attachments){
-				j += 1 ;
-				var arr = new Array()
-				arr = attachments[m]
-				$(".preb-enno").html('<img src="{{Msg "seo" "cdn"}}/images/wx/enclosure.png"/>附件('+j+'个)')
-				//for(var i in arr){
-				if((arr["ossid"]||arr["fid"])&&arr["filename"]&&arr["filename"].slice(-3).toLowerCase()=="pdf"){
-					attaflag = true;
-					/*
-      if(arr["url"].indexOf("fj1.jianyu360.com:9888")>-1){
-				arr["url"]="/fj1"+arr["url"].substring(arr["url"].lastIndexOf("/"));
-			}else if(arr["url"].indexOf("9889")>-1){
-				arr["url"]="/fs1"+arr["url"].substring(arr["url"].lastIndexOf("/"));
-			}else{
-				arr["url"]="/fs"+arr["url"].substring(arr["url"].lastIndexOf("/"));
-			}
-      */
-					if (arr["ossid"]!=undefined &&arr["ossid"]!=null){
-						arr["fid"]=arr["ossid"]
-					}else {
-						arr["fid"]
-					}
-					arr["fid"]="https://jy-datafile.oss-cn-beijing.aliyuncs.com/"+arr["fid"];
-					arr["url"]=arr["fid"]
-					var pdfshow = '<div class="approve">'+arr["filename"]+'</div><div id="preb-pdf'+j+'"></div>';
-					$(".pdf-div").html(pdfshow);
-					var pdfhtml = "";
-					pdfhtml = '<div class="preb-encont"><div style="float:left;"><img src="{{Msg "seo" "cdn"}}/images/wx/pdf.png"/></div><div style="float:left;line-height: 22px;">'+arr["filename"]+'<br><a style="color:blue;" href="'+arr["url"]+'">下载</a></div><div style="clear:both;"></div></div>';
-					PDFObject.embed(arr["url"], "#preb-pdf"+j);
-				}
-				//}
-				$(".preb-enclosure").append(pdfhtml)
-			}
-
-			//
-			{{end}}
-			if({{.T.obj.subtype}}=="拟建"||{{.T.obj.toptype}}=="拟建"||{{.T.obj.subtype}}=="违规"){
-				if(attaflag){
-					$(".preb-enclosure").removeClass("hidden");
-					$(".pdf-div").removeClass("hidden");
-				}
-			}else{
-				if((count>=4 && !isbid)||(count>=5&&isbid)){
-					$(".recoveryfat").show();
-					$("#tab2").show();
-					$(".explain").show();
-					$(".lead-btn").show();
-				}
-			}
-			//
-      {{if .T.obj.infoformat}}
-        {{if eq .T.obj.infoformat 2}}
-          $(".com-prebuilt").removeClass("hidden");
-        {{end}}
-      {{end}}
-      {{if .T.obj.href}}
-        $(".com-original").removeClass("hidden");
-      {{end}}
-      //
-			$(window).scroll(function(){
-				if($(this).scrollTop() > 0){
-					$("#backTop").show();
-				}else{
-					$("#backTop").hide();
-				}
-			});
-			//获取原文百度统计跳转
-			var originalhref;
-			var originalUrl = {{.T.obj.url}};
-      if (originalUrl!=""){
-  			originalUrl = originalUrl.replace("http://https://","https://");
-  			if (window.location.href.indexOf("mailprivate")>0||isWechat()){
-  				originalhref='/front/transfer?url='+encodeURIComponent(originalUrl);
-  			}else{
-  				var url =document.location.protocol+"//"+ window.location.host+"/front/transfer?url="+encodeURIComponent(originalUrl)
-  				originalhref=url
-  			}
-      }else{
-        $(".com-original").hide();
-      }
-			// $(".com-original").attr("dataHref",originalhref);
-			// 点击阅读原文 用户留资
-			$(".com-original").on('click',function() {
-				if (!loginflag) {
-					openLoginDig()
-					return
-				}
-				console.log('三级页-阅读原文:article_original')
-				vm.dialogTitle = '为给您匹配精准的推荐信息,请完善个人信息,免费查看原文'
-				vm.isNeedSubmit('article_original', function() {
-					window.open(originalhref)
-				})
-			})
-
-			//var sds = {{.T.keywords}};
-			var sds = getQueryString("kds");
-			sds = sds.replace(/\++/g," ");
-			var content = $(".com-detail").html();
-			titleCopy = $("#com-title").text();
-			titleCopyDec = $("#com-title").text();
-			//
-			var lsgim = localStorage.getItem("ere-"+{{.T.obj._id}});
-			//if(lsgim!="T"&&fwtsname != "" && content.toLowerCase().indexOf(fwtsname.toLowerCase()) > -1){
-			//content = content.replace(fwtsname,"<span id='fphl' class='fphl' dataCode='"+fwtscode+"'>"+fwtsname+"</span>");
-			//}
-			$(".com-detail").html(content)
-			originalCon = content;
-			originalTitle = titleCopy;
-			//
-			if(projectName){
-				//if(projectname != "" && content.toLowerCase().indexOf(projectname.toLowerCase()) > -1){
-				//	content = keyWordHighlight(content,projectname,"<span class='keyword myfollow' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-				//}
-				content = keyWordHighlight(content,projectName,"<span class='keyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-				//if(projectname != "" && titleCopy.toLowerCase().indexOf(projectname.toLowerCase()) > -1){
-				//	titleCopy = keyWordHighlight(titleCopy,projectname,"<span class='keyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-				//}
-				titleCopy = keyWordHighlight(titleCopy,projectName,"<span class='keyword' id='hst'  style=\"border-bottom:1px solid #2cb7ca;cursor: pointer;\">$1</span>");
-			}else{
-				$(".com-guanzhu .scanqr>span:last").html("随时掌握招标信息");
-				$(".com-guanzhu>.scanqr>img").height(135);
-				$(".com-guanzhu>font").text("关注剑鱼标讯");
-				insertflog = false;
-			}
-			if(s_winner){
-				for (var i=0;i<s_winner.split(",").length;i++){
-					var winner_con_i = s_winner.split(",")[i]
-					if(winner_con_i != "" && content.toLowerCase().indexOf(winner_con_i.toLowerCase()) > -1){
-						content = keyWordHighlight(content,winner_con_i,"<span class='keyword winner' data-val='winner__"+i+"' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-					}
-				}
-			}
-			if(sds){
-				if(!insertflog){
-					$(".com-guanzhu .scanqr>span:last").html("随时掌握招标信息");
-					$(".com-guanzhu>.scanqr>img").height(135);
-					$(".com-guanzhu>font").text("关注剑鱼标讯");
-				}
-				var wordsArray = sds.split(" ");
-				if(wordsArray!=""){
-					for(var i=0;i<wordsArray.length;i++){
-						if (isNumber.test(wordsArray[i])||isLetter.test(wordsArray[i])){
-							continue
-						}
-						content = keyWordHighlight(content,wordsArray[i],"<span class='jykeyword'>$1</span>");
-						titleCopy = keyWordHighlight(titleCopy,wordsArray[i],"<span class='jykeyword'>$1</span>");
-						//项目基本信息 关键词高亮
-						$(".preb-cont").each(function(){
-							var prebCont = $(this).html();
-							prebCont = keyWordHighlight(prebCont,wordsArray[i],"<span class='jykeyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-							$(this).html(prebCont);
-						})
-						//审批事项公示信息高亮
-						$(".preb-examcont").each(function(){
-							var prebExamcont = $(this).text();
-							prebExamcont = keyWordHighlight(prebExamcont,wordsArray[i],"<span class='jykeyword' style=\"border-bottom:1px solid #2cb7ca\">$1</span>");
-							$(this).html(prebExamcont);
-						})
-					}
-				}
-			}
-			if(s_winner){
-				for (var i=0;i<s_winner.split(",").length;i++){
-					var winner_con_i = s_winner.split(",")[i]
-					if(winner_con_i != ""){
-						content = content.replace("winner__"+i,winner_con_i)
-					}
-				}
-			}
-			$("#ptname").html('<span id="a" style="border-bottom:1px solid #2cb7ca">'+$("#ptname").html()+'</span>')
-			$(".com-detail").html(content);
-
-			$("#com-title").html(titleCopy);
-			companyAdd();
-
-			//企业画像跳转
-			$(".portrait_img:not(.no-show-tip)").hover(function (){
-				if (!$(this).next().hasClass("portrait_tip")){
-					var tipMsg=$(this).attr("tip-data") || $(this).parents('.tab-cont').children('.cont-cont.portrait_img').attr("tip-data");
-					if (!tipMsg){
-						tipMsg="暂无画像数据"
-					}
-					$(this).after("<div class='portrait_tip' style='display:none; position: absolute;top: -27px;right: -13px;background: rgba(0,0,0,0.72);border-radius: 4px;opacity: 1;color: #fff;font-size: 13px;line-height: 20px;padding: 6px 10px;'>"+tipMsg+"</div>")
-				}
-			}).on("click",function (){
-				var toHref=$(this).attr("href-data") || $(this).parents('.tab-cont').children('.cont-cont.portrait_img').attr("href-data")
-				var memberLink = "/swordfish/page_big_pc/ent_portrait/{{.T.obj.entId}}"
-				var vipLink = "/swordfish/page_big_pc/svip/ent_ser_portrait/{{.T.obj.entId}}"
-				var tipMsg=$(this).attr("tip-data") || $(this).parents('.tab-cont').children('.cont-cont.portrait_img').attr("tip-data")
-				if (tipMsg == '查看采购单位画像') {
-					if (toHref){
-						window.open(toHref)
-						return
-					}
-				}
-				if (isMember) {
-					// 如果是专家版、智慧版 跳大会员页面
-					if(window.memberStatus > 0 && window.memberPower && window.memberPower.indexOf(4) !== -1) {
-						window.open(memberLink)
-					} else {
-						// 如果是商机版、自定义版
-						// 如果同时是超级订阅 判断有没有画像查看次数
-						if (isVip) {
-							$.ajax({
-								type: "POST",
-								url: "/bigmember/portrait/subVipPortrait/usage",
-								data: {
-									entId:{{.T.obj.entId}}
-						},
-							success: function(r){
-								// 如果次数已用完 跳大会员企业画像页面
-								if (r.data.usage >= r.data.total) {
-									window.open(memberLink)
-								} else {
-									// 没用完 超级订阅跳企业画像页面
-									window.open(vipLink)
-								}
-							}
-						});
-						} else {
-							// 不是超级订阅用户跳大会员企业画像页面
-							window.open(memberLink)
-						}
-					}
-				} else {
-					// 非大会员用户跳超级订阅企业画像页面
-					window.open(vipLink)
-				}
-			})
-		})
-		function companyAdd(){
-			if(s_winner){
-				var winner_con = $(".winner");
-				for(var i=0;i<winner_con.length;i++){
-					var top = getElementTop(winner_con[i]) - $(".public-nav")[0].offsetHeight - 30 + 10 + winner_con[i].offsetHeight;
-					var left = getElementLeft(winner_con[i])-getElementLeft($(".biddetail-content")[0])-110;
-					if(left>670){
-						left = 670;
-					}else if(left<-70){
-						left = -70;
-					}
-//            var top = winner_con[i].offsetTop + winner_con[i].offsetHeight + 10;
-//            var left = winner_con[i].offsetLeft;
-					$(winner_con[i]).attr("dataNum",(i+1));
-					$(winner_con[i]).append('<div id="outhistory"><div class="animathistory_ent" style="display:none;top:'+top+'px;left:'+left+'px;">'
-							+'<span class="hyone"></span>'
-							+'<span class="hytwo"></span>'
-							+'<div  id="myhtlist" style="max-height: 500px;overflow-y: auto;">'
-							+'<div class="hthead">'
-							+'<span>企业最新信息</span><span onclick="htclosed_ent()"><img src="{{Msg "seo" "cdn"}}/images/wx/close.png"/></span>'
-							+'</div>'
-							+'<div class="htcontent">'
-							+'</div>'
-							+'<div class="htfoot">'
-							+''
-							+'</div>'
-							+'</div>'
-							+'</div></div>');
-				}
-			}
-
-			function getElementLeft(element){
-				var actualLeft = element.offsetLeft;
-				var current = element.offsetParent;
-				while (current !== null){
-					actualLeft += current.offsetLeft;
-					current = current.offsetParent;
-				}
-				return actualLeft;
-			}
-			function getElementTop(element){
-				var actualTop = element.offsetTop;
-				var current = element.offsetParent;
-				while (current !== null){
-					actualTop += current.offsetTop;
-					current = current.offsetParent;
-				}
-				return actualTop;
-			}
-
-			$(".winner").hover(function(){
-				thishtlists_ent();
-				entProListShowFlag = true;
-				var that = $(this);
-				$(".animathistory_ent").each(function(){
-					if($(this).parents(".winner").attr("dataNum") == that.attr("dataNum")){
-						return true
-					}
-					$(this).fadeOut(1000);
-				})
-				$(this).find(".animathistory_ent").fadeIn(1000);
-			},function(){
-				entProListShowFlag = false;
-				setTimeout(function(){
-					if(entProListShowFlag){
-						return;
-					}
-					$(".animathistory_ent").fadeOut(250);
-				},250)
-			})
-
-			//
-			if(insertflog){
-				var titleCopyNew = $("#hst");
-				titleCopyNew.append('<div id="outhistory"><div class="animathistory" style="display:none;">'
-						+'<span class="hyone"></span>'
-						+'<span class="hytwo"></span>'
-						+'<div  id="myhtlist" style="max-height: 500px;overflow-y: auto;">'
-						+'<div class="hthead">'
-						+'<span>项目公告</span><span onclick="htclosed()"><img src="{{Msg "seo" "cdn"}}/images/wx/close.png"/></span>'
-						+'</div>'
-						+'<div class="htcontent">'
-						+'</div>'
-						+'<div class="htfoot">'
-						+''
-						+'</div>'
-						+'</div>'
-						+'</div></div>');
-			}
-			$("#hst").hover(function(){
-				thishtlists();
-				hstShowFlag = true;
-				$(".animathistory").fadeIn(1000);
-			},function(){
-				hstShowFlag = false;
-				setTimeout(function(){
-					if(hstShowFlag){
-						return;
-					}
-					$(".animathistory").fadeOut(250);
-				},250)
-			})
-		}
-		//
-		var thishtlists_ent_hasLoad = false
-		var thishtlists_ent = function(){
-			if (thishtlists_ent_hasLoad){
-				return
-			}
-			var _id = {{.T.obj._id}};
-			//var s_winner = {{.T.obj.winner}};
-			var _bidamount = {{.T.obj.bidamount}};
-			var projectname = projectName;
-			$.post("/front/pcEntAllNotice",{entname:s_winner},function(D){
-				thishtlists_ent_hasLoad = true;
-				var noData = true;
-				if(D.data){
-					for (var n=0;n<s_winner.split(",").length;n++){
-						var thiswinner = s_winner.split(",")[n]
-						var data = D.data[thiswinner]
-						if (data){
-							noData = false;
-							for(var i = 0; i < data.length; i++){
-								var id = data[i]["_id"];
-								var noticetime = '';
-								var type = '';
-								var amountHtml = '';
-								var listhtml = '';
-								var typeStr = '';
-								var title = data[i]["title"];
-								var amount = data[i]["bidamount"];
-
-								if(data[i]["publishtime"]){
-									noticetime = new Date(Number(data[i]["publishtime"]+"000")).Format("MM-dd");
-								}
-								if(typeof(data[i]["subtype"]) != "undefined" && data[i]["subtype"] != "" && data[i]["subtype"] != null){
-									type = data[i]["subtype"];
-									typeStr = '<span class="type">'+type+'</span>';
-								}else if(typeof(data[i]["toptype"]) != "undefined" && data[i]["toptype"] != "" && data[i]["toptype"] != null){
-									type = data[i]["toptype"];
-									typeStr = '<span class="type">'+type+'</span>';
-								}else{
-									typeStr = '<span class="typenull">'+type+'</span>';
-								}
-								if(amount && !isNaN(amount)){
-									amount = parseInt(amount)/10000;
-									amountHtml = '<span class="priceStyle">'+amount+'万元中标</span>';
-								}
-								if(title){
-									title = keyWordHighlight(title,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
-								}else{
-									title = "";
-								}
-								var titleHtml = "";
-								if(id){
-									titleHtml = '<a target="_blank" href="/article/content/'+id+'.html" >'+title+'</a>';
-								}else{
-									titleHtml = '<a target="_blank" href="#" >'+title+'</a>';
-								}
-								listhtml = '<div class="htlist" style="padding-bottom: 30px;">'
-										+'<div style="width: 80px;text-align: right;">'
-										+'<span class="noticetime">'+noticetime+'</span>'
-										+typeStr
-										+'</div>'
-										+'<div class="timeaxis">'
-										+'<span></span>'
-										+'</div>'
-										+'<div>'
-										+titleHtml
-										+amountHtml
-										+'</div>'
-										+'</div>'
-								$(".animathistory_ent").parents(".winner[data-val='"+thiswinner+"']").find(".htcontent").append(listhtml);
-								//$(".animathistory_ent .htcontent").append(listhtml);
-							}
-						}
-					}
-				}
-				if (noData){
-					var hthtml = '<div class="htlist" style="padding-bottom: 30px;"><div style="width: 80px;text-align: right;">';
-					if($("#statusbar .com-time").text()!=undefined&&$("#statusbar .com-time").text()!=""){
-						hthtml += '<span class="noticetime">'+$("#statusbar .com-time").text()+'</span>';
-					}else{
-						hthtml += '<span class="noticetime"></span>';
-					}
-					if($("#statusbar .com-type").text()!=undefined&&$("#statusbar .com-type").text()!=""){
-						hthtml += '<span class="type">'+$("#statusbar .com-type").text()+'</span>';
-					}
-					hthtml += '</div><div class="timeaxis"><span></span></div>';
-					if(_id){
-						hthtml += '<div><a target="_blank" href="/article/content/'+_id+'.html">';
-					}else{
-						hthtml += '<div><a target="_blank" href="#">';
-					}
-					if(titleCopyDec!=""){
-						var listtitle = titleCopyDec;
-						listtitle = keyWordHighlight(listtitle,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
-						hthtml += listtitle;
-					}
-					hthtml +='</a>';
-					if(_bidamount && !isNaN(_bidamount)){
-						_bidamount = parseInt(_bidamount)/10000;
-						hthtml += '<span class="priceStyle">'+_bidamount+'万元中标</span>';
-					}
-					hthtml +='</div></div>';
-					$(".animathistory_ent .htcontent").append(hthtml);
-				}
-				$(".htlist").find("a").mouseover(function(){
-					$(this).find("span").css("color","#fe7379");
-				})
-				$(".htlist").find("a").mouseout(function(){
-					$(this).find("span").css("color","#2cb7ca");
-				})
-			});
-		}
-		//
-		var thishtlists_hasLoad = false;
-		var thishtlists = function(){
-			if (thishtlists_hasLoad){
-				return
-			}
-			var _id = {{.T.obj._id}};
-			var projectname = projectName;
-			var projectcode = {{.T.obj.projectcode}};
-			$.post("/front/pcAllNotice",{id:_id,projectname:projectname,projectcode:projectcode},function(D){
-				thishtlists_hasLoad=true;
-				var htdata = D.data["res"]
-				if(htdata&&htdata.length>0){
-					var htlist = D.data["res"];
-					var hthtml = '';
-					var myflag = true;
-					for(var i in htlist){
-						var listone = htlist[i]
-						var httime = listone["l_publishtime"];
-						var mytime = {{.T.obj.publishtime}};
-						if(httime>mytime){
-							hthtml += '<div class="htlist"><div style="width: 80px;text-align: right;">'
-							if(htdiff!=""&&htdiff!=0){
-								var htdiff = timeDiff(new Date(Number(httime+"000")));
-								hthtml += '<span class="noticetime">'+htdiff+'</span>'
-							}else{
-								hthtml += '<span class="noticetime"></span>'
-							}
-							var httype = listone["s_subtype"]
-							if(typeof(httype) == "undefined" || httype == null || httype == ""){
-								httype = listone["s_toptype"]
-							}
-							if(typeof(httype) == "undefined" || httype == null || httype == ""){
-								httype = listone["s_type"];
-								if(httype == "bid"){
-									httype = "中标";
-								}else if(httype == "tender"){
-									httype = "招标";
-								}else{
-									httype = "";
-								}
-							}
-							if(httype!=""){
-								hthtml += '<span class="type">'+httype+'</span>'
-							}
-							hthtml += '</div><div class="timeaxis"><span></span></div>'
-							if(typeof(listone["s_eid"])!=""){
-								hthtml += '<div><a target="_blank" href="/article/content/'+listone["s_eid"]+'.html">'
-							}else{
-								hthtml += '<div><a target="_blank" href="#">'
-							}
-							if(listone["s_title"]!=""){
-								var listtitle = listone["s_title"];
-								listtitle = keyWordHighlight(listtitle,projectname,"<span style='color:#2cb7ca;'>$1</span>");
-								hthtml += listtitle
-							}
-							hthtml +='</a></div></div>'
-						}else if(httime<=mytime){
-							if(myflag){
-								hthtml += '<div class="htlist"><div style="width: 80px;text-align: right;">'
-								if($("#statusbar .com-time").text()!=undefined&&$("#statusbar .com-time").text()!=""){
-									hthtml += '<span class="noticetime">'+$("#statusbar .com-time").text()+'</span>'
-								}else{
-									hthtml += '<span class="noticetime"></span>'
-								}
-								if($("#statusbar .com-type").text()!=undefined&&$("#statusbar .com-type").text()!=""){
-									hthtml += '<span class="type">'+$("#statusbar .com-type").text()+'</span>'
-								}
-								hthtml += '</div><div class="timeaxis"><span></span></div>'
-								if(_id){
-									hthtml += '<div><a target="_blank" href="/article/content/'+_id+'.html">'
-								}else{
-									hthtml += '<div><a target="_blank" href="#">'
-								}
-								if(titleCopyDec!=""){
-									var listtitle = titleCopyDec;
-									listtitle = keyWordHighlight(listtitle,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
-									hthtml += listtitle
-								}
-								hthtml +='</a></div></div>'
-								myflag = false;
-							}
-							hthtml += '<div class="htlist"><div style="width: 80px;text-align: right;">'
-							if(htdiff!=""&&httime!=0){
-								var htdiff = timeDiff(new Date(Number(httime+"000")));
-								hthtml += '<span class="noticetime">'+htdiff+'</span>'
-							}else{
-								hthtml += '<span class="noticetime"></span>'
-							}
-							var httype = listone["s_subtype"]
-							if(typeof(httype) == "undefined" || httype == null || httype == ""){
-								httype = listone["s_toptype"]
-							}
-							if(typeof(httype) == "undefined" || httype == null || httype == ""){
-								httype = listone["s_type"];
-								if(httype == "bid"){
-									httype = "中标";
-								}else if(httype == "tender"){
-									httype = "招标";
-								}else{
-									httype = "";
-								}
-							}
-							if(httype!=""){
-								hthtml += '<span class="type">'+httype+'</span>'
-							}
-							hthtml += '</div><div class="timeaxis"><span></span></div>'
-							if(typeof(listone["s_eid"])!=""){
-								hthtml += '<div><a target="_blank" href="/article/content/'+listone["s_eid"]+'.html">'
-							}else{
-								hthtml += '<div><a target="_blank" href="#">'
-							}
-							if(listone["s_title"]!=""){
-								var listtitle = listone["s_title"];
-								listtitle = keyWordHighlight(listtitle,projectname,"<span style='color:#2cb7ca;'>$1</span>");
-								hthtml += listtitle
-							}
-							hthtml +='</a></div></div>'
-						}
-					}
-					if(myflag){
-						hthtml += '<div class="htlist"><div style="width: 80px;text-align: right;">'
-						if($("#statusbar .com-time").text()!=undefined&&$("#statusbar .com-time").text()!=""){
-							hthtml += '<span class="noticetime">'+$("#statusbar .com-time").text()+'</span>'
-						}else{
-							hthtml += '<span class="noticetime"></span>'
-						}
-						if($("#statusbar .com-type").text()!=undefined&&$("#statusbar .com-type").text()!=""){
-							hthtml += '<span class="type">'+$("#statusbar .com-type").text()+'</span>'
-						}
-						hthtml += '</div><div class="timeaxis"><span></span></div>'
-						if(_id){
-							hthtml += '<div><a target="_blank" href="/article/content/'+_id+'.html">'
-						}else{
-							hthtml += '<div><a target="_blank" href="#">'
-						}
-						if(titleCopyDec!=""){
-							var listtitle = titleCopyDec;
-							listtitle = keyWordHighlight(listtitle,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
-							hthtml += listtitle
-						}
-						hthtml +='</a></div></div>'
-						myflag = false;
-					}
-					$(".animathistory .htcontent").append(hthtml);
-				}else{
-					var hthtml = '<div class="htlist"><div style="width: 80px;text-align: right;">'
-					if($("#statusbar .com-time").text()!=undefined&&$("#statusbar .com-time").text()!=""){
-						hthtml += '<span class="noticetime">'+$("#statusbar .com-time").text()+'</span>'
-					}else{
-						hthtml += '<span class="noticetime"></span>'
-					}
-					if($("#statusbar .com-type").text()!=undefined&&$("#statusbar .com-type").text()!=""){
-						hthtml += '<span class="type">'+$("#statusbar .com-type").text()+'</span>'
-					}
-					hthtml += '</div><div class="timeaxis"><span></span></div>'
-					if(_id){
-						hthtml += '<div><a target="_blank" href="/article/content/'+_id+'.html">'
-					}else{
-						hthtml += '<div><a target="_blank" href="#">'
-					}
-					if(titleCopyDec!=""){
-						var listtitle = titleCopyDec;
-						listtitle = keyWordHighlight(listtitle,projectname,"<span  style='color:#2cb7ca;'>$1</span>");
-						hthtml += listtitle
-					}
-					hthtml +='</a></div></div>'
-
-					$(".animathistory .htcontent").append(hthtml);
-				}
-				$(".htlist").find("a").mouseover(function(){
-					$(this).find("span").css("color","#fe7379");
-				})
-				$(".htlist").find("a").mouseout(function(){
-					$(this).find("span").css("color","#2cb7ca");
-				})
-			});
-		}
-		var htclosed = function(){
-			$(".animathistory").fadeOut(1000);
-		}
-		var htclosed_ent = function(){
-			$(".animathistory_ent").fadeOut(1000);
-		}
-		var publishtime = {{.T.obj.publishtime}};
-		var type = {{.T.obj.subtype}};
-		var area = {{.T.obj.area}};
-		//var industry = {{.T.obj.industry}};
-		var industry = getQueryString("industry");
-		var subscopeclass = {{.T.obj.s_subscopeclass}};
-		var buyerclass ={{.T.obj.buyerclass}};
-
-		if (area !="" && area != "A"){
-			$(".com-statusbar").append('<span class="com-area"><a href="/list/area/'+{{.T.obj.areaadd}}+'.html">'+area+'</a></span>');
-		}
-		if(typeof(type) == "undefined" || type == null || type == ""){
-			type = {{.T.obj.toptype}};
-		}
-		if(typeof(type) == "undefined" || type == null || type == ""){
-			type = {{.T.obj.type}};
-			if(type == "bid"){
-				type = "中标";
-			}else if(type == "tender"){
-				type = "招标";
-			}else{
-				type = "";
-			}
-		}
-		if(typeof(type) != "undefined" && type != null && type != ""){
-			$(".com-statusbar").append('<span class="com-type"><a href="/list/stype/'+{{.T.obj.stypeadd}}+'.html">'+type+'</a></span>');
-		}
-		//
-		if(industry && industry!="undefined"){
-			$(".com-statusbar").append('<span class="com-industry"><a href="/list/industry/'+{{.T.obj.indadd}}+'.html">'+industry+'</a></span>');
-		}else if(subscopeclass){
-			var suclass = subscopeclass.split(",")[0];
-			$(".com-statusbar").append('<span class="com-industry"><a href="/list/industry/'+{{.T.obj.indadd}}+'.html">'+suclass.split("_")[0]+'</a></span>');
-		}
-		//
-		if ({{.T.isVip}} || {{.T.isMember}} || {{.T.isEntniche}}){
-			if(buyerclass){
-				$(".com-statusbar").append('<span class="com-buyerclass"><a>'+buyerclass+'</a></span>');
-			}
-		}
-		var bidamount_class={{.T.obj.bidamount}}
-		var budget_class={{.T.obj.budget}}
-		var amount=getacount(bidamount_class,budget_class)
-		if (amount!=""){
-			$(".com-statusbar").append('<span class="com-amount"><a>'+conversionMoeny(amount)+'</a></span>');
-		}
-		//
-		if(publishtime != ""){
-			var diff = utils.dateFromNow(Number(publishtime+"000"));
-			if(diff != null){
-				$(".com-statusbar").append('<span class="com-time"><i class="glyphicon bofangjilu"></i>'+diff+'</span>');
-			}
-		}
-		var upno = {{if .T.obj.i_upno}}{{.T.obj.i_upno}}{{else}}0{{end}};
-		var downno = {{if .T.obj.i_downno}}{{.T.obj.i_downno}}{{else}}0{{end}};
-		var cookieup = "";
-		var cookiedown = "";
-		var isReqing = false;
-		cookiedown=$.cookie("down{{.T.obj._id}}");
-		cookieup=$.cookie("up{{.T.obj._id}}");
-		if ($.cookie("id{{.T.obj._id}}") != null && $.cookie("id{{.T.obj._id}}") == id){
-			if(cookieup == "T"){
-				$(".jyuseless").removeClass("hidden");
-				$(".jyuseful").addClass("hidden");
-			}else if(cookiedown == "T"){
-				$(".jyuseful").removeClass("hidden");
-				$(".jyuseless").addClass("hidden");
-			}
-		}
-		$(".jyuseful").click(function(){
-			upordown("up");
-		});
-		$(".jyuseless").click(function(){
-			upordown("down");
-		});
-		//
-		function upordown(type){
-			if(isReqing){
-				return;
-			}
-			var aos = 0;
-			var aosup = 0;
-			var aosdown = 0;
-			cookiedown=$.cookie("down{{.T.obj._id}}");
-			cookieup=$.cookie("up{{.T.obj._id}}");
-			var praflag = false;
-			if($.cookie("id{{.T.obj._id}}") != null && $.cookie("id{{.T.obj._id}}") == id){
-				if(type == "up"){
-					if(cookieup == "F"&& cookiedown == "T"){
-						cookieup = "T";
-						cookiedown = "F";
-						upno = Number(upno)+1;
-						$(".jyuseful span").html(upno);
-						downno = Number(downno)-1;
-						$(".jyuseless span").html(downno);
-						aosup = 1;
-						aosdown = -1;
-						praflag = true;
-						$(".jyuseless").removeClass("hidden");
-						$(".jyuseful").addClass("hidden");
-					}else if(cookieup == "T"){
-						cookieup = "F";
-						upno = Number(upno)-1;
-						$(".jyuseful span").html(upno);
-						aosup = -1;
-						praflag = true;
-						$(".jyuseless").addClass("hidden");
-						$(".jyuseful").removeClass("hidden");
-					}else if(cookieup == "F"&& cookiedown == "F"){
-						cookieup = "T";
-						upno = Number(upno)+1;
-						$(".jyuseful span").html(upno);
-						aosup = 1;
-						praflag = true;
-						$(".jyuseless").removeClass("hidden");
-						$(".jyuseful").addClass("hidden");
-					}
-				}else if(type == "down"){
-					if(cookieup == "T"&& cookiedown == "F"){
-						cookiedown = "T";
-						cookieup = "F";
-						upno = Number(upno)-1;
-						$(".jyuseful span").html(upno);
-						downno = Number(downno)+1;
-						$(".jyuseless span").html(downno);
-						aosup = -1;
-						aosdown = 1;
-						praflag = true;
-						$(".jyuseless").addClass("hidden");
-						$(".jyuseful").removeClass("hidden");
-					}else if(cookiedown == "T"){
-						cookiedown = "F";
-						downno = Number(downno)-1;
-						$(".jyuseless span").html(downno);
-						aosdown = -1;
-						praflag = true;
-						$(".jyuseful").addClass("hidden");
-						$(".jyuseless").removeClass("hidden");
-					}else if(cookieup == "F"&& cookiedown == "F"){
-						cookiedown = "T";
-						downno = Number(downno)+1;
-						$(".jyuseless span").html(downno);
-						aosdown = 1;
-						praflag = true;
-						$(".jyuseful").removeClass("hidden");
-						$(".jyuseless").addClass("hidden");
-					}
-				}
-				if(praflag){
-					isReqing = true;
-					$.ajax({
-						type:'post',
-						url:'/swordfish/praise',
-						data:{type:type,aosup:aosup,aosdown:aosdown,id:{{.T.obj._id}}},
-					cache:false,
-							dataType:'json',
-							success:function(data){
-						if(data.flag == "T"){
-							$.cookie("up{{.T.obj._id}}",'', { expires: -1 })
-							$.cookie("down{{.T.obj._id}}",'', { expires: -1 })
-							$.cookie("up{{.T.obj._id}}",cookieup,{expires:300});
-							$.cookie("down{{.T.obj._id}}",cookiedown,{expires:300});
-							praflag = false;
-						}
-						setTimeout(function(){
-							isReqing = false;
-						},500);
-					},
-					error: function(){
-						isReqing = false;
-					}
-				});
-				}
-			}else{
-				cookieup = "F";
-				cookiedown = "F";
-				if (type == "up"){
-					cookieup = "T";
-					upno = Number(upno)+1;
-					$(".jyuseful span").html(upno);
-					praflag = true;
-					aosup = 1;
-					$(".jyuseless").removeClass("hidden");
-					$(".jyuseful").addClass("hidden");
-				}else if (type == "down"){
-					cookiedown = "T";
-					downno = Number(downno)+1;
-					$(".jyuseless span").html(downno);
-					praflag = true;
-					aosdown = 1;
-					$(".jyuseless").addClass("hidden");
-					$(".jyuseful").removeClass("hidden");
-				}
-				if(praflag){
-					isReqing = true;
-					$.ajax({
-						type:'post',
-						url:'/swordfish/praise',
-						data:{type:type,aosup:aosup,aosdown:aosdown,id:{{.T.obj._id}}},
-					cache:false,
-							dataType:'json',
-							success:function(data){
-						if(data.flag == "T"){
-							$.cookie("up{{.T.obj._id}}",cookieup,{expires:300});
-							$.cookie("down{{.T.obj._id}}",cookiedown,{expires:300});
-							$.cookie("id{{.T.obj._id}}",id,{expires:300});
-							praflag = false;
-						}
-						setTimeout(function(){
-							isReqing = false;
-						},500);
-					},
-					error: function(){
-						isReqing = false;
-					}
-				});
-				}
-			}
-		}
-		function getQueryString(name){
-			var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
-			var r = window.location.search.substr(1).match(reg);
-			if(r != null)
-				return decodeURIComponent(r[2]);
-			return "";
-		}
-		function getacount(bidamount,budget){
-			if(typeof(bidamount) != "undefined" && bidamount != null && bidamount != ""){
-				return bidamount
-			}
-			if(typeof(budget) != "undefined" && budget != null && budget != ""){
-				return budget
-			}
-			return ""
-		}
-		//金额转化   金额:0-万元以下单位为元  ,万元以上至亿元以下单位为万元 ,亿元以上单位为亿元。保留 小数点后 2 位,不进行四舍五入。
-		function conversionMoeny(money){
-			var m = ""+money;
-			var m_arr = m.split(".")
-			var m_1 = m_arr[0]
-			var len_m1 = m_1.length;
-			if (len_m1 >= 9 ){
-				m = m_1.substring(0,len_m1-8) + "." + m_1.substring(len_m1-8,len_m1-6) + "亿元"
-			} else if (len_m1 >= 5) {
-				m =m_1.substring(0,len_m1-4) + "." + m_1.substring(len_m1-4,len_m1-2) + "万元"
-			} else {
-				if(m_arr.length == 1) {
-					return m + ".00元"
-				}
-				var m_2 = m_arr[1]
-				if (m_2.length > 1) {
-					m_2 = m_2.substring(0,2)
-				} else {
-					m_2 = m_2.substring(0,1) + "0"
-				}
-				m = m_1 + "." + m_2 + "元"
-			}
-			return m
-		}
-function fromwhere(text){
-  var ad="pc_articel_";
-  if (getinfotype(subtype)=="拟建项目"){
-    ad+="nj"
-  }
-  if (getinfotype(subtype)=="招标公告"){
-    ad+="zb"
-  }
-  if (getinfotype(subtype)=="中标公告"){
-    ad+="win"
-  }
-  if (getinfotype(subtype)=="其他"){
-    ad+="qt"
-  }
-  if (jQuery.inArray(text,zb_adv)!=-1){
-    ad+="_zb_"+(jQuery.inArray(text,zb_adv)+1);
-  }
-  if (jQuery.inArray(text,win_adv)!=-1){
-    ad+="_win_"+(jQuery.inArray(text,win_adv)+1);
-  }
-  if (jQuery.inArray(text,any_adv)!=-1){
-    ad+="_sj_"+(jQuery.inArray(text,any_adv)+1);
-  }
-  if (jQuery.inArray(text,nj_adv)!=-1){
-    ad+="_nj_"+(jQuery.inArray(text,nj_adv)+1);
-  }
-  return ad
-}
-</script>
-<script>
-  // 附件下载
-  function goDownload(url) {
-    if (!loginflag) {
-      openLoginDig()
-      return
-    }
-    // 免费用户
-    if (window.isFree) {
-      // 判断有无体验过 0:未体验过
-      if (window.freeFile == 0) {
-        // 判断有无留过资 且未体验过 - 去留资
-        vm.source = 'article_attach_freeuser'
-        vm.calcTitleText('article_attach_freeuser')
-        vm.showForm = true
-        vm.getOldInfo()
-        // vm.isNeedSubmit('article_attach_freeuser', function() {})
-      } else if (window.freeFile > 0 ){
-        // 留过资 更新下载次数 进入附件下载页面
-        location.href = url
-      } else {
-        // 免费用户 体验过 下载次数为-1 弹框提醒跳至超级订阅购买页
-        bidVue.$alert('您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
-          showClose:false,
-          center: true,
-          confirmButtonText: '去开通',
-          customClass: 'custom-alert',
-          showCancelButton: true,
-          confirmButtonClass: 'custom-confirm-btn',
-          cancelButtonClass: 'custom-cancel-btn'
-        }).then(function(){
-          location.href = '/swordfish/page_big_pc/free/svip/buy'
-        }).catch(function(){});
-      }
-    } else {
-      // 付费用户
-      // 大会员用户 有下载权限
-      if (window.memberPower.indexOf(3) > -1) {
-        location.href = url
-        return
-      }
-      // 超级订阅用户
-      if (window.vipStatus > 0) {
-        // 是新超级订阅用户
-        if (window.viper) {
-          // 有下载次数
-          if (window.fileNum > 0 ) {
-            location.href = url
-          } else {
-            // 次数用完提醒联系客服
-            bidVue.$confirm('您本月查看机会已经消耗完毕,如需要更多服务,请前往联系客服。', {
-              showClose:false,
-              center: true,
-              confirmButtonText: '取消',
-              customClass: 'custom-alert',
-              showCancelButton: true,
-              confirmButtonClass: 'custom-cancel-btn',
-              cancelButtonClass: 'custom-confirm-btn',
-              cancelButtonText: '联系客服'
-            }).then(function(data){
-
-            }).catch(function(){
-              $('.open-customer').trigger('click')
-              $('body').trigger('click')
-            });
-          }
-        } else {
-          // 老超级订阅用户 提醒升级
-          bidVue.$alert('对不起,暂无权限,您可升级超级订阅解锁附件下载', '升级超级订阅', {
-            showClose:false,
-            center: true,
-            confirmButtonText: '前往升级',
-            customClass: 'custom-alert',
-            showCancelButton: true,
-            confirmButtonClass: 'custom-confirm-btn',
-            cancelButtonClass: 'custom-cancel-btn'
-          }).then(function(){
-            location.href = '/swordfish/page_big_pc/free/svip/buy?type=upgrade'
-          }).catch(function(){});
-        }
-        return
-      }
-      //  是大会员自定义版本没有下载权限 或 非超级订阅的商机管理用户 (弹框提醒联系客服)
-      var memberNoVip = (window.memberStatus > 0 &&  window.memberPower.indexOf(3) == -1) && !(window.vipStatus > 0 && window.viper)
-      if (memberNoVip || (window.vipStatus <=0 && window.entniche)) {
-        bidVue.$alert('对不起,暂无权限,请联系客服', {
-          showClose:false,
-          center: true,
-          confirmButtonText: '我知道了',
-          customClass: 'custom-alert',
-          showCancelButton: true,
-          confirmButtonClass: 'custom-confirm-btn'
-        });
-        return
-      }
-    }
-  }
-
-  //超级订阅附件下载
-  function cjdyDownload (fname) {
-	  $.ajax({
-		  type:'post',
-		  //url:'/publicapply/attachment/get',
-		  url:'/jypay/resourcePack/consumePack',
-		  data:{
-		    id:{{.T.obj._id}},
-			productName:"附件下载包",
-			platform:"PC",
-			fileName:fname,
-			title:{{.T.obj.title}}
-  		  },
-	  success:function(data){
-        if(data){
-          if (data.r&&data.r.code&&data.r.code<0&&window.vipStatus>0){
-            // 次数用完提醒去充值
-						bidVue.$confirm('您本月附件下载机会已消耗完毕,如需下载更多附件,请前往充值。', {
-							showClose:false,
-							center: true,
-							confirmButtonText: '立即充值',
-							customClass: 'custom-alert',
-							showCancelButton: true,
-							confirmButtonClass: 'custom-confirm-btn',
-							cancelButtonClass: 'custom-cancel-btn',
-							cancelButtonText: '取消'
-						}).then(function(data){
-              location.href = '/swordfish/page_big_pc/free/filePack/buy'
-						}).catch(function(){
-							//$('.open-customer').trigger('click')
-							//$('body').trigger('click')
-						});
-          }else if ((data.m && data.m!="")||data.r["downUrl"]==undefined||data.r["downUrl"]==""){
-            bidVue.$confirm('附件下载异常,请前往联系客服。', {
-							showClose:false,
-							center: true,
-							confirmButtonText: '取消',
-							customClass: 'custom-alert',
-							showCancelButton: true,
-							confirmButtonClass: 'custom-cancel-btn',
-							cancelButtonClass: 'custom-confirm-btn',
-							cancelButtonText: '联系客服'
-						}).then(function(data){
-
-						}).catch(function(){
-							$('.open-customer').trigger('click')
-							$('body').trigger('click')
-						});
-          }else{
-            if(data.r&&fname == data.r["fileName"]){
-              if (!data.r["isExists"]){
-                $(".file-count").text($(".file-count").text()-1);
-              }
-              location.href = data.r["downUrl"]
-              //goDownload(data.r["downUrl"])
-					  }
-          }
-			  }
-	  }
-  });
-  }
-   window.collectSubmitCallback = function (source, data) {
-	  if (source === 'article_attach_freeuser') {
-		  checkBigStatus()
-	  }
-   }
-  // 获取附件内容
-  function getFileData () {
-    $.ajax({
-      type:'post',
-      url:'/bigmember/attachment/get',
-      data:{
-        infoId:{{.T.obj._id}}
-      },
-      success:function(data){
-        // TODO 留资判断
-        if(data.data && data.data.attachment !=null && data.data.attachment.length!==0){
-          var html = ''
-          for(var i=0;i<data.data.attachment.length;i++) {
-            // html += "<div class='downs'>"+"<a class='menu_list' style='text-decoration:underline;color: #2CB7CA' onclick='goDownload(\""+data.data.attachment[i].downurl+"\")'>"+(i+1)+"."+data.data.attachment[i].filename+"</a></div>"
-            html += "<div class='downs'>"+"<a class='menu_list' style='text-decoration:underline;color: #2CB7CA'>"+(i+1)+"."+data.data.attachment[i].filename+"</a></div>"
-
-          }
-          if(html!==""){
-            $("#attach-list").css("display","").find(".download-list").html(html)
-          }
-			$(".downs").click(function (){
-				var name = $(this).find('a').text()
-				var fname = name.replace(/^\d+./, '')
-				if(window.isFree){
-					if(window.freeFile == 0){
-						// 判断有无留过资 且未体验过 - 去留资
-            // 弹窗留资弹框,第一个参数为source,第二个是留资成功后是否需要刷新页面 可不传,不传即为不刷新
-            vm.noCallApiFn('article_attach_freeuser', true)
-					}else if (window.freeFile > 0 ){
-            window.freeFile = -1
-						// 留过资 更新下载次数 进入附件下载页面
-						cjdyDownload(fname)
-					}else {
-						// 免费用户 体验过 下载次数为-1 弹框提醒跳至超级订阅购买页
-						bidVue.$alert('您已经免费解锁过【附件下载】权益1次,暂无免费查看权限。如需查看更多,请开通超级订阅获取更多权限。', '开通超级订阅', {
-							showClose:false,
-							center: true,
-							confirmButtonText: '去开通',
-							customClass: 'custom-alert',
-							showCancelButton: true,
-							confirmButtonClass: 'custom-confirm-btn',
-							cancelButtonClass: 'custom-cancel-btn'
-						}).then(function(){
-							location.href = '/swordfish/page_big_pc/free/svip/buy'
-						}).catch(function(){});
-					}
-				}else{
-					// 付费用户
-					// 大会员用户 有下载权限
-					if (window.memberPower.indexOf(3) > -1) {
-						cjdyDownload(fname)
-						return
-					}
-					// 超级订阅用户
-					if (window.vipStatus > 0) {
-						// 是新超级订阅用户
-						if (window.viper) {
-              cjdyDownload(fname)
-						} else {
-							// 老超级订阅用户 提醒升级
-							bidVue.$alert('对不起,暂无权限,您可升级超级订阅解锁附件下载', '升级超级订阅', {
-								showClose:false,
-								center: true,
-								confirmButtonText: '前往升级',
-								customClass: 'custom-alert',
-								showCancelButton: true,
-								confirmButtonClass: 'custom-confirm-btn',
-								cancelButtonClass: 'custom-cancel-btn'
-							}).then(function(){
-								location.href = '/swordfish/page_big_pc/free/svip/buy?type=upgrade'
-							}).catch(function(){});
-						}
-						return
-					}
-					//  是大会员自定义版本没有下载权限 或 非超级订阅的商机管理用户 (弹框提醒联系客服)
-					if ((window.memberStatus > 0 &&  window.memberPower.indexOf(3) == -1) || (window.vipStatus <=0 && window.entniche)) {
-						bidVue.$alert('对不起,暂无权限,请联系客服', {
-							showClose:false,
-							center: true,
-							confirmButtonText: '我知道了',
-							customClass: 'custom-alert',
-							showCancelButton: true,
-							confirmButtonClass: 'custom-confirm-btn'
-						});
-						return
-					}else if(window.memberStatus > 0 &&  window.memberPower.indexOf(3) == -1){
-						if(window.vipStatus > 0 && window.fileNum >0){
-							$('.super-vip-show').show()
-							cjdyDownload(fname)
-						}
-					}
-				}
-				// cjdyDownload()
-			})
-			// $(".downs").click(function (){
-			//
-			// })
-        }
-      }
-    });
-  }
-
-  // $(".menu_list").click(function (){
-  //
-  // })
-
-  // 根据isAdd接口 展示附件部分dom
-  function showFileSomeDom () {
-    // 免费用户展示可下载一次提示(免费用户且没有体验过附件下载权益的展示)
-    if (window.isFree) {
-      if (window.freeFile == 0) {
-        $('.free-download').css('display', 'inline-block')
-        $('.free-go-open').hide()
-      } else {
-        $('.free-go-open').css('display', 'inline-block')
-        $('.free-download').hide()
-      }
-    }
-    // 新超级订阅用户
-    if (window.vipStatus > 0 && window.viper) {
-      $('.super-vip-show').show()
-      $('.super-vip-show .file-count').html(window.fileNum)
-      $('.recharge-new').unbind("click").bind("click",function(){
-        //超级订阅附件下载立即充值页面
-        window.open("/swordfish/page_big_pc/free/filePack/buy")
-      })
-    }
-	  // 大会员隐藏次数
-	  if(window.memberStatus >0 && window.memberPower.indexOf(3) >= 0){
-		  $('.super-vip-show').hide()
-	  }
-  }
-  var isEntnicheNew = {{.T.isEntnicheNew}}
-  var isHasBuyer = {{.T.obj.buyer}}
-  console.log(isEntnicheNew, isHasBuyer)
-  // 新商机管理用户是否认领该采购单位
-  function getClaimStatus() {
-    if (!isEntnicheNew || !isHasBuyer) return
-    var params = {
-      names:{{.T.obj.buyer}}
-    }
-    $.ajax({
-      type:'post',
-      url:'/entnicheNew/customer/claimcheck',
-      contentType: "application/json",
-      data: JSON.stringify(params),
-      success: function(res){
-        if (res.data) {
-          if (res.data.iscoll) {
-            $('.claim').addClass('claim-yes').removeClass('claim-no').text('已认领')
-            // 认领
-            $('.claim-yes').unbind('click').click(function() {
-              cancelClaim()
-            })
-          } else {
-            $('.claim').addClass('claim-no').removeClass('claim-yes').text('认领')
-            // 认领
-            $('.claim-no').unbind('click').click(function(e) {
-              var top = e.target.offsetParent.offsetTop + 50
-              var left = e.target.offsetLeft
-              $('#entNicheTags.tags-box').show().css({'top': top, 'left': left})
-              geEntNicheUserTags()
-              // 点击确定按钮,绑定标签
-              $('#entNicheTags .tags-footer .button-confirm').on('click', function () {
-                if (!$('#entNicheTags.tags-box').is(':hidden')){
-                  var lids = ""
-                  var lname = ""
-                  $('#entNicheTags .tags-item.tags-active').each(function() {
-                    if ($(this).attr('data-id')){
-                      if(lids != ""){
-                        lids += ",";
-                      }
-                      if(lname != "") {
-                        lname+= ",";
-                      }
-                      lids += $(this).attr('data-id');
-                      lname += $(this).text()
-                    }
-                  })
-                  let lidArr = []
-                  activeTags.forEach(v => {
-                    lidArr.push(v.lid)
-                  })
-                  var params = {
-                    name: {{.T.obj.buyer}},
-                    mold: 1,
-                    D: false,
-                    label: lidArr.toString()
-                  }
-                  console.log(params)
-                  // 执行保存绑定标签操作
-                  if (params.name !== '') {
-                    confirmClaim(params, function(res) {
-                        if (res.data) {
-                          toastFn('认领成功', 1000)
-                          $('.claim').addClass('claim-yes').removeClass('claim-no').text('已认领')
-                          getClaimStatus()
-                        } else {
-                          toastFn(res.error_msg)
-                        }
-                      $('#entNicheTags .tags-footer .button-cancel').trigger('click')
-                    })
-                  }
-                }
-              })
-              // confirmClaim()
-            })
-          }
-        }
-      }
-    })
-  }
-  // 新商机管理-认领采购单位
-  function confirmClaim (params, callback) {
-    if (!isEntnicheNew || !isHasBuyer) return
-    $.ajax({
-      type:'post',
-      url:'/entnicheNew/customer/attention',
-      contentType: "application/json",
-      data: JSON.stringify(params),
-      success: function(res){
-        if (res.error_code == 0) {
-          callback && callback(res)
-        } else {
-          console.log(res.error_msg)
-        }
-      }
-    })
-  }
-  // 新商机管理-取消认领采购单位
-  function cancelClaim() {
-    if (!isEntnicheNew || !isHasBuyer) return
-    var params = {
-      name:{{.T.obj.buyer}},
-      mold: 1,
-      D: true, // false:认领 true:取消认领
-    }
-    $.ajax({
-      type:'post',
-      url:'/entnicheNew/customer/attention',
-      contentType: "application/json",
-      data: JSON.stringify(params),
-      success: function(res){
-        if (res.error_code == 0) {
-          if (res.data) {
-            toastFn('已取消认领', 1000)
-            $('.claim').addClass('claim-no').removeClass('claim-yes').text('认领')
-            getClaimStatus()
-          } else {
-            toastFn(res.error_msg)
-          }
-        }
-      }
-    })
-  }
-  $(function() {
-    getClaimStatus()
-    getFileData();
-    // 定时取login.js里isAdd接口返回的用户身份(暴露给window变量) 取到清除定时器
-    var timer = null
-    clearInterval(timer)
-    timer = setInterval(() => {
-      if (window.isLogin) {
-        //console.log(window.vipStatus, window.isFree,window.freeFile,window.viper, window.entniche, window.memberStatus,window.memberPower,'11')
-        showFileSomeDom()
-        clearInterval(timer)
-      }
-    }, 1000);
-    // 下载提示
-    $('.file-icon-help').click(function() {
-      bidVue.$alert('点击附件即为下载,系统会扣除当月附件下载个数;每月1号上月余额清零重新计算,请合理使用。',  {
-        showClose:false,
-        center: true,
-        confirmButtonText: '我知道了',
-        customClass: 'custom-alert',
-        confirmButtonClass: 'custom-confirm-btn'
-      });
-    })
-    // 免费下载一次点击
-    $('.free-download').click(function() {
-      // 弹窗留资弹框,第一个参数为source,第二个是留资成功后是否需要刷新页面 可不传,不传即为不刷新
-      vm.noCallApiFn('article_attach_freeuser', true)
-    })
-    // 控制正文下table里没有内容 但有标签时取消其样式
-    $('.com-detail table').each(function(){
-      var tableText = $(this).text()
-      if (tableText.trim() == '') {
-        $(this).children().children().children('td').css({
-          'padding': '0'
-        })
-      }
-    })
-  })
-</script>
+  <script src='{{Msg "seo" "cdn"}}/public-pc/js/article-content.js?v={{Msg "seo" "version"}}'></script>
 <!--百度统计start-->
 {{include "/common/baiducc.html"}}
 <!--百度统计end-->

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

@@ -453,6 +453,7 @@
                         if (canTimeEnd) {
                             if (canTimeStart) {
                                 // 活动中
+                                $('.double12').attr('data-tip', res.tip || '免费送1年')
                                 $('.double12').addClass('active')
                                 // $('.footer-banner').addClass('active')
                                 // $('.footer-banner img').attr('src', '{{Msg "seo" "cdn"}}/vipsubscribe/image/double_12.png?v={{Msg "seo" "version"}}').css({

+ 2 - 0
src/web/templates/weixin/vipsubscribe/vip_introduce.html

@@ -128,7 +128,9 @@
                         if (canTimeStart) {
                             // 活动中
                             $(".pop-tip-group").hide()
+                            $(".pop-tip-group.active div").text(res.tip || '免费送1年')
                             $(".pop-tip-group.active").show()
+
                             $('.pop-button img[data-name]').hide()
                             $('.pop-button img[data-name="active"]').show()
                             activeReloadPage(res.nowtime * 1000, res.endtime * 1000)

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.