Browse Source

统一全局搜索框样式

shenjj 7 years ago
parent
commit
b8b2934907
2 changed files with 3 additions and 3 deletions
  1. 2 2
      components/mobile/Home.vue
  2. 1 1
      pages/mobile/search/newkeycode.vue

+ 2 - 2
components/mobile/Home.vue

@@ -16,7 +16,7 @@
         <div class="search-content" @touchmove="preventTouchMove($event)">
           <div class="main-search-header-controll clearfix">
             <div style="display: flex;align-items: center;justify-content: space-between;width:100%;">
-              <div :class="ChooseTop === 'component' ? 'active' : ''" @click="setChangelistHander('component')"><a>型号</a></div>
+              <div :class="Choo.activeseTop === 'component' ? 'active' : ''" @click="setChangelistHander('component')"><a>型号</a></div>
               <div :class="ChooseTop === 'kind' ? 'active' : ''" @click="setChangelistHander('kind')"><a>物料名称</a></div>
               <div :class="ChooseTop === 'store' ? 'active' : ''" @click="setChangelistHander('store')"><a>卖家</a></div>
               <div :class="ChooseTop === 'brand' ? 'active' : ''" @click="setChangelistHander('brand')"><a>品牌</a></div>
@@ -370,7 +370,7 @@
             border-top-right-radius: 0.05rem;
           }
           &.active a {
-            color: #3e82f5;
+            color: #2d8cf0;
           }
         }
       }

+ 1 - 1
pages/mobile/search/newkeycode.vue

@@ -714,7 +714,7 @@
               border-top-right-radius: 0.05rem;
             }
             &.active a {
-              color: #3e82f5;
+              color: #2d8cf0;
             }
             a {
               font-size: .26rem;