diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 1c78bb1..ec4406b 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -6,10 +6,13 @@ padding: 30rpx; display: flex; border-bottom: 5px solid #FBFBFB; + flex-wrap: nowrap; + overflow-x: scroll; } .tab-box{ - flex: 1; + flex-shrink: 0; text-align: center; + width: 25%; } .tab-box image{ width: 65rpx;