|
|
|
@ -92,6 +92,7 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
|
|
|
|
|
|
|
|
|
|
/// 查询店铺信息 |
|
|
|
|
queryStoreInfo() async { |
|
|
|
|
EasyLoading.show(status: S.current.zhengzaijiazai); |
|
|
|
|
SharedPreferences value = await SharedPreferences.getInstance(); |
|
|
|
|
if (apiService == null) |
|
|
|
|
apiService = ApiService( |
|
|
|
@ -113,7 +114,7 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
|
|
|
|
|
} |
|
|
|
|
minLogin(); |
|
|
|
|
} |
|
|
|
|
EasyLoading.dismiss(); |
|
|
|
|
// EasyLoading.dismiss(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// 小程序登录 |
|
|
|
@ -145,7 +146,7 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
|
|
|
|
|
this.shopCarGoods = value; |
|
|
|
|
setState(() {}); |
|
|
|
|
}); |
|
|
|
|
EasyLoading.dismiss(); |
|
|
|
|
// EasyLoading.dismiss(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
@ -163,6 +164,7 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
|
|
|
|
|
selectSkus.add(element.attrValueList[0].attrValue); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
EasyLoading.dismiss(); |
|
|
|
|
refreshController.refreshCompleted(); |
|
|
|
|
} else { |
|
|
|
|
refreshController.refreshFailed(); |
|
|
|
@ -601,8 +603,7 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
|
|
|
|
|
@override |
|
|
|
|
Widget build(BuildContext context) { |
|
|
|
|
return Scaffold( |
|
|
|
|
body: Container( |
|
|
|
|
child: Column( |
|
|
|
|
body: Column( |
|
|
|
|
children: [ |
|
|
|
|
Expanded( |
|
|
|
|
child: SmartRefresher( |
|
|
|
@ -635,7 +636,6 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
|
|
|
|
|
), |
|
|
|
|
Container( |
|
|
|
|
width: double.infinity, |
|
|
|
|
// padding: EdgeInsets.symmetric(horizontal: 14.w,vertical: 16.h), |
|
|
|
|
color: Colors.white, |
|
|
|
|
child: Column( |
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start, |
|
|
|
@ -785,7 +785,6 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
|
|
|
|
|
) |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -828,7 +827,7 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
|
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
SizedBox( |
|
|
|
|
width: 2, |
|
|
|
|
width: 2.w, |
|
|
|
|
), |
|
|
|
|
Expanded( |
|
|
|
|
child: Text( |
|
|
|
|