Ver Fonte

修正样式问题

shenjj há 7 anos atrás
pai
commit
245ae185ff

+ 4 - 1
components/mobile/MobileHeader.vue

@@ -143,7 +143,7 @@
 //          this.showSearch = false
 //          this.showSearch = false
 //        }
 //        }
         this.showSearchIcon = false
         this.showSearchIcon = false
-        this.showHeader = val && val !== '/' && val !== '/mobile/applyPurchase/list' && !this.startWith(val, '/mobile/supplier') && !this.startWith(val, '/mobile/center/vendor/attentionBus')
+        this.showHeader = val && val !== '/' && val !== '/mobile/applyPurchase/list' && !this.startWith(val, '/mobile/supplier')
 //        this.showSearch = val !== '/' && !this.startWith(val, '/mobile/search')
 //        this.showSearch = val !== '/' && !this.startWith(val, '/mobile/search')
         let title = '优软商城'
         let title = '优软商城'
         if (this.startWith(val, '/mobile/brand/componentDetail/')) {
         if (this.startWith(val, '/mobile/brand/componentDetail/')) {
@@ -194,6 +194,9 @@
         } else if (this.startWith(val, '/mobile/product')) {
         } else if (this.startWith(val, '/mobile/product')) {
           this.showSearchIcon = false
           this.showSearchIcon = false
           title = '产品详情'
           title = '产品详情'
+        } else if (this.startWith(val, '/mobile/center/vendor/attentionBus')) {
+          this.showSearchIcon = false
+          title = '优软商城'
         } else {
         } else {
           this.showSearchIcon = true
           this.showSearchIcon = true
           title = '优软商城'
           title = '优软商城'

+ 1 - 1
pages/mobile/center/vendor/attentionBus.vue

@@ -5,7 +5,7 @@
         <span :class="activeType==='isattention'?'mobile-switch-btn active':'mobile-switch-btn'" @click="ChangeTab('isattention')">未关注</span>
         <span :class="activeType==='isattention'?'mobile-switch-btn active':'mobile-switch-btn'" @click="ChangeTab('isattention')">未关注</span>
       </div>
       </div>
       <div class="search-content" style="padding-bottom: 0.25rem">
       <div class="search-content" style="padding-bottom: 0.25rem">
-        <input type="text" placeholder="请输入您要查找的品牌或型号" v-model="keyword" @keyup.13="searchSeek">
+        <input type="text" placeholder="类目(产品名称)/名称" v-model="keyword" @keyup.13="searchSeek">
         <span @click="searchSeek" >
         <span @click="searchSeek" >
           <i class="iconfont icon-sousuo"></i>
           <i class="iconfont icon-sousuo"></i>
           </span>
           </span>