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;