|
@@ -116,7 +116,7 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer> |
|
|
iconHeight = 43.5; |
|
|
iconHeight = 43.5; |
|
|
} |
|
|
} |
|
|
// 标题的高度 |
|
|
// 标题的高度 |
|
|
double titleHeight = 21.0; |
|
|
|
|
|
|
|
|
double titleHeight = 22; |
|
|
|
|
|
|
|
|
// 子元素的高度 |
|
|
// 子元素的高度 |
|
|
double itemHeight = iconHeight; |
|
|
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){ |
|
|
// if(!EmptyUtil.isEmpty(model?.typeList) && model.typeList.length >= 2){ |
|
|
// totalHeight = totalHeight + categoryHeight + categoryBottomMargin; |
|
|
// totalHeight = totalHeight + categoryHeight + categoryBottomMargin; |
|
|
// hasCategory = true; |
|
|
// hasCategory = true; |
|
@@ -173,7 +173,7 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer> |
|
|
bottomRight: Radius.circular(ParseUtil.stringParseDouble(model?.bottomRightRadius)), |
|
|
bottomRight: Radius.circular(ParseUtil.stringParseDouble(model?.bottomRightRadius)), |
|
|
)), |
|
|
)), |
|
|
child: Container( |
|
|
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, |
|
|
height: totalHeight, |
|
|
// 总体高度 |
|
|
// 总体高度 |
|
|
width: double.infinity, |
|
|
width: double.infinity, |
|
@@ -193,7 +193,7 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer> |
|
|
Expanded( |
|
|
Expanded( |
|
|
child: Container( |
|
|
child: Container( |
|
|
width: double.infinity, |
|
|
width: double.infinity, |
|
|
height: hasCategory ? totalHeight - categoryHeight - categoryBottomMargin : totalHeight, |
|
|
|
|
|
|
|
|
height: totalHeight, |
|
|
child: Swiper( |
|
|
child: Swiper( |
|
|
controller: _controller, |
|
|
controller: _controller, |
|
|
itemCount: totalPage, |
|
|
itemCount: totalPage, |
|
@@ -566,7 +566,7 @@ class _CustomQuickCateEntryState extends State<CustomQuickCateEntry> with Ticker |
|
|
iconHeight = 43.5; |
|
|
iconHeight = 43.5; |
|
|
} |
|
|
} |
|
|
// 标题的高度 |
|
|
// 标题的高度 |
|
|
double titleHeight = 21.0; |
|
|
|
|
|
|
|
|
double titleHeight = 22; |
|
|
|
|
|
|
|
|
// 子元素的高度 |
|
|
// 子元素的高度 |
|
|
double itemHeight = iconHeight; |
|
|
double itemHeight = iconHeight; |
|
|