From 00e729f8ca206fa57e79a2102560edfa54d232f9 Mon Sep 17 00:00:00 2001 From: fff Date: Tue, 7 Jan 2025 16:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BA=AB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...icon_copy _link.webp => icon_copy_link.webp} | Bin ...icon_copy _link.webp => icon_copy_link.webp} | Bin ...icon_copy _link.webp => icon_copy_link.webp} | Bin lib/community/community_view/class_details.dart | 7 +++---- lib/retrofit/retrofit_api.g.dart | 10 +++++----- lib/view_widget/share_dialog.dart | 2 +- pubspec.lock | 8 ++++++++ pubspec.yaml | 16 ++++++++-------- 8 files changed, 25 insertions(+), 18 deletions(-) rename assets/image/2x/{icon_copy _link.webp => icon_copy_link.webp} (100%) rename assets/image/3x/{icon_copy _link.webp => icon_copy_link.webp} (100%) rename assets/image/{icon_copy _link.webp => icon_copy_link.webp} (100%) diff --git a/assets/image/2x/icon_copy _link.webp b/assets/image/2x/icon_copy_link.webp similarity index 100% rename from assets/image/2x/icon_copy _link.webp rename to assets/image/2x/icon_copy_link.webp diff --git a/assets/image/3x/icon_copy _link.webp b/assets/image/3x/icon_copy_link.webp similarity index 100% rename from assets/image/3x/icon_copy _link.webp rename to assets/image/3x/icon_copy_link.webp diff --git a/assets/image/icon_copy _link.webp b/assets/image/icon_copy_link.webp similarity index 100% rename from assets/image/icon_copy _link.webp rename to assets/image/icon_copy_link.webp diff --git a/lib/community/community_view/class_details.dart b/lib/community/community_view/class_details.dart index 12c462dc..3837dcc0 100644 --- a/lib/community/community_view/class_details.dart +++ b/lib/community/community_view/class_details.dart @@ -646,10 +646,9 @@ class _ClassDetails extends State with WidgetsBindingObserver { ///删除评论的提示 _delCommentTips(memberComment) { - SmartDialog.show( - builder: (ctx) => Tips(() { - delComment(memberComment); - })); + SmartDialog.show(builder: (ctx) => Tips(() { + delComment(memberComment); + })); } share() async { diff --git a/lib/retrofit/retrofit_api.g.dart b/lib/retrofit/retrofit_api.g.dart index 75bd610a..78a74195 100644 --- a/lib/retrofit/retrofit_api.g.dart +++ b/lib/retrofit/retrofit_api.g.dart @@ -2974,13 +2974,13 @@ class _ApiService implements ApiService { } @override - Future> rankBuy(Map param) async { + Future> rankBuy(Map param) async { final _extra = {}; final queryParameters = {}; final _headers = {}; final _data = {}; _data.addAll(param); - final _options = _setStreamType>(Options( + final _options = _setStreamType>(Options( method: 'POST', headers: _headers, extra: _extra, @@ -2997,11 +2997,11 @@ class _ApiService implements ApiService { baseUrl, ))); final _result = await _dio.fetch>(_options); - late BaseData _value; + late BaseData _value; try { - _value = BaseData.fromJson( + _value = BaseData.fromJson( _result.data!, - (json) => json as dynamic, + (json) => WxPay.fromJson(json as Map), ); } on Object catch (e, s) { errorLogger?.logError(e, s, _options); diff --git a/lib/view_widget/share_dialog.dart b/lib/view_widget/share_dialog.dart index 9de6fabf..fefe8422 100644 --- a/lib/view_widget/share_dialog.dart +++ b/lib/view_widget/share_dialog.dart @@ -24,7 +24,7 @@ class _ShareDialog extends State { "assets/image/icon_weixin.webp", "assets/image/icon_pengyouquan.webp", "assets/image/icon_share_chat.webp", - "assets/image/icon_copy _link.webp" + "assets/image/icon_copy_link.webp" // "assets/image/icon_facebook.webp" ]; List platforms = [ diff --git a/pubspec.lock b/pubspec.lock index 85a2972e..db2f1f7e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1269,6 +1269,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.4.1" + sharesdk_plugin: + dependency: "direct main" + description: + name: sharesdk_plugin + sha256: "93044ad1e18efafb64f52487fa138563bd9c7b2a16a23aabdba8db52a576c7a0" + url: "https://pub.dev" + source: hosted + version: "1.3.14" shelf: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 1bc0a60a..e39f12e8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -39,7 +39,7 @@ dependencies: tobias: ^3.3.1 #pdf展示 - flutter_pdfview: ^1.3.2 + flutter_pdfview: ^1.4.0 gradient_widgets: ^0.6.0 keframe: ^3.0.0 # keframe: ^2.0.2 #滑动组件卡顿优化 @@ -54,7 +54,7 @@ dependencies: # charts_flutter: any flutter_charts: ^0.5.2 like_button: ^2.0.2 - cupertino_icons: ^1.0.2 + cupertino_icons: ^1.0.8 flutter_swiper_view: ^1.1.8 flutter_staggered_grid_view: ^0.7.0 # Null safety pull_to_refresh: ^2.0.0 # Null safety @@ -67,7 +67,7 @@ dependencies: # location: ^3.2.4 dio: ^5.7.0 - retrofit: ^4.4.1 + retrofit: ^4.4.2 json_annotation: ^4.9.0 logger: ^2.5.0 # dio_log: ^1.3.5 @@ -82,10 +82,10 @@ dependencies: visibility_detector: ^0.4.0+2 steel_crypt: ^3.0.0+1 - encrypt: any + encrypt: ^5.0.3 event_bus_plus: ^0.6.2 - shared_preferences: ^2.0.20 + shared_preferences: ^2.2.3 flutter_smart_dialog: ^4.9.8+5 device_info_plus: ^9.1.2 extended_nested_scroll_view: ^6.2.1 @@ -118,9 +118,9 @@ dependencies: # media_info: ^0.9.0 # flutter_ffmpeg: ^0.4.2 - package_info_plus: any + package_info_plus: ^8.0.2 - sharesdk_plugin: ^1.3.10 + sharesdk_plugin: ^1.3.14 flutter_spinkit: ^5.2.0 # flutter_easyloading: ^3.0.5 @@ -152,7 +152,7 @@ dependencies: widgetpicker: ^0.1.1 # floor: ^1.4.2 - sqflite: ^2.2.2 + sqflite: ^2.3.3+1 webview_flutter: ^4.7.0 syncfusion_flutter_datepicker: ^24.2.9 protobuf: ^3.1.0