From 6d7a054d66286b5e3098cb57260e79e3caa33aba Mon Sep 17 00:00:00 2001 From: dong_bo0602 <358256383@qq.com> Date: Wed, 15 Jul 2020 11:26:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;