Showing
4 changed files
with
6 additions
and
4 deletions
| @@ -63,7 +63,8 @@ class _MyContactListPageState extends State<MyContactListPage> { | @@ -63,7 +63,8 @@ class _MyContactListPageState extends State<MyContactListPage> { | ||
| 63 | // ItemPosition itemPosition = positon.itemPositions.value.first; | 63 | // ItemPosition itemPosition = positon.itemPositions.value.first; |
| 64 | print('${positon.itemPositions.value.last.index}'); | 64 | print('${positon.itemPositions.value.last.index}'); |
| 65 | // positon.itemPositions.value | 65 | // positon.itemPositions.value |
| 66 | - if (positon.itemPositions.value.last.index == 1) { | 66 | + if (positon.itemPositions.value.last.index == 1 && |
| 67 | + widget.contacts.length >= 10) { | ||
| 67 | bus.emit( | 68 | bus.emit( |
| 68 | 'onrefresh_guest_list_my', | 69 | 'onrefresh_guest_list_my', |
| 69 | ); | 70 | ); |
| @@ -115,7 +115,7 @@ class _MyMarketingRecordsPageState extends State<MyMarketingRecordsPage> { | @@ -115,7 +115,7 @@ class _MyMarketingRecordsPageState extends State<MyMarketingRecordsPage> { | ||
| 115 | radius: ScreenUtil().setWidth(10), | 115 | radius: ScreenUtil().setWidth(10), |
| 116 | width: ScreenUtil().setWidth(132), | 116 | width: ScreenUtil().setWidth(132), |
| 117 | height: ScreenUtil().setWidth(50), | 117 | height: ScreenUtil().setWidth(50), |
| 118 | - fontSize: 26, | 118 | + fontSize: 24, |
| 119 | padding: EdgeInsets.symmetric( | 119 | padding: EdgeInsets.symmetric( |
| 120 | horizontal: ScreenUtil().setWidth(10)), | 120 | horizontal: ScreenUtil().setWidth(10)), |
| 121 | isBold: false, | 121 | isBold: false, |
| @@ -65,7 +65,8 @@ class _ContactListPageState extends State<ContactListPage> { | @@ -65,7 +65,8 @@ class _ContactListPageState extends State<ContactListPage> { | ||
| 65 | // ItemPosition itemPosition = positon.itemPositions.value.first; | 65 | // ItemPosition itemPosition = positon.itemPositions.value.first; |
| 66 | print('${positon.itemPositions.value.last.index}'); | 66 | print('${positon.itemPositions.value.last.index}'); |
| 67 | // positon.itemPositions.value | 67 | // positon.itemPositions.value |
| 68 | - if (positon.itemPositions.value.last.index == 1) { | 68 | + if (positon.itemPositions.value.last.index == 1 && |
| 69 | + widget.contacts.length >= 10) { | ||
| 69 | bus.emit( | 70 | bus.emit( |
| 70 | 'onrefresh_guest_list', | 71 | 'onrefresh_guest_list', |
| 71 | ); | 72 | ); |
| @@ -117,7 +117,7 @@ class _MarketingRecordsPageState extends State<MarketingRecordsPage> { | @@ -117,7 +117,7 @@ class _MarketingRecordsPageState extends State<MarketingRecordsPage> { | ||
| 117 | radius: ScreenUtil().setWidth(10), | 117 | radius: ScreenUtil().setWidth(10), |
| 118 | width: ScreenUtil().setWidth(128), | 118 | width: ScreenUtil().setWidth(128), |
| 119 | height: ScreenUtil().setWidth(50), | 119 | height: ScreenUtil().setWidth(50), |
| 120 | - fontSize: 26, | 120 | + fontSize: 24, |
| 121 | padding: EdgeInsets.symmetric( | 121 | padding: EdgeInsets.symmetric( |
| 122 | horizontal: ScreenUtil().setWidth(10)), | 122 | horizontal: ScreenUtil().setWidth(10)), |
| 123 | isBold: false, | 123 | isBold: false, |
-
Please register or login to post a comment