소스 검색

修改tabs宽度

wangzhuo 1 년 전
부모
커밋
9bd2bcf837
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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',