diff --git a/lib/retrofit/min_api.dart b/lib/retrofit/min_api.dart index 72a86318..c619dc66 100644 --- a/lib/retrofit/min_api.dart +++ b/lib/retrofit/min_api.dart @@ -39,7 +39,7 @@ part 'min_api.g.dart'; // const base_url = "http://192.168.10.37:8765/app/"; -const localBaseUrl = "http://192.168.10.236:8765/app/";///本地 +const localBaseUrl = "https://pos.api.lotus-wallet.com/app/";///本地 const serviceBaseUrl = "https://pos.api.lotus-wallet.com/app/";///线上 diff --git a/lib/retrofit/retrofit_api.dart b/lib/retrofit/retrofit_api.dart index f2fd3a6b..e97d9cdc 100644 --- a/lib/retrofit/retrofit_api.dart +++ b/lib/retrofit/retrofit_api.dart @@ -71,7 +71,7 @@ part 'retrofit_api.g.dart'; // const base_url = "http://192.168.10.132:8766/app/";///詹云久 -const localBaseUrl = "http://192.168.10.236:8766/app/";///本地 +const localBaseUrl = "https://pos.platform.lotus-wallet.com/app/";///本地 const serviceBaseUrl = "https://pos.platform.lotus-wallet.com/app/";///线上 @RestApi(baseUrl: localBaseUrl) diff --git a/lib/store/shop__details_page.dart b/lib/store/shop__details_page.dart index 758b62b8..6c86b6c4 100644 --- a/lib/store/shop__details_page.dart +++ b/lib/store/shop__details_page.dart @@ -849,7 +849,8 @@ class _ShopDetailsPage extends State { miNiDetail?.imgs != null ? miNiDetail.imgs[position]:"", fit: BoxFit.cover, radius: BorderRadius.zero, - noCompress: true, + height: 375, + width: 375, errorSrc: "assets/image/default_2_1.webp", fadeSrc: "assets/image/default_2_1.webp", ); diff --git a/lib/view_widget/custom_image.dart b/lib/view_widget/custom_image.dart index 5d9797dc..7d0909ad 100644 --- a/lib/view_widget/custom_image.dart +++ b/lib/view_widget/custom_image.dart @@ -75,7 +75,7 @@ class MImage extends StatelessWidget { cachedNetworkImage = Image( image: ResizeImage(NetworkToFileImage( url: imageUrl, - file: fileFromDocsDir("resize"+(noCompress?"noCompress":"")+src.replaceAll("https:", "") + file: fileFromDocsDir("resize"+(noCompress?"noCompress":"$_w$_h")+src.replaceAll("https:", "") .replaceAll("http:", "") .replaceAll("pos.upload.gznl.top", "") .replaceAll("/", "")), diff --git a/pubspec.yaml b/pubspec.yaml index b7b3e4f0..075d3bec 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: 一心回乡. publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 2.0.16+10 +version: 2.0.20+10 environment: sdk: ">=2.7.0 <3.0.0"