shenjj 7 years ago
parent
commit
dce6ec6c6c

+ 0 - 1
components/mobile/brand/ComponentDetail.vue

@@ -414,7 +414,6 @@
       background: #fff;
       border-bottom: 1px solid #d8d8d8;
       .mobile-switch-btn {
-        background: #fff;
         color: #333;
         display: inline-block;
         height: .64rem;

+ 10 - 3
pages/mobile/product/_batchCode.vue

@@ -90,9 +90,9 @@
             <i class="iconfont icon-kefu1"></i>
             <p>联系卖家</p>
           </li>
-          <li class="text-ellipse inline-block price-level" :class="{'active': component.attach}" @click="goAttach(component.attach)">
-            <i class="iconfont icon-pdf"></i>
-            <p>数据手册</p>
+          <li class="text-ellipse inline-block price-level" @click="goAttach(component.attach)">
+            <i class="iconfont icon-pdf" :class="{'active': component.attach !== '' && component.attach !== '1'}" ></i>
+            <p class="lastOne" :class="{'active': component.attach !== '' && component.attach !== '1'}">数据手册</p>
           </li>
         </ul>
       </div>
@@ -193,6 +193,7 @@
       goAttach: function (url) {
         if (this.user.logged) {
           if (url && url !== '1') {
+             // console.log(url)
             window.open(url)
 //            window.location.href = url
           } else {
@@ -471,6 +472,12 @@
               display: inline-block;
               text-align: center;
               vertical-align: top;
+              &.lastOne {
+                color: #929292;
+              }
+              &.active {
+                color: #3f84f6;
+              }
             }
           }
         }

BIN
static/images/mobile/@2x/applyPurchase/home/app-banner_03.png