浏览代码

Merge branch 'dev/v4.8.29_yf' of qmx/jy into feature/v4.8.29

yangfeng 2 年之前
父节点
当前提交
b18257b6c5
共有 2 个文件被更改,包括 12 次插入5 次删除
  1. 1 1
      src/web/staticres/css/pc/index.css
  2. 11 4
      src/web/templates/pc/index.html

+ 1 - 1
src/web/staticres/css/pc/index.css

@@ -297,7 +297,7 @@
   font-weight: bold;
 }
 .jy-index-search .tips .cai-gou{
-  display: none;
+  /* display: none; */
 }
 .jy-index-search .tips span.active,.search .tips span:hover{
   color: #2CB7CA;

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

@@ -22,7 +22,7 @@
   <link href='{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}' rel="stylesheet">
   <link href="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/theme-chalk/index.css" rel="stylesheet" />
   <link href='{{Msg "seo" "cdn"}}/css/collect-user-info.css?v={{Msg "seo" "version"}}' rel="stylesheet">
-  <link href='//cdn-common.jianyu360.com/cdn/assets/iconfont/pc/23.5.23/iconfont.css' rel="stylesheet" />
+  <link href='//cdn-common.jianyu360.com/cdn/assets/iconfont/pc/23.6.9/iconfont.css' rel="stylesheet" />
   <script src="//cdn-common.jianyu360.com/cdn/lib/vue/2.7.14/vue.min.js"></script>
   </head>
 	<body>
@@ -152,6 +152,7 @@
             <span class="hot-bidding"><i class="iconfont icon-remenzhaobiao"></i>热门招标</span>
             <span class="hot-subject"><i class="iconfont icon-biaodewu"></i>热门标的物</span>
             <span class="recommend"><i class="iconfont icon-shiyongtuijian"></i>实用内容推荐</span>
+            <span class="hot-buyer"><i class="iconfont icon-caigoudanwei"></i>热门采购单位</span>
           </div>
           <div class="links-item-content">
             <div class="area-content line-show show">
@@ -239,6 +240,7 @@
                 {{end}}
               </ul>
             </div>
+            <div class="hot-buyer-content line-show"></div>
           </div>
         </div>
       </div>
@@ -610,7 +612,7 @@
         if(localStorage.pcMainSearchRangeForContent == 'true'){
           $('input[name="selectType"]').val('title,content')
         }
-        this.getBuyerSearchPower() // 采购单位搜索权限
+        // this.getBuyerSearchPower() // 采购单位搜索权限
         this.lunBoFn() // banner轮播
         this.getOnlineDataFn() // 在线数据
         this.setCopyRightForBottom() // 设置copyright
@@ -827,7 +829,7 @@
           adBottomFn()
         }, 2000)
         function adBottomFn () {
-          console.log(window.memberStatus, 'dahuiyuan');
+          // console.log(window.memberStatus, 'dahuiyuan');
           // 是大会员则不显示底部广告位
           if (window.memberStatus > 0) {
             // 首页底部广告位隐藏
@@ -1073,7 +1075,12 @@
       }else{
         submitNavHeaderSearch('zbIndex')
       }
-
+    } else if (activeTab === 'cg') {
+      if(!loginflag){
+        window.location.href= '/jylab/purSearch/index.html' + '?' + $('#zbIndex').serialize()
+      }else{
+        submitNavHeaderSearch('zbIndex')
+      }
     } else {
       sessionStorage.removeItem('is-click-search')
       submitNavHeaderSearch('zbIndex') //打开工作桌面并传入form ID