Commit 41b89d59a08ca14e3f305566a18f73a5c84478c4

Authored by wdn127929
1 parent 95f16c3a

图片备注OK

@@ -372,7 +372,7 @@ SPEC CHECKSUMS: @@ -372,7 +372,7 @@ SPEC CHECKSUMS:
372 fluwx: e9e728cfdb80e82dac5f4ff974b1901a7939dcd0 372 fluwx: e9e728cfdb80e82dac5f4ff974b1901a7939dcd0
373 FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a 373 FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
374 foundation_fluttify: 0c45145e3fad1fb99188e4979daed5b24cd9b278 374 foundation_fluttify: 0c45145e3fad1fb99188e4979daed5b24cd9b278
375 - image_cropper: 60c2789d1f1a78c873235d4319ca0c34a69f2d98 375 + image_cropper: a3291c624a953049bc6a02e1f8c8ceb162a24b25
376 image_gallery_saver: cb43cc43141711190510e92c460eb1655cd343cb 376 image_gallery_saver: cb43cc43141711190510e92c460eb1655cd343cb
377 image_picker_ios: b786a5dcf033a8336a657191401bfdf12017dabb 377 image_picker_ios: b786a5dcf033a8336a657191401bfdf12017dabb
378 install_plugin: b52f81470a1f37b006607bdf7ffc6031df43fe76 378 install_plugin: b52f81470a1f37b006607bdf7ffc6031df43fe76
@@ -161,8 +161,17 @@ class _CouponPosterPageState extends State<CouponPosterPage> { @@ -161,8 +161,17 @@ class _CouponPosterPageState extends State<CouponPosterPage> {
161 Stack( 161 Stack(
162 clipBehavior: Clip.none, 162 clipBehavior: Clip.none,
163 children: [ 163 children: [
164 - CachedNetworkImage(  
165 - imageUrl: user.sellerimage, 164 + // user.sellerimage != null &&
  165 + // user.sellerimage != ''
  166 + // ? CachedNetworkImage(
  167 + // imageUrl: user.sellerimage,
  168 + // width: double.infinity,
  169 + // height: w(280),
  170 + // fit: BoxFit.cover,
  171 + // )
  172 + // :
  173 + Image.asset(
  174 + Utils.getImgPath('no_image'),
166 width: double.infinity, 175 width: double.infinity,
167 height: w(280), 176 height: w(280),
168 fit: BoxFit.cover, 177 fit: BoxFit.cover,
@@ -233,11 +233,11 @@ class DialogUtil { @@ -233,11 +233,11 @@ class DialogUtil {
233 233
234 static showAuthorityDestination( 234 static showAuthorityDestination(
235 BuildContext context, String name, String title, String subTitle) async { 235 BuildContext context, String name, String title, String subTitle) async {
236 - Timer _timer = Timer(const Duration(seconds: 2), () {  
237 - // if(!TickerMode.of(context)){  
238 - Navigator.of(context).pop(true);  
239 - // }  
240 - }); 236 + // Timer _timer = Timer(const Duration(seconds: 2), () {
  237 + // // if(!TickerMode.of(context)){
  238 + // Navigator.of(context).pop(true);
  239 + // // }
  240 + // });
241 final action = await showDialog( 241 final action = await showDialog(
242 context: context, 242 context: context,
243 barrierDismissible: true, 243 barrierDismissible: true,
@@ -288,7 +288,7 @@ class DialogUtil { @@ -288,7 +288,7 @@ class DialogUtil {
288 }); 288 });
289 289
290 print(action); 290 print(action);
291 - _timer.cancel(); 291 + // _timer.cancel();
292 292
293 return action; 293 return action;
294 } 294 }
@@ -1691,6 +1691,7 @@ class Utils { @@ -1691,6 +1691,7 @@ class Utils {
1691 aspectRatio: const CropAspectRatio(ratioX: 5, ratioY: 4), 1691 aspectRatio: const CropAspectRatio(ratioX: 5, ratioY: 4),
1692 uiSettings: [ 1692 uiSettings: [
1693 AndroidUiSettings( 1693 AndroidUiSettings(
  1694 + // backgroundColor: Colors.red,
1694 // toolbarTitle: 'Cropper', 1695 // toolbarTitle: 'Cropper',
1695 // toolbarColor: Colors.deepOrange, 1696 // toolbarColor: Colors.deepOrange,
1696 // toolbarWidgetColor: Colors.white, 1697 // toolbarWidgetColor: Colors.white,
@@ -790,21 +790,21 @@ packages: @@ -790,21 +790,21 @@ packages:
790 name: image_cropper 790 name: image_cropper
791 url: "https://pub.flutter-io.cn" 791 url: "https://pub.flutter-io.cn"
792 source: hosted 792 source: hosted
793 - version: "3.0.1" 793 + version: "4.0.1"
794 image_cropper_for_web: 794 image_cropper_for_web:
795 dependency: transitive 795 dependency: transitive
796 description: 796 description:
797 name: image_cropper_for_web 797 name: image_cropper_for_web
798 url: "https://pub.flutter-io.cn" 798 url: "https://pub.flutter-io.cn"
799 source: hosted 799 source: hosted
800 - version: "1.0.3" 800 + version: "2.0.0"
801 image_cropper_platform_interface: 801 image_cropper_platform_interface:
802 dependency: transitive 802 dependency: transitive
803 description: 803 description:
804 name: image_cropper_platform_interface 804 name: image_cropper_platform_interface
805 url: "https://pub.flutter-io.cn" 805 url: "https://pub.flutter-io.cn"
806 source: hosted 806 source: hosted
807 - version: "3.0.3" 807 + version: "4.0.0"
808 image_gallery_saver: 808 image_gallery_saver:
809 dependency: "direct main" 809 dependency: "direct main"
810 description: 810 description:
@@ -219,7 +219,7 @@ dependencies: @@ -219,7 +219,7 @@ dependencies:
219 image_gallery_saver: ^2.0.3 219 image_gallery_saver: ^2.0.3
220 flutter_image_compress: ^1.1.3 220 flutter_image_compress: ^1.1.3
221 image: ^4.0.15 221 image: ^4.0.15
222 - image_cropper: ^3.0.1 222 + image_cropper: ^4.0.1
223 pin_code_fields: ^7.4.0 223 pin_code_fields: ^7.4.0
224 # 二维码扫描 224 # 二维码扫描
225 barcode_scan2: ^4.2.4 225 barcode_scan2: ^4.2.4