Commit 413a50da6a2b7bd883993f28e586cd6333c3a89f
1 parent
b64b4815
修改 version 修改一些隐藏问题
Showing
3 changed files
with
35 additions
and
24 deletions
ios/Runner.xcodeproj/project.pbxproj
| @@ -1865,10 +1865,14 @@ | @@ -1865,10 +1865,14 @@ | ||
| 1865 | inputFileListPaths = ( | 1865 | inputFileListPaths = ( |
| 1866 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", | 1866 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", |
| 1867 | ); | 1867 | ); |
| 1868 | + inputPaths = ( | ||
| 1869 | + ); | ||
| 1868 | name = "[CP] Copy Pods Resources"; | 1870 | name = "[CP] Copy Pods Resources"; |
| 1869 | outputFileListPaths = ( | 1871 | outputFileListPaths = ( |
| 1870 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", | 1872 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", |
| 1871 | ); | 1873 | ); |
| 1874 | + outputPaths = ( | ||
| 1875 | + ); | ||
| 1872 | runOnlyForDeploymentPostprocessing = 0; | 1876 | runOnlyForDeploymentPostprocessing = 0; |
| 1873 | shellPath = /bin/sh; | 1877 | shellPath = /bin/sh; |
| 1874 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; | 1878 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; |
| @@ -1882,10 +1886,14 @@ | @@ -1882,10 +1886,14 @@ | ||
| 1882 | inputFileListPaths = ( | 1886 | inputFileListPaths = ( |
| 1883 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", | 1887 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", |
| 1884 | ); | 1888 | ); |
| 1889 | + inputPaths = ( | ||
| 1890 | + ); | ||
| 1885 | name = "[CP] Embed Pods Frameworks"; | 1891 | name = "[CP] Embed Pods Frameworks"; |
| 1886 | outputFileListPaths = ( | 1892 | outputFileListPaths = ( |
| 1887 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", | 1893 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", |
| 1888 | ); | 1894 | ); |
| 1895 | + outputPaths = ( | ||
| 1896 | + ); | ||
| 1889 | runOnlyForDeploymentPostprocessing = 0; | 1897 | runOnlyForDeploymentPostprocessing = 0; |
| 1890 | shellPath = /bin/sh; | 1898 | shellPath = /bin/sh; |
| 1891 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; | 1899 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; |
| @@ -2319,11 +2327,11 @@ | @@ -2319,11 +2327,11 @@ | ||
| 2319 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; | 2327 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; |
| 2320 | CODE_SIGN_IDENTITY = "Apple Development"; | 2328 | CODE_SIGN_IDENTITY = "Apple Development"; |
| 2321 | CODE_SIGN_STYLE = Automatic; | 2329 | CODE_SIGN_STYLE = Automatic; |
| 2322 | - CURRENT_PROJECT_VERSION = 25; | 2330 | + CURRENT_PROJECT_VERSION = 31; |
| 2323 | DEVELOPMENT_TEAM = 6H784N43ZN; | 2331 | DEVELOPMENT_TEAM = 6H784N43ZN; |
| 2324 | ENABLE_BITCODE = NO; | 2332 | ENABLE_BITCODE = NO; |
| 2325 | INFOPLIST_FILE = Runner/Info.plist; | 2333 | INFOPLIST_FILE = Runner/Info.plist; |
| 2326 | - IPHONEOS_DEPLOYMENT_TARGET = 12.0; | 2334 | + IPHONEOS_DEPLOYMENT_TARGET = 13.0; |
| 2327 | LD_RUNPATH_SEARCH_PATHS = ( | 2335 | LD_RUNPATH_SEARCH_PATHS = ( |
| 2328 | "$(inherited)", | 2336 | "$(inherited)", |
| 2329 | "@executable_path/Frameworks", | 2337 | "@executable_path/Frameworks", |
| @@ -2657,7 +2665,7 @@ | @@ -2657,7 +2665,7 @@ | ||
| 2657 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; | 2665 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; |
| 2658 | CODE_SIGN_IDENTITY = "Apple Development"; | 2666 | CODE_SIGN_IDENTITY = "Apple Development"; |
| 2659 | CODE_SIGN_STYLE = Automatic; | 2667 | CODE_SIGN_STYLE = Automatic; |
| 2660 | - CURRENT_PROJECT_VERSION = 25; | 2668 | + CURRENT_PROJECT_VERSION = 31; |
| 2661 | DEVELOPMENT_TEAM = 6H784N43ZN; | 2669 | DEVELOPMENT_TEAM = 6H784N43ZN; |
| 2662 | ENABLE_BITCODE = NO; | 2670 | ENABLE_BITCODE = NO; |
| 2663 | HEADER_SEARCH_PATHS = ( | 2671 | HEADER_SEARCH_PATHS = ( |
| @@ -2683,7 +2691,7 @@ | @@ -2683,7 +2691,7 @@ | ||
| 2683 | "\"${PODS_CONFIGURATION_BUILD_DIR}/webview_flutter_wkwebview/webview_flutter_wkwebview.framework/Headers\"", | 2691 | "\"${PODS_CONFIGURATION_BUILD_DIR}/webview_flutter_wkwebview/webview_flutter_wkwebview.framework/Headers\"", |
| 2684 | ); | 2692 | ); |
| 2685 | INFOPLIST_FILE = Runner/Info.plist; | 2693 | INFOPLIST_FILE = Runner/Info.plist; |
| 2686 | - IPHONEOS_DEPLOYMENT_TARGET = 12.0; | 2694 | + IPHONEOS_DEPLOYMENT_TARGET = 13.0; |
| 2687 | LD_RUNPATH_SEARCH_PATHS = ( | 2695 | LD_RUNPATH_SEARCH_PATHS = ( |
| 2688 | "$(inherited)", | 2696 | "$(inherited)", |
| 2689 | "@executable_path/Frameworks", | 2697 | "@executable_path/Frameworks", |
| @@ -2856,11 +2864,11 @@ | @@ -2856,11 +2864,11 @@ | ||
| 2856 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; | 2864 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; |
| 2857 | CODE_SIGN_IDENTITY = "Apple Development"; | 2865 | CODE_SIGN_IDENTITY = "Apple Development"; |
| 2858 | CODE_SIGN_STYLE = Automatic; | 2866 | CODE_SIGN_STYLE = Automatic; |
| 2859 | - CURRENT_PROJECT_VERSION = 25; | 2867 | + CURRENT_PROJECT_VERSION = 31; |
| 2860 | DEVELOPMENT_TEAM = 6H784N43ZN; | 2868 | DEVELOPMENT_TEAM = 6H784N43ZN; |
| 2861 | ENABLE_BITCODE = NO; | 2869 | ENABLE_BITCODE = NO; |
| 2862 | INFOPLIST_FILE = Runner/Info.plist; | 2870 | INFOPLIST_FILE = Runner/Info.plist; |
| 2863 | - IPHONEOS_DEPLOYMENT_TARGET = 12.0; | 2871 | + IPHONEOS_DEPLOYMENT_TARGET = 13.0; |
| 2864 | LD_RUNPATH_SEARCH_PATHS = ( | 2872 | LD_RUNPATH_SEARCH_PATHS = ( |
| 2865 | "$(inherited)", | 2873 | "$(inherited)", |
| 2866 | "@executable_path/Frameworks", | 2874 | "@executable_path/Frameworks", |
ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
| @@ -51,7 +51,7 @@ | @@ -51,7 +51,7 @@ | ||
| 51 | </Testables> | 51 | </Testables> |
| 52 | </TestAction> | 52 | </TestAction> |
| 53 | <LaunchAction | 53 | <LaunchAction |
| 54 | - buildConfiguration = "Debug" | 54 | + buildConfiguration = "Release" |
| 55 | selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | 55 | selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" |
| 56 | selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | 56 | selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" |
| 57 | launchStyle = "0" | 57 | launchStyle = "0" |
lib/pages/home/view.dart
| @@ -125,23 +125,26 @@ class _HomePageView extends StatelessWidget { | @@ -125,23 +125,26 @@ class _HomePageView extends StatelessWidget { | ||
| 125 | ), | 125 | ), |
| 126 | ), | 126 | ), |
| 127 | Expanded( | 127 | Expanded( |
| 128 | - child: GestureDetector( | ||
| 129 | - onTap: () => _checkPermission(() async { | ||
| 130 | - await clickController.playMusicAndPerformAction( | ||
| 131 | - context, AudioPlayerUtilType.videoTime, | ||
| 132 | - () async { | ||
| 133 | - await Navigator.of(context) | ||
| 134 | - .pushNamed(AppRouteName.videoZone); | ||
| 135 | - }); | ||
| 136 | - }, bloc, | ||
| 137 | - deniedMessage: '购买课程后即可进入视频专区。', | ||
| 138 | - deniedActionText: '去购买'), | ||
| 139 | - child: Center( | ||
| 140 | - child: Image.asset( | ||
| 141 | - 'video_zone_entry'.assetPng, | ||
| 142 | - width: 153.w, | ||
| 143 | - height: 176.h, | ||
| 144 | - fit: BoxFit.contain, | 128 | + child: Offstage( |
| 129 | + offstage: AppConfigHelper.shouldHidePay(), | ||
| 130 | + child: GestureDetector( | ||
| 131 | + onTap: () => _checkPermission(() async { | ||
| 132 | + await clickController.playMusicAndPerformAction( | ||
| 133 | + context, AudioPlayerUtilType.videoTime, | ||
| 134 | + () async { | ||
| 135 | + await Navigator.of(context) | ||
| 136 | + .pushNamed(AppRouteName.videoZone); | ||
| 137 | + }); | ||
| 138 | + }, bloc, | ||
| 139 | + deniedMessage: '购买课程后即可进入视频专区。', | ||
| 140 | + deniedActionText: '去购买'), | ||
| 141 | + child: Center( | ||
| 142 | + child: Image.asset( | ||
| 143 | + 'video_zone_entry'.assetPng, | ||
| 144 | + width: 153.w, | ||
| 145 | + height: 176.h, | ||
| 146 | + fit: BoxFit.contain, | ||
| 147 | + ), | ||
| 145 | ), | 148 | ), |
| 146 | ), | 149 | ), |
| 147 | ), | 150 | ), |