Ver Fonte

修改bug

aaa há 4 anos atrás
pai
commit
b96796c45a

+ 1 - 2
src/views/home/learn/page-learn-child.vue

@@ -3,8 +3,7 @@
     <van-tabs
       :active="active"
       type="line"
-      line-width="30px"
-      line-height="1px"
+      line-height="0px"
       @click="childChange"
     >
       <!-- 子目录 -->

+ 1 - 1
src/views/home/learn/page-learn.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <van-tabs :active="active" @click="rootChange">
+    <van-tabs :active="active" @click="rootChange" line-width="10px">
       <!-- 根目录 -->
       <van-tab
         v-for="(item, index) in learnRootList"