Browse Source

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

# Conflicts:
#	lib/community/community_view/class_details_video.dart
zyh
w-R 3 years ago
parent
commit
b13c65bf02
  1. 12
      ios/Runner.xcodeproj/project.pbxproj
  2. 3
      lib/community/community_view/class_details_video.dart
  3. 5
      lib/setting/platform_code_page.dart
  4. 3
      lib/setting/platform_pay_code.dart
  5. 3
      lib/setting/platform_pay_code_success.dart
  6. 14
      lib/store/store_order.dart

12
ios/Runner.xcodeproj/project.pbxproj

@ -616,7 +616,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 25; CURRENT_PROJECT_VERSION = 27;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -666,7 +666,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 2.0.25; MARKETING_VERSION = 2.0.27;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
@ -816,7 +816,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 25; CURRENT_PROJECT_VERSION = 27;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -866,7 +866,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 2.0.25; MARKETING_VERSION = 2.0.27;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",
@ -907,7 +907,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 25; CURRENT_PROJECT_VERSION = 27;
DEVELOPMENT_TEAM = YF3Q8DVP52; DEVELOPMENT_TEAM = YF3Q8DVP52;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
@ -957,7 +957,7 @@
"$(PROJECT_DIR)/baidu", "$(PROJECT_DIR)/baidu",
"$(PROJECT_DIR)/Runner/baidu", "$(PROJECT_DIR)/Runner/baidu",
); );
MARKETING_VERSION = 2.0.25; MARKETING_VERSION = 2.0.27;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"$(inherited)", "$(inherited)",

3
lib/community/community_view/class_details_video.dart

@ -4,6 +4,7 @@ import 'package:chewie/src/chewie_progress_colors.dart' as chewie;
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'package:huixiang/view_widget/custom_image.dart'; import 'package:huixiang/view_widget/custom_image.dart';
import 'package:video_player/video_player.dart'; import 'package:video_player/video_player.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class ClassDetailsVideo extends StatefulWidget { class ClassDetailsVideo extends StatefulWidget {
final Function(bool isShowImg) changeShowImg; final Function(bool isShowImg) changeShowImg;
@ -99,6 +100,8 @@ class ClassDetailsVideoState extends State<ClassDetailsVideo> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
padding: EdgeInsets.only(top: (Theme.of(context).platform == TargetPlatform.android) ? 0 : 70.h),
color: Colors.black,
key: globalKey,child:(videoPlayerController?.value?.isInitialized ?? false) ? videoWidget( key: globalKey,child:(videoPlayerController?.value?.isInitialized ?? false) ? videoWidget(
MediaQuery.of(context).size.height, MediaQuery.of(context).size.height,
(MediaQuery.of(context).size.height/videoPlayerController.value.aspectRatio)-43, (MediaQuery.of(context).size.height/videoPlayerController.value.aspectRatio)-43,

5
lib/setting/platform_code_page.dart

@ -253,9 +253,8 @@ class _PlatformCodePage extends State<PlatformCodePage> {
height: 14.h, height: 14.h,
), ),
Container( Container(
margin: EdgeInsets.only(top: 24.h, bottom: 31.h,right: 48.w,left: 48.w), margin: EdgeInsets.only(top: 24.h, bottom: 31.h,right: 55.w,left: 55.w),
// padding: EdgeInsets.only(left: 48.w, right: 48.w), height: 58.h,
height: 55.h,
child: PinInputTextField( child: PinInputTextField(
pinLength: 4, pinLength: 4,
onChanged: (txt) { onChanged: (txt) {

3
lib/setting/platform_pay_code.dart

@ -97,8 +97,7 @@ class _PlatformPayCode extends State<PlatformPayCode> {
), ),
), ),
Container( Container(
margin: EdgeInsets.only(top: 24.h, bottom: 31.h), margin: EdgeInsets.only(top: 24.h, bottom: 31.h,right: 35.w,left: 35.w),
padding: EdgeInsets.only(left: 48.w, right: 48.w),
height: 45.h, height: 45.h,
child: PinInputTextField( child: PinInputTextField(
onChanged: (txtCode){ onChanged: (txtCode){

3
lib/setting/platform_pay_code_success.dart

@ -127,8 +127,7 @@ class _PlatformPayCodeSuccess extends State<PlatformPayCodeSuccess> {
), ),
), ),
Container( Container(
margin: EdgeInsets.only(top: 24.h, bottom: 31.h), margin: EdgeInsets.only(top: 24.h, bottom: 31.h,right: 35.w,left: 35.w),
padding: EdgeInsets.only(left: 48.w, right: 48.w),
height: 45.h, height: 45.h,
child: PinInputTextField( child: PinInputTextField(
onChanged: (txtCode){ onChanged: (txtCode){

14
lib/store/store_order.dart

@ -207,17 +207,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return WillPopScope( return Container(
onWillPop: () async {
if (dialogShowing) {
debugPrint("ssssasdadsasdadasd");
SmartDialog.dismiss();
return false;
} else {
return true;
}
},
child:Container(
color: Colors.white, color: Colors.white,
child: Stack( child: Stack(
children: [ children: [
@ -550,7 +540,7 @@ class _StoreOrderPage extends State<StoreOrderPage>
), ),
), ),
], ],
))); ));
} }
/// ///

Loading…
Cancel
Save