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 | 1865 | inputFileListPaths = ( |
| 1866 | 1866 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", |
| 1867 | 1867 | ); |
| 1868 | + inputPaths = ( | |
| 1869 | + ); | |
| 1868 | 1870 | name = "[CP] Copy Pods Resources"; |
| 1869 | 1871 | outputFileListPaths = ( |
| 1870 | 1872 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", |
| 1871 | 1873 | ); |
| 1874 | + outputPaths = ( | |
| 1875 | + ); | |
| 1872 | 1876 | runOnlyForDeploymentPostprocessing = 0; |
| 1873 | 1877 | shellPath = /bin/sh; |
| 1874 | 1878 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; |
| ... | ... | @@ -1882,10 +1886,14 @@ |
| 1882 | 1886 | inputFileListPaths = ( |
| 1883 | 1887 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", |
| 1884 | 1888 | ); |
| 1889 | + inputPaths = ( | |
| 1890 | + ); | |
| 1885 | 1891 | name = "[CP] Embed Pods Frameworks"; |
| 1886 | 1892 | outputFileListPaths = ( |
| 1887 | 1893 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", |
| 1888 | 1894 | ); |
| 1895 | + outputPaths = ( | |
| 1896 | + ); | |
| 1889 | 1897 | runOnlyForDeploymentPostprocessing = 0; |
| 1890 | 1898 | shellPath = /bin/sh; |
| 1891 | 1899 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; |
| ... | ... | @@ -2319,11 +2327,11 @@ |
| 2319 | 2327 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; |
| 2320 | 2328 | CODE_SIGN_IDENTITY = "Apple Development"; |
| 2321 | 2329 | CODE_SIGN_STYLE = Automatic; |
| 2322 | - CURRENT_PROJECT_VERSION = 25; | |
| 2330 | + CURRENT_PROJECT_VERSION = 31; | |
| 2323 | 2331 | DEVELOPMENT_TEAM = 6H784N43ZN; |
| 2324 | 2332 | ENABLE_BITCODE = NO; |
| 2325 | 2333 | INFOPLIST_FILE = Runner/Info.plist; |
| 2326 | - IPHONEOS_DEPLOYMENT_TARGET = 12.0; | |
| 2334 | + IPHONEOS_DEPLOYMENT_TARGET = 13.0; | |
| 2327 | 2335 | LD_RUNPATH_SEARCH_PATHS = ( |
| 2328 | 2336 | "$(inherited)", |
| 2329 | 2337 | "@executable_path/Frameworks", |
| ... | ... | @@ -2657,7 +2665,7 @@ |
| 2657 | 2665 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; |
| 2658 | 2666 | CODE_SIGN_IDENTITY = "Apple Development"; |
| 2659 | 2667 | CODE_SIGN_STYLE = Automatic; |
| 2660 | - CURRENT_PROJECT_VERSION = 25; | |
| 2668 | + CURRENT_PROJECT_VERSION = 31; | |
| 2661 | 2669 | DEVELOPMENT_TEAM = 6H784N43ZN; |
| 2662 | 2670 | ENABLE_BITCODE = NO; |
| 2663 | 2671 | HEADER_SEARCH_PATHS = ( |
| ... | ... | @@ -2683,7 +2691,7 @@ |
| 2683 | 2691 | "\"${PODS_CONFIGURATION_BUILD_DIR}/webview_flutter_wkwebview/webview_flutter_wkwebview.framework/Headers\"", |
| 2684 | 2692 | ); |
| 2685 | 2693 | INFOPLIST_FILE = Runner/Info.plist; |
| 2686 | - IPHONEOS_DEPLOYMENT_TARGET = 12.0; | |
| 2694 | + IPHONEOS_DEPLOYMENT_TARGET = 13.0; | |
| 2687 | 2695 | LD_RUNPATH_SEARCH_PATHS = ( |
| 2688 | 2696 | "$(inherited)", |
| 2689 | 2697 | "@executable_path/Frameworks", |
| ... | ... | @@ -2856,11 +2864,11 @@ |
| 2856 | 2864 | CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; |
| 2857 | 2865 | CODE_SIGN_IDENTITY = "Apple Development"; |
| 2858 | 2866 | CODE_SIGN_STYLE = Automatic; |
| 2859 | - CURRENT_PROJECT_VERSION = 25; | |
| 2867 | + CURRENT_PROJECT_VERSION = 31; | |
| 2860 | 2868 | DEVELOPMENT_TEAM = 6H784N43ZN; |
| 2861 | 2869 | ENABLE_BITCODE = NO; |
| 2862 | 2870 | INFOPLIST_FILE = Runner/Info.plist; |
| 2863 | - IPHONEOS_DEPLOYMENT_TARGET = 12.0; | |
| 2871 | + IPHONEOS_DEPLOYMENT_TARGET = 13.0; | |
| 2864 | 2872 | LD_RUNPATH_SEARCH_PATHS = ( |
| 2865 | 2873 | "$(inherited)", |
| 2866 | 2874 | "@executable_path/Frameworks", | ... | ... |
ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
| ... | ... | @@ -51,7 +51,7 @@ |
| 51 | 51 | </Testables> |
| 52 | 52 | </TestAction> |
| 53 | 53 | <LaunchAction |
| 54 | - buildConfiguration = "Debug" | |
| 54 | + buildConfiguration = "Release" | |
| 55 | 55 | selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" |
| 56 | 56 | selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" |
| 57 | 57 | launchStyle = "0" | ... | ... |
lib/pages/home/view.dart
| ... | ... | @@ -125,23 +125,26 @@ class _HomePageView extends StatelessWidget { |
| 125 | 125 | ), |
| 126 | 126 | ), |
| 127 | 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 | ), | ... | ... |