소스 검색

处理帮助中心头部样式,处理求购广告去除

Administrator 7 년 전
부모
커밋
a03ca9bbe2
2개의 변경된 파일15개의 추가작업 그리고 14개의 파일을 삭제
  1. 13 13
      components/default/Header.vue
  2. 2 1
      components/help/helpHeader.vue

+ 13 - 13
components/default/Header.vue

@@ -1,11 +1,11 @@
 <template>
   <header class="header">
-    <div class="apply-adv" v-if="isShowApplyAdv">
-      <a href="/applyPurchase#opportunities">
-        <img src="/images/applyPurchase/apply-top-ad.jpg" alt="">
-      </a>
-      <i @click="ShowApplyAdv = false"></i>
-    </div>
+    <!--<div class="apply-adv" v-if="isShowApplyAdv">-->
+      <!--<a href="/applyPurchase#opportunities">-->
+        <!--<img src="/images/applyPurchase/apply-top-ad.jpg" alt="">-->
+      <!--</a>-->
+      <!--<i @click="ShowApplyAdv = false"></i>-->
+    <!--</div>-->
     <nav class="navbar">
       <div class="navbar-container container">
         <div class="navbar-header">
@@ -76,17 +76,17 @@
 //        searchEnterpriseArr: [],
 //        keyword: '',
 //        isSearching: false
-        ShowApplyAdv: true,
+//         ShowApplyAdv: true,
         showEnterpriseToggle: false
       }
     },
     computed: {
-      isShowApplyAdv () {
-        if (this.$route.path.indexOf('/applyPurchase') === -1) {
-          this.ShowApplyAdv = true
-        }
-        return this.ShowApplyAdv && this.$route.path.indexOf('/applyPurchase') !== -1
-      },
+      // isShowApplyAdv () {
+      //   if (this.$route.path.indexOf('/applyPurchase') === -1) {
+      //     this.ShowApplyAdv = true
+      //   }
+      //   return this.ShowApplyAdv && this.$route.path.indexOf('/applyPurchase') !== -1
+      // },
       user () {
         // console.log(this.$store.state.option.user)
         return this.$store.state.option.user

+ 2 - 1
components/help/helpHeader.vue

@@ -34,9 +34,10 @@
 <style scoped>
   .user_center {
     width: 100%;
-    margin: 0px auto;
+    margin: 0 auto;
     height: 80px;
     background: #5078cb;
+    margin-top:-20px;
   }
   .wid1190{
     width: 100%;