Ver código fonte

menulist style

zhulizhen1111 4 anos atrás
pai
commit
9603999657
1 arquivos alterados com 3 adições e 4 exclusões
  1. 3 4
      src/components/menuList.vue

+ 3 - 4
src/components/menuList.vue

@@ -242,17 +242,16 @@ export default {
             text-align: center;
             //background: url('../assets/images/topbar1.png') no-repeat;
             float: left;
-            width: 80px;
+            width: 88px;
             height: 48px;
-            margin: 0 12px;
+            margin: 0 8px;
             cursor: pointer;
             transition: all 0.2s;
         }
         .is-active {
             color: #025baa;
             font-weight: bolder;
-            border-bottom: 2px solid #025baa;
-            padding: 0 8px;
+            border-bottom: 2px solid #025baa;  
             background: linear-gradient(180deg, rgba(2, 91, 170, 0) 0%, rgba(2, 91, 170, 0.2) 100%);
         }
     }