@@ -29,7 +29,7 @@ | |||||
- (NSDictionary*)getSetting { | - (NSDictionary*)getSetting { | ||||
return @{ | return @{ | ||||
@"domain": @"http://inapi.izhyin.cn", | @"domain": @"http://inapi.izhyin.cn", | ||||
@"master_id": @"template_database", | |||||
@"master_id": @"123456", | |||||
@"secret_key": @"123456" | @"secret_key": @"123456" | ||||
//@"domain": @"http://192.168.0.113:5000" | //@"domain": @"http://192.168.0.113:5000" | ||||
}; | }; | ||||
@@ -113,15 +113,6 @@ class _GoodsDetailsImgWidgetContainerState extends State<GoodsDetailsImgWidgetCo | |||||
), | ), | ||||
); | ); | ||||
}, | }, | ||||
progressIndicatorBuilder: (context, url, progress) { | |||||
return AspectRatio( | |||||
aspectRatio: 1 / 1, | |||||
child: shimmerWidget( | |||||
height: double.infinity, | |||||
width: double.infinity, | |||||
), | |||||
); | |||||
}, | |||||
errorWidget: (BuildContext context, String url, dynamic error) { | errorWidget: (BuildContext context, String url, dynamic error) { | ||||
return Container(); | return Container(); | ||||
}, | }, | ||||
@@ -133,15 +133,6 @@ class _GoodsDetailsSlideBannerContainerState | |||||
), | ), | ||||
); | ); | ||||
}, | }, | ||||
progressIndicatorBuilder: (context, url, progress) { | |||||
return AspectRatio( | |||||
aspectRatio: 1 / 1, | |||||
child: shimmerWidget( | |||||
height: double.infinity, | |||||
width: double.infinity, | |||||
), | |||||
); | |||||
}, | |||||
imageUrl: items ?? '', fit: BoxFit.fitWidth)), | imageUrl: items ?? '', fit: BoxFit.fitWidth)), | ||||
); | ); | ||||
}, | }, | ||||