Explorar el Código

未收藏 状态下 颜色调整

yangc hace 8 años
padre
commit
9d72cb2150

+ 1 - 1
app.html

@@ -25,7 +25,7 @@
         let meta1 = document.createElement('meta')
         let meta2 = document.createElement('meta')
         meta1.name = 'viewport'
-        meta1.content = 'initial-scale=1.0, user-scalable=no, width=device-width'
+        meta1.content = 'width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'
         meta2['http-equiv'] = 'Cache-Control'
         meta2.content = 'no-siteapp'
         document.getElementsByTagName('head')[0].appendChild(meta1)

+ 8 - 5
components/mobile/Home.vue

@@ -227,25 +227,28 @@
           }
         }
         .home-input{
+          width: 6rem;
+          height: .61rem;
+          line-height: .61rem;
           input{
-            width:6rem;
+            width:5.17rem;
+            display: inline-block;
             padding: 0 1.2rem 0 .16rem;
-            margin-right:-1rem;
+            margin-right:-.83rem;
             font-size:.24rem;
-            line-height: .64rem;
             border:.02rem solid #3c7cf5;
             border-radius:.05rem;
           }
           span{
              display:inline-block;
              text-align: center;
-             width:1rem;
-             line-height: .62rem;
+             width:.83rem;
              font-size:.23rem;
              border-left:none;
              border-radius:   0 .05rem .05rem 0;
              background: #3c7cf5;
              color:#fff;
+            vertical-align: middle;
             i{
               font-size: .33rem;
             }

+ 4 - 4
components/mobile/MobileHeader.vue

@@ -19,10 +19,10 @@
       <div class="mobile-share-box" v-if="showShare">
         <div class="share-area">
           <ul>
-            <li class="share-item" @click="shareWeChat">
-             <i class="icon-weixin iconfont" style="color: #07af12;"></i>
-              <span>微信</span>
-            </li>
+            <!--<li class="share-item" @click="shareWeChat">-->
+             <!--<i class="icon-weixin iconfont" style="color: #07af12;"></i>-->
+              <!--<span>微信</span>-->
+            <!--</li>-->
             <li class="share-item" @click="shareQQ">
               <i class="icon-qq1 iconfont" style="color: #5872f4;"></i>
               <span>QQ</span>

+ 10 - 5
components/mobile/brand/BrandDetail.vue

@@ -223,6 +223,7 @@
       line-height: 2.13rem;
       img {
         max-height: 2.13rem;
+        max-width: 3.7rem;
       }
     }
     .brand-switch-item {
@@ -397,24 +398,28 @@
         .kind-search {
           display: inline-block;
           margin-right: .19rem;
+          width: 4.36rem;
+          height: .6rem;
+          line-height: .6rem;
+          vertical-align: middle;
           input[type = "text"] {
+            display: inline-block;
             width: 3.61rem;
             height: .6rem;
+            border: 1px solid rgb(195,195,195);
             padding-left: .21rem;
             font-size: .24rem;
-            margin-top: .01rem;
+            float: left;
           }
           i {
             background: rgb(65,142,247);
-            float: right;
-            position: relative;
-            left: -.01rem;
-            width: .61rem;
+            width: .73rem;
             height: .6rem;
             line-height: .6rem;
             font-size: .32rem;
             color: #fff;
             display: inline-block;
+            margin-left: -.02rem;
           }
         }
         ul {