From b4c077645e8dd64c5601391b554add6c4bf2a9c9 Mon Sep 17 00:00:00 2001 From: PH2 <1293456824@qq.com> Date: Thu, 13 May 2021 15:39:34 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=A4=9A=E7=9C=BC=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E9=A2=98=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom/multi_nav/custom_quick_entry.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/widgets/custom/multi_nav/custom_quick_entry.dart b/lib/widgets/custom/multi_nav/custom_quick_entry.dart index 3cf9a6f..8c94c73 100644 --- a/lib/widgets/custom/multi_nav/custom_quick_entry.dart +++ b/lib/widgets/custom/multi_nav/custom_quick_entry.dart @@ -116,7 +116,7 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer> iconHeight = 43.5; } // 标题的高度 - double titleHeight = 21.0; + double titleHeight = 22; // 子元素的高度 double itemHeight = iconHeight; @@ -144,10 +144,10 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer> } // 分类导航高度 - double categoryHeight = 24; + // double categoryHeight = 24; // 分类导航到多眼导航的边距 - double categoryBottomMargin = 15.0; - bool hasCategory = false; + // double categoryBottomMargin = 15.0; + // bool hasCategory = false; // if(!EmptyUtil.isEmpty(model?.typeList) && model.typeList.length >= 2){ // totalHeight = totalHeight + categoryHeight + categoryBottomMargin; // hasCategory = true; @@ -173,7 +173,7 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer> bottomRight: Radius.circular(ParseUtil.stringParseDouble(model?.bottomRightRadius)), )), child: Container( - margin: EdgeInsets.only(top: !hasCategory ? 15 : 0, bottom: totalPage > 1 ? 8 : 0), + margin: EdgeInsets.only(top: 15, bottom: totalPage > 1 ? 8 : 0), height: totalHeight, // 总体高度 width: double.infinity, @@ -193,7 +193,7 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer> Expanded( child: Container( width: double.infinity, - height: hasCategory ? totalHeight - categoryHeight - categoryBottomMargin : totalHeight, + height: totalHeight, child: Swiper( controller: _controller, itemCount: totalPage, @@ -566,7 +566,7 @@ class _CustomQuickCateEntryState extends State with Ticker iconHeight = 43.5; } // 标题的高度 - double titleHeight = 21.0; + double titleHeight = 22; // 子元素的高度 double itemHeight = iconHeight;