|
|
@ -74,7 +74,6 @@ class _ShopDetailsPage extends State<ShopDetailsPage> { |
|
|
|
storeId = widget.arguments["storeId"]; |
|
|
|
storeId = widget.arguments["storeId"]; |
|
|
|
isSetMeal = widget.arguments["isSetMeal"] ?? false; |
|
|
|
isSetMeal = widget.arguments["isSetMeal"] ?? false; |
|
|
|
scrollController.addListener(() { |
|
|
|
scrollController.addListener(() { |
|
|
|
print(scrollController.offset); |
|
|
|
|
|
|
|
if(scIndex == 0 && scrollController.offset > 400){ |
|
|
|
if(scIndex == 0 && scrollController.offset > 400){ |
|
|
|
setState(() { |
|
|
|
setState(() { |
|
|
|
scIndex = 1; |
|
|
|
scIndex = 1; |
|
|
@ -109,6 +108,7 @@ class _ShopDetailsPage extends State<ShopDetailsPage> { |
|
|
|
void dispose() { |
|
|
|
void dispose() { |
|
|
|
super.dispose(); |
|
|
|
super.dispose(); |
|
|
|
refreshController.dispose(); |
|
|
|
refreshController.dispose(); |
|
|
|
|
|
|
|
scrollController.dispose(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// 查询店铺信息 |
|
|
|
/// 查询店铺信息 |
|
|
|