Browse Source

Merge remote-tracking branch 'origin/new_revision_app' into new_revision_app

zyh
fmk 3 years ago
parent
commit
f88b44758b
  1. 2
      lib/retrofit/min_api.dart
  2. 2
      lib/retrofit/retrofit_api.dart
  3. 3
      lib/store/shop__details_page.dart
  4. 2
      lib/view_widget/custom_image.dart
  5. 2
      pubspec.yaml

2
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 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/";///线 const serviceBaseUrl = "https://pos.api.lotus-wallet.com/app/";///线

2
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 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/";///线 const serviceBaseUrl = "https://pos.platform.lotus-wallet.com/app/";///线
@RestApi(baseUrl: localBaseUrl) @RestApi(baseUrl: localBaseUrl)

3
lib/store/shop__details_page.dart

@ -849,7 +849,8 @@ class _ShopDetailsPage extends State<ShopDetailsPage> {
miNiDetail?.imgs != null ? miNiDetail.imgs[position]:"", miNiDetail?.imgs != null ? miNiDetail.imgs[position]:"",
fit: BoxFit.cover, fit: BoxFit.cover,
radius: BorderRadius.zero, radius: BorderRadius.zero,
noCompress: true, height: 375,
width: 375,
errorSrc: "assets/image/default_2_1.webp", errorSrc: "assets/image/default_2_1.webp",
fadeSrc: "assets/image/default_2_1.webp", fadeSrc: "assets/image/default_2_1.webp",
); );

2
lib/view_widget/custom_image.dart

@ -75,7 +75,7 @@ class MImage extends StatelessWidget {
cachedNetworkImage = Image( cachedNetworkImage = Image(
image: ResizeImage(NetworkToFileImage( image: ResizeImage(NetworkToFileImage(
url: imageUrl, url: imageUrl,
file: fileFromDocsDir("resize"+(noCompress?"noCompress":"")+src.replaceAll("https:", "") file: fileFromDocsDir("resize"+(noCompress?"noCompress":"$_w$_h")+src.replaceAll("https:", "")
.replaceAll("http:", "") .replaceAll("http:", "")
.replaceAll("pos.upload.gznl.top", "") .replaceAll("pos.upload.gznl.top", "")
.replaceAll("/", "")), .replaceAll("/", "")),

2
pubspec.yaml

@ -3,7 +3,7 @@ description: 一心回乡.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev 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: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save