瀏覽代碼

修改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',