Ver Fonte

修改tabs宽度

wangzhuo há 1 ano atrás
pai
commit
9bd2bcf837
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      pages/listview.vue

+ 2 - 2
pages/listview.vue

@@ -17,7 +17,7 @@
 		<!-- tab -->
 		<view style="background-color: #3c9cff;">
 			<u-tabs :list="tabs" lineColor="#fff" lineWidth="60" @change="change" :activeStyle="{
-					width: '180rpx',
+					width: '140rpx',
 					height: '60rpx',
 					color: '#fff',
 					backgroundColor: '#3c9cff',
@@ -25,7 +25,7 @@
 					lineHeight: '60rpx',
 					textAlign: 'center'
 					}" :inactiveStyle="{
-					width: '180rpx',
+					width: '140rpx',
 					height: '60rpx',
 					color: '#fff',
 					backgroundColor: '#3c9cff',