shenxin 5 лет назад
Родитель
Сommit
0b3332a7f6
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/pages/index.vue

+ 3 - 3
src/pages/index.vue

@@ -48,14 +48,14 @@
                     active-color="#111111"
                     active-color="#111111"
                     inactive-color="#111111"
                     inactive-color="#111111"
                     :gutter="0"
                     :gutter="0"
+                    :item-width="104"
+                    :bar-width="104"
                     :bar-style="{
                     :bar-style="{
                 bottom: '-10rpx',
                 bottom: '-10rpx',
-                marginLeft: '-34rpx',
                 width: '104rpx',
                 width: '104rpx',
                 height: '10rpx',
                 height: '10rpx',
-                borderRadius: 0,
                 backgroundColor: '#FD6D4E',
                 backgroundColor: '#FD6D4E',
-                boxShadow: '0px 1px 1px 0px rgba(255, 102, 50, 0.3)'
+                boxShadow: '0rpx 1rpx 1rpx 0rpx rgba(255, 102, 50, 0.3)'
               }"
               }"
                     @change="tabsChange">
                     @change="tabsChange">
             </u-tabs>
             </u-tabs>