Ver Fonte

工作台

xiaohaizhao há 1 ano atrás
pai
commit
2be0ac6a62
1 ficheiros alterados com 2 adições e 6 exclusões
  1. 2 6
      pages/index/modules/workbench.vue

+ 2 - 6
pages/index/modules/workbench.vue

@@ -5,7 +5,7 @@
             <swiper-item class="swiper-item" v-for="(it, i) in apps" key="i">
                 <navigator url="#" class="app" v-for="item in it" key="label">
                     <view class="icon" :style="{ backgroundColor: item.color }">
-                        <text class="iconfont" :class="item.icon" />
+                        <text class="iconfont" :class="item.icon" style="font-size: 6.400vw;" />
                     </view>
                     <view class="label u-line-1">
                         {{ item.label }}
@@ -111,7 +111,7 @@ export default {
             display: flex;
             margin-top: 5px;
             box-sizing: border-box;
-            padding: 0 18px;
+            padding: 0 10px;
 
             .app {
                 width: 68px;
@@ -131,10 +131,6 @@ export default {
                     height: 44px;
                     border-radius: 4px;
                     color: #fff;
-
-                    text {
-                        font-size: 24px;
-                    }
                 }
 
                 .label {