Explorar o código

去掉开源充电入口

ccf %!s(int64=4) %!d(string=hai) anos
pai
achega
7689c9dbed
Modificáronse 1 ficheiros con 8 adicións e 17 borrados
  1. 8 17
      components/header.vue

+ 8 - 17
components/header.vue

@@ -159,15 +159,6 @@
                 </div>
               </a>
             </el-dropdown-item>
-            <el-dropdown-item>
-              <a class="more-item fuwu-item" @click="cnzz('导航栏目','开源充电','')" :href="`${baseUrl}/opensource/?from=top_nav`">
-                <img src="@/assets/img/header/new/fuwu4@2x.png" alt="开源充电" >
-                <div class="text">
-                  <span class="big">开源充电</span>
-                  <span class="small">程序员开源社区</span>
-                </div>
-              </a>
-            </el-dropdown-item>
           </el-dropdown-menu>
         </el-dropdown>
 
@@ -222,7 +213,7 @@
 
       </div>
       <div class="header-right">
-         
+
         <div @click="goToCompanyHome" v-if="isCompanyAccount || !myInfo.nickname" class="nav-button nav-button-type1">
           发布需求
         </div>
@@ -440,13 +431,13 @@
           <a
             class="account-ctrl"
              style="margin-left: 20px;margin-right:35px;"
-            
+
             @click="cnzz('导航栏目','注册','')"
             :href="baseUrl + '/user/register'"
             >注册</a
           >
           <a class="account-ctrl" @click="cnzz('导航栏目','登录','')" style="margin-right:37px;" :href="loginUrl">登录</a>
-          
+
         </div>
       </div>
     </div>
@@ -583,7 +574,7 @@ export default {
       if(this.myInfo.nickname){
         location.href = "/frontend/requirements"
       }else{
-        location.href = this.loginUrl 
+        location.href = this.loginUrl
       }
     },
     goToPersonalHome(){
@@ -592,7 +583,7 @@ export default {
       if(this.myInfo.nickname){
 
       }else{
-        location.href = this.loginUrl 
+        location.href = this.loginUrl
       }
     },
     async clickQuit() {
@@ -963,7 +954,7 @@ font-weight: 400;
 }
 .more-dropdown {
   padding:0 20px;
-  
+
 }
 .el-icon-search {
   position: absolute;
@@ -1189,7 +1180,7 @@ span.other-icon {
 .account-change{
   color: #308EFF;
   font-size: 14px;
-  
+
 }
 
 #proginn-header a {
@@ -1242,7 +1233,7 @@ span.other-icon {
   margin-right:14px;
 }
 .nav-button-type2{
-  
+
   background: #FF7640;
   border-radius: 2px;
   margin-right:20px;