Browse Source

样式微调

yangc 8 years ago
parent
commit
ad020866fa
2 changed files with 16 additions and 5 deletions
  1. 2 1
      assets/scss/mobileCommon.scss
  2. 14 4
      pages/mobile/search/_keycode.vue

+ 2 - 1
assets/scss/mobileCommon.scss

@@ -8,6 +8,7 @@ html * {
   outline:none;
   -webkit-text-size-adjust: none;
   -webkit-tap-highlight-color:rgba(0,0,0,0);
+  -webkit-overflow-scrolling: touch;
 }
 
 /* 内外边距通常让各个浏览器样式的表现位置不同 */
@@ -181,5 +182,5 @@ ins, a {
   color: #01a44e;
 }
 ::-webkit-scrollbar {
-  display: none !important;
+  opacity: 0;
 }

+ 14 - 4
pages/mobile/search/_keycode.vue

@@ -237,18 +237,24 @@
       .brand-list-top{
         span:first-child{
           font-size:.32rem;
-          margin-right:4.98rem;
-          margin-left: .2rem;
+          float: left;
+          margin: 0 0 .1rem .2rem;
         }
         span.row-switch{
           font-size:.28rem;
           color:#53a0f7;
+          float: right;
+          margin: 0 .2rem 0 0;
+          i {
+            font-size: .16rem;
+          }
         }
       }
       .brand-list-item{
         overflow: hidden;
         margin: .1rem .2rem 0;
         text-align: center;
+        clear: both;
         >div {
           display: inline-block;
           margin-right: .14rem;
@@ -358,9 +364,13 @@
           display:block;
           position:absolute;
           top:.1rem;
-          right:.34rem;
-          font-size:.4rem;
+          right:.22rem;
+          font-size:.5rem;
           color:#ff7800;
+          width: .6rem;
+          height: .6rem;
+          line-height: .6rem;
+          text-align: center;
         }
       }
       div.active{