diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 2f996806..1c282ba8 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -930,7 +930,7 @@ CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 59; + CURRENT_PROJECT_VERSION = 61; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -980,7 +980,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 1.0.59; + MARKETING_VERSION = 1.0.61; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", @@ -1051,7 +1051,6 @@ }; 97C147031CF9000F007C117D /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; @@ -1100,6 +1099,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = YES; + "MTL_ENABLE_DEBUG_INFO[arch=*]" = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; @@ -1160,7 +1160,7 @@ }; 97C147061CF9000F007C117D /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = ""; @@ -1168,7 +1168,7 @@ CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 59; + CURRENT_PROJECT_VERSION = 61; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -1218,7 +1218,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 1.0.59; + MARKETING_VERSION = 1.0.61; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", @@ -1297,7 +1297,7 @@ CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 59; + CURRENT_PROJECT_VERSION = 61; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -1347,7 +1347,7 @@ "$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/Runner/baidu", ); - MARKETING_VERSION = 1.0.59; + MARKETING_VERSION = 1.0.61; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ( "$(inherited)", diff --git a/lib/community/community_view/community_dynamic.dart b/lib/community/community_view/community_dynamic.dart index b65c6da1..d72cfb61 100644 --- a/lib/community/community_view/community_dynamic.dart +++ b/lib/community/community_view/community_dynamic.dart @@ -342,11 +342,11 @@ class _CommunityDynamic extends State { itemWidget = Container( child: InkWell( onTap: () { - ImagePickers.previewImages(subjectInfo.images,0); - // Navigator.push(context, MaterialPageRoute( builder: (context) => PhotoViewGalleryScreen( - // images:subjectInfo.images,//传入图片list - // index: 0,//传入当前点击的图片的index - // ), ), ); + // ImagePickers.previewImages(subjectInfo.images,0); + Navigator.push(context, MaterialPageRoute( builder: (context) => PhotoViewGalleryScreen( + images:subjectInfo.images,//传入图片list + index: 0,//传入当前点击的图片的index + ), ), ); }, child: MImage( subjectInfo.images[0], @@ -500,7 +500,7 @@ class _CommunityDynamic extends State { return AlertDialog( content: Container( width: MediaQuery.of(context).size.width - 84, - height: 110.h, + height: 130.h, child: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, diff --git a/lib/mine/mine_view/mine_view.dart b/lib/mine/mine_view/mine_view.dart index 6b3f995e..44baa223 100644 --- a/lib/mine/mine_view/mine_view.dart +++ b/lib/mine/mine_view/mine_view.dart @@ -197,6 +197,7 @@ class _MineView extends State { ), ), ), + if(widget.userInfo.level != 1) Image.asset( "assets/image/icon_user.png", width: 18.w, diff --git a/pubspec.lock b/pubspec.lock index 81da05a4..301148f0 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -743,10 +743,12 @@ packages: tpns_flutter_plugin: dependency: "direct main" description: - name: tpns_flutter_plugin - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.8" + path: "." + ref: "V1.1.2" + resolved-ref: b814d62f4b82422459f786671f23dd535062d503 + url: "git://github.com/TencentCloud/TPNS-Flutter-Plugin" + source: git + version: "1.1.2" transformer_page_view: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index af2fb40b..98b64fa5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -19,10 +19,10 @@ dependencies: keframe: ^2.0.2 #滑动组件卡顿优化 - tpns_flutter_plugin: 1.0.8 -# git: -# url: git://github.com/TencentCloud/TPNS-Flutter-Plugin -# ref: V1.1.2 + tpns_flutter_plugin: + git: + url: git://github.com/TencentCloud/TPNS-Flutter-Plugin + ref: V1.1.2 like_button: ^2.0.2 cupertino_icons: ^1.0.2