├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── App.js ├── ListJson.json ├── README.md ├── android ├── app │ ├── BUCK │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── index.android.bundle │ │ ├── java │ │ └── com │ │ │ └── final_version │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── drawable-hdpi │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── drawable-mdpi │ │ ├── assest_zizhuyoulista.png │ │ ├── assest_zizhuyoulistb.png │ │ ├── assest_zizhuyoulistc.png │ │ ├── assest_zizhuyoulistd.png │ │ ├── assest_zizhuyouliste.png │ │ ├── assest_zizhuyoulistf.png │ │ ├── assest_zizhuyoulistg.png │ │ ├── assest_zizhuyoulisth.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_back.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_bottomvignette.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_erroricon.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_expand.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_loadericon.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_pause.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_play.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_shrink.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_topvignette.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_volume.png │ │ ├── node_modules_reactnavigation_src_views_assets_backicon.png │ │ └── node_modules_reactnavigation_src_views_assets_backiconmask.png │ │ ├── drawable-xhdpi │ │ ├── launch_screen.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_back.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_bottomvignette.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_erroricon.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_expand.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_loadericon.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_pause.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_play.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_shrink.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_topvignette.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_volume.png │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── drawable-xxhdpi │ │ ├── node_modules_reactnativevideocontrols_assets_img_back.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_bottomvignette.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_erroricon.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_expand.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_loadericon.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_pause.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_play.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_shrink.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_topvignette.png │ │ ├── node_modules_reactnativevideocontrols_assets_img_volume.png │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── drawable-xxxhdpi │ │ └── node_modules_reactnavigation_src_views_assets_backicon.png │ │ ├── drawable │ │ ├── add.png │ │ ├── chaoshan.jpg │ │ ├── chengdu.jpg │ │ ├── eyes.png │ │ ├── great.png │ │ ├── guster.png │ │ ├── gusteractive.png │ │ ├── haerbin.jpg │ │ ├── home.png │ │ ├── homeactive.png │ │ ├── information.png │ │ ├── informationactive.png │ │ ├── left.png │ │ ├── leftplus.png │ │ ├── listen.png │ │ ├── lunbof.png │ │ ├── lunbofo.png │ │ ├── lunbos.png │ │ ├── lunbot.png │ │ ├── meadd.png │ │ ├── moluoge.jpg │ │ ├── music.png │ │ ├── nanchang.jpg │ │ ├── nanjing.jpg │ │ ├── people.png │ │ ├── quanzhou.jpg │ │ ├── right.png │ │ ├── search.png │ │ ├── setting.png │ │ ├── shorttext.png │ │ ├── star.png │ │ ├── touxiang.png │ │ ├── touxiangu.png │ │ ├── touxiangv.png │ │ ├── touxiangw.png │ │ ├── touxiangx.png │ │ ├── touxiangy.png │ │ ├── touxiangz.png │ │ ├── where.png │ │ ├── zidaiyoua.png │ │ ├── zidaiyoub.jpg │ │ ├── zidaiyouc.jpg │ │ ├── zidaiyoud.jpg │ │ ├── zidaiyoue.jpg │ │ ├── zidaiyouf.jpg │ │ ├── zidaiyoug.png │ │ ├── zidaiyoulista.png │ │ ├── zidaiyoulistb.png │ │ ├── zidaiyoulistc.png │ │ ├── zidaiyoulistd.png │ │ ├── zidaiyouliste.png │ │ ├── zidaiyoulistf.png │ │ ├── zidaiyoulistg.png │ │ ├── zidaiyoulisth.png │ │ ├── zidaiyoulisti.png │ │ ├── zigongluea.png │ │ ├── zigonglueb.png │ │ ├── zigongluec.png │ │ ├── zigonglued.png │ │ ├── zigongluee.png │ │ ├── zigongluef.png │ │ ├── zigonglueg.png │ │ ├── zigonglueh.png │ │ ├── zigongluei.png │ │ ├── zigongluelista.png │ │ ├── zigongluelistb.png │ │ ├── zigongluelistc.png │ │ ├── zigongluelistd.png │ │ ├── zigonglueliste.png │ │ ├── zigongluelistf.png │ │ ├── zigongluelistg.png │ │ ├── zigongluelisth.png │ │ ├── zigongluelisti.png │ │ ├── zijiaochenga.jpg │ │ ├── zijiaochengb.jpg │ │ ├── zijiaochengc.jpg │ │ ├── zijiaochengd.jpg │ │ ├── zijiaochenge.png │ │ ├── zijiaochengf.png │ │ ├── zijiaochengg.png │ │ ├── zijiaochengh.png │ │ ├── zijiaochenglista.png │ │ ├── zijiaochenglistb.png │ │ ├── zijiaochenglistc.png │ │ ├── zijiaochenglistd.png │ │ ├── zijiaochengliste.png │ │ ├── zijiaochenglistf.png │ │ ├── zijiaochenglistg.png │ │ ├── zijiaochenglisth.png │ │ ├── zijiaochenglisti.png │ │ ├── zijiaochenglistj.png │ │ ├── zituijianlista.png │ │ ├── zituijianlistb.png │ │ ├── zituijianlistc.png │ │ ├── zituijianlistd.png │ │ ├── zituijianliste.png │ │ ├── zizhuyoua.png │ │ ├── zizhuyouc.png │ │ ├── zizhuyoulista.png │ │ ├── zizhuyoulistb.png │ │ ├── zizhuyoulistc.png │ │ ├── zizhuyoulistd.png │ │ ├── zizhuyouliste.png │ │ ├── zizhuyoulistf.png │ │ ├── zizhuyoulistg.png │ │ └── zizhuyoulisth.png │ │ ├── layout │ │ └── launch_screen.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── keystores │ ├── BUCK │ └── debug.keystore.properties └── settings.gradle ├── app.json ├── component ├── daiyou.js ├── gonglue.js ├── gongluea.js ├── guster.js ├── home.js ├── homedetail.js ├── information.js ├── jiaocheng.js ├── luyouhome.js ├── tuijian.js ├── zhuyou.js ├── zhuyoua.js ├── zhuyoub.js ├── zhuyouc.js ├── zidaiyou.js ├── zigonglue.js ├── zijiaocheng.js ├── zituijian.js └── zizhuyou.js ├── index.js ├── ios ├── FINAL_VERSION-tvOS │ └── Info.plist ├── FINAL_VERSION-tvOSTests │ └── Info.plist ├── FINAL_VERSION.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── FINAL_VERSION-tvOS.xcscheme │ │ └── FINAL_VERSION.xcscheme ├── FINAL_VERSION │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Base.lproj │ │ └── LaunchScreen.xib │ ├── Images.xcassets │ │ ├── chaoshan.jpg │ │ ├── chengdu.jpg │ │ ├── guster.jpg │ │ ├── guster.png │ │ ├── haerbin.jpg │ │ ├── home.jpg │ │ ├── home.png │ │ ├── information.png │ │ ├── left.png │ │ ├── leftplus.png │ │ ├── lunbo1.jpg │ │ ├── moluoge.jpg │ │ ├── music.png │ │ ├── nanchang.jpg │ │ ├── nanjing.jpg │ │ ├── quanzhou.jpg │ │ ├── right.png │ │ ├── search.png │ │ └── text.jpg │ ├── Info.plist │ └── main.m └── FINAL_VERSIONTests │ ├── FINAL_VERSIONTests.m │ └── Info.plist ├── package-lock.json ├── package.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } 4 | -------------------------------------------------------------------------------- /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | node_modules/react-native/flow-github/ 28 | 29 | [options] 30 | emoji=true 31 | 32 | module.system=haste 33 | module.system.haste.use_name_reducers=true 34 | # get basename 35 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 36 | # strip .js or .js.flow suffix 37 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 38 | # strip .ios suffix 39 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 40 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 41 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 42 | module.system.haste.paths.blacklist=.*/__tests__/.* 43 | module.system.haste.paths.blacklist=.*/__mocks__/.* 44 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 45 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 46 | 47 | munge_underscores=true 48 | 49 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 50 | 51 | module.file_ext=.js 52 | module.file_ext=.jsx 53 | module.file_ext=.json 54 | module.file_ext=.native.js 55 | 56 | suppress_type=$FlowIssue 57 | suppress_type=$FlowFixMe 58 | suppress_type=$FlowFixMeProps 59 | suppress_type=$FlowFixMeState 60 | 61 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 62 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 63 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 65 | 66 | [version] 67 | ^0.75.0 68 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Sample React Native App 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | * @flow 7 | */ 8 | 9 | import React, { Component } from 'react'; 10 | import { 11 | Platform, 12 | StyleSheet, 13 | Text, 14 | View, 15 | Image, 16 | ScrollView, 17 | ListView, 18 | TouchableOpacity, 19 | } from 'react-native'; 20 | {/*引入渐变色API*/ } 21 | import LinearGradient from 'react-native-linear-gradient'; 22 | {/*引入导航API*/ } 23 | import TabNavigator from 'react-native-tab-navigator'; 24 | import { Navigator } from 'react-native-deprecated-custom-components'; 25 | {/*引入全局component*/ } 26 | import Home from './component/home'; 27 | import Information from './component/information'; 28 | import Guster from './component/guster'; 29 | import home from './component/home'; 30 | let tabBarHeight = 0; 31 | let Dimensions = require('Dimensions'); 32 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 33 | let WH = winHeight / 2295; 34 | let WW = winWidth / 1243; 35 | const instructions = Platform.select({ 36 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 37 | android: 38 | 'Double tap R on your keyboard to reload,\n' + 39 | 'Shake or press menu button for dev menu', 40 | }); 41 | 42 | 43 | export default class App extends Component { 44 | constructor() { 45 | super(); 46 | this.state = { 47 | selectedTab: 'home' 48 | } 49 | } 50 | 51 | render() { 52 | return ( 53 | 54 | 55 | 65 | 66 | 67 | 哈尔滨 68 | 69 | 70 | 71 | 72 | 73 | 74 | 82 | 85 | } 87 | renderSelectedIcon={() => } 88 | onPress={() => { this.setState({ selectedTab: 'information' }) }} 89 | selected={this.state.selectedTab === 'information'} 90 | style={{ backgroundColor: 'black', borderWidth: 10, }} 91 | > 92 | 93 | 94 | } 97 | renderSelectedIcon={() => } 98 | onPress={() => { this.setState({ selectedTab: 'home' }) }} 99 | selected={this.state.selectedTab === 'home'} 100 | > 101 | 102 | 103 | } 106 | renderSelectedIcon={() => } 107 | onPress={() => { this.setState({ selectedTab: 'Guster' }) }} 108 | selected={this.state.selectedTab === 'Guster'} 109 | > 110 | 111 | 112 | 113 | 114 | 115 | 116 | ); 117 | } 118 | 119 | } 120 | 121 | const styles = StyleSheet.create({ 122 | container: { 123 | flex: 1, 124 | justifyContent: 'center', 125 | backgroundColor: '#F5FCFF', paddingHorizontal: 0, borderWidth: 0, 126 | elevation: 0 127 | 128 | }, 129 | iconStyle: { 130 | width: WW * 84, 131 | height: WH * 90 132 | }, 133 | navsBottom: { 134 | width: winWidth, 135 | overflow: 'hidden', 136 | flexDirection: 'row', 137 | alignItems: 'flex-end', 138 | backgroundColor: 'rgba(255,255,255,0)', 139 | paddingHorizontal: 0, borderWidth: 0, 140 | borderColor: 'rgba(255,255,255,0)', 141 | elevation: 0, 142 | 143 | } 144 | }); 145 | {/* 146 | { 149 | return Navigator.SceneConfigs.HorizontalSwipeJump; 150 | }} 151 | renderScene={(route, navigator) => { 152 | let Component = route.component; 153 | return 154 | }} 155 | />*/} -------------------------------------------------------------------------------- /ListJson.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "lists":"haerbin" 4 | }, 5 | { 6 | "lists":"chengdu" 7 | }, 8 | { 9 | "lists":"chaoshan" 10 | }, 11 | { 12 | "lists":"quanzhou" 13 | }, 14 | { 15 | "lists":"nanjing" 16 | }, 17 | { 18 | "lists":"nanchang" 19 | }, 20 | { 21 | "lists":"moluoge" 22 | } 23 | ] 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ReactNative-App 2 | 3 | App developed through react-native 4 | 5 | ### 通过React-Native进行开发 6 | 7 | #### [App百度网盘地址](https://pan.baidu.com/s/1LQR_Mbq-zTHd5cyzVMJdZg) 8 | 9 | #### 密码: 9chh 10 | 11 | ### App页面展示 12 | 13 | #### App主页 14 | 15 | 16 | 17 | #### App顶部导航栏子路由 18 | 19 | 20 | 21 | 22 | 23 | #### App底部导航子路由 24 | 25 | 26 | 27 | 28 | 29 | #### 顶部导航子路由详情 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /android/app/BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | lib_deps = [] 12 | 13 | for jarfile in glob(['libs/*.jar']): 14 | name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] 15 | lib_deps.append(':' + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | 21 | for aarfile in glob(['libs/*.aar']): 22 | name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] 23 | lib_deps.append(':' + name) 24 | android_prebuilt_aar( 25 | name = name, 26 | aar = aarfile, 27 | ) 28 | 29 | android_library( 30 | name = "all-libs", 31 | exported_deps = lib_deps, 32 | ) 33 | 34 | android_library( 35 | name = "app-code", 36 | srcs = glob([ 37 | "src/main/java/**/*.java", 38 | ]), 39 | deps = [ 40 | ":all-libs", 41 | ":build_config", 42 | ":res", 43 | ], 44 | ) 45 | 46 | android_build_config( 47 | name = "build_config", 48 | package = "com.final_version", 49 | ) 50 | 51 | android_resource( 52 | name = "res", 53 | package = "com.final_version", 54 | res = "src/main/res", 55 | ) 56 | 57 | android_binary( 58 | name = "app", 59 | keystore = "//android/keystores:debug", 60 | manifest = "src/main/AndroidManifest.xml", 61 | package_type = "debug", 62 | deps = [ 63 | ":app-code", 64 | ], 65 | ) 66 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 37 | * // for example: to disable dev mode in the staging build type (if configured) 38 | * devDisabledInStaging: true, 39 | * // The configuration property can be in the following formats 40 | * // 'devDisabledIn${productFlavor}${buildType}' 41 | * // 'devDisabledIn${buildType}' 42 | * 43 | * // the root of your project, i.e. where "package.json" lives 44 | * root: "../../", 45 | * 46 | * // where to put the JS bundle asset in debug mode 47 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 48 | * 49 | * // where to put the JS bundle asset in release mode 50 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 51 | * 52 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 53 | * // require('./image.png')), in debug mode 54 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 55 | * 56 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 57 | * // require('./image.png')), in release mode 58 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 59 | * 60 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 61 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 62 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 63 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 64 | * // for example, you might want to remove it from here. 65 | * inputExcludes: ["android/**", "ios/**"], 66 | * 67 | * // override which node gets called and with what additional arguments 68 | * nodeExecutableAndArgs: ["node"], 69 | * 70 | * // supply additional arguments to the packager 71 | * extraPackagerArgs: [] 72 | * ] 73 | */ 74 | 75 | project.ext.react = [ 76 | entryFile: "index.js" 77 | ] 78 | 79 | apply from: "../../node_modules/react-native/react.gradle" 80 | 81 | /** 82 | * Set this to true to create two separate APKs instead of one: 83 | * - An APK that only works on ARM devices 84 | * - An APK that only works on x86 devices 85 | * The advantage is the size of the APK is reduced by about 4MB. 86 | * Upload all the APKs to the Play Store and people will download 87 | * the correct one based on the CPU architecture of their device. 88 | */ 89 | def enableSeparateBuildPerCPUArchitecture = false 90 | 91 | /** 92 | * Run Proguard to shrink the Java bytecode in release builds. 93 | */ 94 | def enableProguardInReleaseBuilds = true 95 | 96 | android { 97 | compileSdkVersion rootProject.ext.compileSdkVersion 98 | buildToolsVersion rootProject.ext.buildToolsVersion 99 | 100 | defaultConfig { 101 | applicationId "com.final_version" 102 | minSdkVersion rootProject.ext.minSdkVersion 103 | targetSdkVersion rootProject.ext.targetSdkVersion 104 | versionCode 1 105 | versionName "1.0" 106 | ndk { 107 | abiFilters "armeabi-v7a", "x86" 108 | } 109 | } 110 | signingConfigs { 111 | release { 112 | storeFile file(MYAPP_RELEASE_STORE_FILE) 113 | storePassword MYAPP_RELEASE_STORE_PASSWORD 114 | keyAlias MYAPP_RELEASE_KEY_ALIAS 115 | keyPassword MYAPP_RELEASE_KEY_PASSWORD 116 | }} 117 | splits { 118 | abi { 119 | reset() 120 | enable enableSeparateBuildPerCPUArchitecture 121 | universalApk false // If true, also generate a universal APK 122 | include "armeabi-v7a", "x86" 123 | } 124 | } 125 | buildTypes { 126 | release { 127 | minifyEnabled enableProguardInReleaseBuilds 128 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 129 | signingConfig signingConfigs.release 130 | } 131 | } 132 | // applicationVariants are e.g. debug, release 133 | applicationVariants.all { variant -> 134 | variant.outputs.each { output -> 135 | // For each separate APK per architecture, set a unique version code as described here: 136 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 137 | def versionCodes = ["armeabi-v7a":1, "x86":2] 138 | def abi = output.getFilter(OutputFile.ABI) 139 | if (abi != null) { // null for the universal-debug, universal-release variants 140 | output.versionCodeOverride = 141 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 142 | } 143 | } 144 | } 145 | } 146 | 147 | dependencies { 148 | compile project(':react-native-video') 149 | compile project(':react-native-fast-image') 150 | compile project(':react-native-linear-gradient') 151 | compile fileTree(dir: "libs", include: ["*.jar"]) 152 | compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" 153 | compile "com.facebook.react:react-native:+" // From node_modules 154 | } 155 | 156 | // Run this once to be able to run the application with BUCK 157 | // puts all compile dependencies into folder libs for BUCK to use 158 | task copyDownloadableDepsToLibs(type: Copy) { 159 | from configurations.compile 160 | into 'libs' 161 | } 162 | -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/final_version/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.final_version; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "FINAL_VERSION"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/final_version/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.final_version; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.react.ReactApplication; 6 | import com.brentvatne.react.ReactVideoPackage; 7 | import com.dylanvann.fastimage.FastImageViewPackage; 8 | import com.BV.LinearGradient.LinearGradientPackage; 9 | import com.facebook.react.ReactNativeHost; 10 | import com.facebook.react.ReactPackage; 11 | import com.facebook.react.shell.MainReactPackage; 12 | import com.facebook.soloader.SoLoader; 13 | 14 | import java.util.Arrays; 15 | import java.util.List; 16 | 17 | public class MainApplication extends Application implements ReactApplication { 18 | 19 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 20 | @Override 21 | public boolean getUseDeveloperSupport() { 22 | return BuildConfig.DEBUG; 23 | } 24 | 25 | @Override 26 | protected List getPackages() { 27 | return Arrays.asList( 28 | new MainReactPackage(), 29 | new ReactVideoPackage(), 30 | new FastImageViewPackage(), 31 | new LinearGradientPackage() 32 | ); 33 | } 34 | 35 | @Override 36 | protected String getJSMainModuleName() { 37 | return "index"; 38 | } 39 | }; 40 | 41 | @Override 42 | public ReactNativeHost getReactNativeHost() { 43 | return mReactNativeHost; 44 | } 45 | 46 | @Override 47 | public void onCreate() { 48 | super.onCreate(); 49 | SoLoader.init(this, /* native exopackage */ false); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-hdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-hdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/assest_zizhuyoulista.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/assest_zizhuyoulista.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistb.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistc.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistd.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/assest_zizhuyouliste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/assest_zizhuyouliste.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistf.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/assest_zizhuyoulistg.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/assest_zizhuyoulisth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/assest_zizhuyoulisth.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_back.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_bottomvignette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_bottomvignette.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_erroricon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_erroricon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_expand.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_loadericon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_loadericon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_pause.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_play.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_shrink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_shrink.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_topvignette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_topvignette.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnativevideocontrols_assets_img_volume.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_src_views_assets_backiconmask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-mdpi/node_modules_reactnavigation_src_views_assets_backiconmask.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/launch_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/launch_screen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_back.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_bottomvignette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_bottomvignette.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_erroricon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_erroricon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_expand.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_loadericon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_loadericon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_pause.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_play.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_shrink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_shrink.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_topvignette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_topvignette.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnativevideocontrols_assets_img_volume.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xhdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xhdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_back.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_bottomvignette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_bottomvignette.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_erroricon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_erroricon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_expand.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_loadericon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_loadericon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_pause.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_play.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_shrink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_shrink.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_topvignette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_topvignette.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnativevideocontrols_assets_img_volume.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxhdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxhdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-xxxhdpi/node_modules_reactnavigation_src_views_assets_backicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable-xxxhdpi/node_modules_reactnavigation_src_views_assets_backicon.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/add.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/chaoshan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/chaoshan.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/chengdu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/chengdu.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/eyes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/eyes.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/great.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/great.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/guster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/guster.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/gusteractive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/gusteractive.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/haerbin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/haerbin.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/home.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/homeactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/homeactive.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/information.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/informationactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/informationactive.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/left.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/leftplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/leftplus.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/listen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/listen.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/lunbof.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/lunbof.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/lunbofo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/lunbofo.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/lunbos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/lunbos.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/lunbot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/lunbot.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/meadd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/meadd.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/moluoge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/moluoge.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/music.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/nanchang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/nanchang.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/nanjing.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/nanjing.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/people.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/people.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/quanzhou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/quanzhou.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/right.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/search.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/setting.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/shorttext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/shorttext.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/star.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/touxiang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/touxiang.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/touxiangu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/touxiangu.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/touxiangv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/touxiangv.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/touxiangw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/touxiangw.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/touxiangx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/touxiangx.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/touxiangy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/touxiangy.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/touxiangz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/touxiangz.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/where.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/where.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoua.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoub.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoub.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyouc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyouc.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoud.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoud.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoue.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyouf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyouf.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoug.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoulista.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoulista.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoulistb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoulistb.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoulistc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoulistc.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoulistd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoulistd.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyouliste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyouliste.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoulistf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoulistf.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoulistg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoulistg.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoulisth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoulisth.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zidaiyoulisti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zidaiyoulisti.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluea.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigonglueb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigonglueb.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluec.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigonglued.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigonglued.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluee.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluef.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluef.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigonglueg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigonglueg.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigonglueh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigonglueh.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluei.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluei.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluelista.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluelista.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluelistb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluelistb.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluelistc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluelistc.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluelistd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluelistd.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigonglueliste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigonglueliste.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluelistf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluelistf.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluelistg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluelistg.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluelisth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluelisth.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zigongluelisti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zigongluelisti.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenga.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenga.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochengb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochengb.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochengc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochengc.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochengd.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochengd.jpg -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenge.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochengf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochengf.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochengg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochengg.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochengh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochengh.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglista.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglista.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglistb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglistb.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglistc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglistc.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglistd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglistd.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochengliste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochengliste.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglistf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglistf.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglistg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglistg.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglisth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglisth.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglisti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglisti.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zijiaochenglistj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zijiaochenglistj.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zituijianlista.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zituijianlista.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zituijianlistb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zituijianlistb.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zituijianlistc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zituijianlistc.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zituijianlistd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zituijianlistd.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zituijianliste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zituijianliste.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyoua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyoua.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyouc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyouc.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyoulista.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyoulista.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyoulistb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyoulistb.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyoulistc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyoulistc.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyoulistd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyoulistd.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyouliste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyouliste.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyoulistf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyoulistf.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyoulistg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyoulistg.png -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/zizhuyoulisth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/drawable/zizhuyoulisth.png -------------------------------------------------------------------------------- /android/app/src/main/res/layout/launch_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 自游行 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | maven { 7 | url 'https://maven.google.com/' 8 | name 'Google' 9 | } 10 | } 11 | dependencies { 12 | classpath 'com.android.tools.build:gradle:2.3.3' 13 | 14 | // NOTE: Do not place your application dependencies here; they belong 15 | // in the individual module build.gradle files 16 | } 17 | } 18 | 19 | allprojects { 20 | repositories { 21 | mavenLocal() 22 | jcenter() 23 | maven { 24 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 25 | url "$rootDir/../node_modules/react-native/android" 26 | } 27 | maven { 28 | url 'https://maven.google.com/' 29 | name 'Google' 30 | } 31 | } 32 | } 33 | 34 | ext { 35 | buildToolsVersion = "26.0.3" 36 | minSdkVersion = 16 37 | compileSdkVersion = 26 38 | targetSdkVersion = 26 39 | supportLibVersion = "26.1.0" 40 | } 41 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | MYAPP_RELEASE_STORE_FILE=my-release-key.keystore 22 | 23 | MYAPP_RELEASE_KEY_ALIAS=my-key-alias 24 | 25 | MYAPP_RELEASE_STORE_PASSWORD=363511503 26 | 27 | MYAPP_RELEASE_KEY_PASSWORD=363511503 28 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-all.zip 6 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = "debug", 3 | properties = "debug.keystore.properties", 4 | store = "debug.keystore", 5 | visibility = [ 6 | "PUBLIC", 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'FINAL_VERSION' 2 | include ':rn-splash-screen' 3 | project(':rn-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/rn-splash-screen/android') 4 | include ':react-native-splash-screen' 5 | project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android') 6 | include ':react-native-video' 7 | project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer') 8 | include ':react-native-fast-image' 9 | project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fast-image/android') 10 | include ':react-native-linear-gradient' 11 | project(':react-native-linear-gradient').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-linear-gradient/android') 12 | 13 | include ':app' 14 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FINAL_VERSION", 3 | "displayName": "FINAL_VERSION" 4 | } -------------------------------------------------------------------------------- /component/daiyou.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | {/*引入渐变色API*/ } 14 | import LinearGradient from 'react-native-linear-gradient'; 15 | {/*引入导航API*/ } 16 | import { TabNavigator, TabBarBottom } from 'react-navigation'; 17 | import { Navigator } from 'react-native-deprecated-custom-components'; 18 | {/*引入全局component*/ } 19 | let Dimensions = require('Dimensions'); 20 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 21 | let WH = winHeight / 2295; 22 | let WW = winWidth / 1243; 23 | const instructions = Platform.select({ 24 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 25 | android: 26 | 'Double tap R on your keyboard to reload,\n' + 27 | 'Shake or press menu button for dev menu', 28 | }); 29 | class daiyou extends Component { 30 | render() { 31 | return ( 32 | 33 | 34 | 35 | 38 | { this.popTopHome() }}> 39 | 40 | 41 | 42 | 新玩法,深度泰国 43 | 玩成当地人,在普吉岛走走停停 44 | 45 | 46 | 47 | 48 | 49 | 泰国 50 | 51 | 普吉镇是普吉岛聚集最多当地正宗夜市的地方,所以是体验当地生活必来之地,镇上很多色彩缤纷的建筑,著名的泰朗路( THALANG ROAD)、罗曼尼巷( SOI ROMMAND)都是值得一逛的街道{"\n"}普吉镇中有很多中国和葡萄牙特色的多元化老建筑,完好保留了过去商贸发达时的殖民风情。除了老房子,镇子上还有各式老爷车、老式巴士,出镜率也很高. 52 | 53 | 54 | 55 | 限时开放小岛——洛克岛 56 | 因远离大陆以及游客集中的普吉岛,洛克岛一直以来未被游客所 57 | 熟知,岛上保持着非常原生态的状态,珊瑚多且绝大多数状兄非 58 | 常好,80%以上?湖都是活瑚,每年仅10月ー次年5月半年时间开 59 | 放。 60 | 61 | 外洺克岛的NASM海湾可看到成群结队的小丑鱼,内洛克岛的 62 | PALONG海湾是观看活瑚的最佳澘水点,大片五彩斑的瑚 63 | 绝对让你过目难忘;为了保护?瑚和海洋环境,希望大家不要触摸 64 | 珊瑚。 65 | 偶遇海豚小岛——蜜月岛 66 | 月岛除了可以体验浮的乐趣外,也是普吉岛近海唯一的野生 67 | 海豚栖息地。毎天限制上岛人数,这里能看到海豚的几率是70%。 68 | 69 | 选择帆船出海,到达蜜月岛以后先进行浮潜,然后去追寻野生海豚 70 | 的踪迹,登陆蜜月岛享用泰式午餐和BBQ,下午会在船上有海钓活 71 | 动,船员会为客人制作新鲜的刺身。 72 | 73 | 到达蜜月岛可以选择参加一日游,不仅能在帆船上体验海钓和浮 74 | 潜,还能享用美味的泰式午餐。在网上预订会比在当地预订更便宜 75 | 哦。 76 | 77 | 78 | 79 | 80 | ); 81 | } 82 | popTopHome() { 83 | this.props.navigator.pop(); 84 | } 85 | } 86 | const styles = StyleSheet.create({ 87 | container: { 88 | flex: 1, 89 | backgroundColor: '#F5FCFF', 90 | } 91 | }); 92 | 93 | module.exports = daiyou; -------------------------------------------------------------------------------- /component/gonglue.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | import VideoControls from 'react-native-video-controls' 14 | {/*引入渐变色API*/ } 15 | import LinearGradient from 'react-native-linear-gradient'; 16 | {/*引入导航API*/ } 17 | import TabNavigator from 'react-native-tab-navigator'; 18 | import { Navigator } from 'react-native-deprecated-custom-components'; 19 | {/*引入全局component*/ } 20 | let Dimensions = require('Dimensions'); 21 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 22 | let WH = winHeight / 2295; 23 | let WW = winWidth / 1243; 24 | const instructions = Platform.select({ 25 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 26 | android: 27 | 'Double tap R on your keyboard to reload,\n' + 28 | 'Shake or press menu button for dev menu', 29 | }); 30 | class gonglue extends Component { 31 | render() { 32 | return ( 33 | 34 | 35 | 36 | 39 | { this.popTopHome() }}> 40 | 41 | 42 | 43 | 44 | 45 | 哈尔滨 46 | 47 | 48 | 绕开三亚,玩转哈尔滨 49 | 50 | 51 | 52 | 53 | 54 | 55 | 64 | 65 | 66 | 67 | 68 | 哈尔滨 69 | 70 | 之前咱们一篇《十大旅行失望之城》引起了大家的热议,有些读者跑来说,如果失望那就不要出来旅行啊!玻璃心真可怕,碎成渣势必到处扎。{"\n"}讲真,老艺术家可从从来不是只破不立的。最近我在召集一帮好友,准备搞一个值得推荐的国内目的地专题,前两天推送的《去云南,绕开大理和丽江!》就是其中之一。今天呢,我的朋友莎士比亚要为被黑出天际的哈尔滨小小正一下名:哈尔滨也有值得一去的地方,关键是,你懂不懂经! 71 | 72 | 別去亚龙湾了,去万宁石梅湾吧。 73 | 被誉为“天下第一湾”的亚龙湾,沙滩平缓宽阔,沙子洁白细软,海水清澈湛蓝。可是,作为海南岛最早开发的沙滩之一,这里早已成为高档酒店的聚集地,每逢节假日,下海玩水就如下锅煮佼子,眼前涌涌不知道是人浪还是海浪。{"\n"}同样是碧海银滩,石梅湾宁静开阔,背靠山丘,由于地理位置离最早开发的三亚有一段距离,即使是旅游黄金时段,游客也远远没有亚龙湾多,想要住豪华度假酒店这里也能满足你。{"\n"}更完美的是,你可以在沙滩上看日落,椰树的剪影再加上橙红的云彩,绝对能够俘获你的心。石梅湾是《非诚勿扰2》取景的其中一个地方,现在免费开放,但这福利可能不久之后就消失了 74 | 75 | 別去热带天堂森林公园了,去五指山吧。 76 | 被誉为“天下第一湾”的亚龙湾,沙滩平缓宽阔,沙子洁白细软,海水清澈湛蓝。可是,作为海南岛最早开发的沙准之一,这里早已成为高档酒店的聚集地,每逢节假日,下海玩水就如下锅煮饺子,眼前涌涌不知道是人浪还是海浪。{"\n"}同样是碧海银滩,石梅湾宁静开阔,背靠山丘,由于地理位置离最早开发的三亚有一段距离,即使是旅游黄金时段,游客也远远没有亚龙湾多,想要住豪华度假酒店这里也能满足你。{"\n"}更完美的是,你可以在沙滩上看日落,椰树的剪影再加上橙红的云彩,绝对能够俘获你的心。石梅湾是《非诚勿扰2》取景的其中一个地方,现在免费开放,但这福利可能不久之后就消失了。 77 | 78 | 別去凤凰岭了,去文昌铜鼓吧。 79 | 三亚的凤凰岭,能够俯瞰三亚四大海湾以及整个城市的风貌。它配备了先进的索道,加上山顶上有各种适合拍婚纱照的人造景观,吸引了一拨游客。不过,很多人会觉得,人造景观是什么鬼!{"\n"}文昌的铜鼓岭是一个同样能够让你体会登高望远快感的地方。它位于海南的最东角,在这里你可以鸟瞰附近的海滩,看到月亮湾的全景,弯弯的海岸,加上碧绿的树林,湛蓝的海岸。可惜的是,这个景点原本免费开放,最近已经紧锣密鼓准备开始收费管理了。 80 | 81 | 82 | 83 | 84 | ); 85 | } 86 | popTopHome() { 87 | this.props.navigator.pop(); 88 | } 89 | } 90 | const styles = StyleSheet.create({ 91 | container: { 92 | flex: 1, 93 | backgroundColor: '#F5FCFF', 94 | } 95 | }); 96 | module.exports = gonglue; -------------------------------------------------------------------------------- /component/gongluea.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | import VideoControls from 'react-native-video-controls' 14 | {/*引入渐变色API*/ } 15 | import LinearGradient from 'react-native-linear-gradient'; 16 | {/*引入导航API*/ } 17 | import TabNavigator from 'react-native-tab-navigator'; 18 | import { Navigator } from 'react-native-deprecated-custom-components'; 19 | {/*引入全局component*/ } 20 | let Dimensions = require('Dimensions'); 21 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 22 | let WH = winHeight / 2295; 23 | let WW = winWidth / 1243; 24 | const instructions = Platform.select({ 25 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 26 | android: 27 | 'Double tap R on your keyboard to reload,\n' + 28 | 'Shake or press menu button for dev menu', 29 | }); 30 | class gongluea extends Component { 31 | render() { 32 | return ( 33 | 34 | 35 | 36 | 39 | { this.popTopHome() }}> 40 | 41 | 42 | 43 | 44 | 哈尔滨 45 | 46 | 47 | 绕开三亚,玩转哈尔滨 48 | 49 | 50 | 51 | 52 | 53 | 54 | 63 | 64 | 65 | 66 | 67 | 哈尔滨 68 | 69 | 之前咱们一篇《十大旅行失望之城》引起了大家的热议,有些读者跑来说,如果失望那就不要出来旅行啊!玻璃心真可怕,碎成渣势必到处扎。{"\n"}讲真,老艺术家可从从来不是只破不立的。最近我在召集一帮好友,准备搞一个值得推荐的国内目的地专题,前两天推送的《去云南,绕开大理和丽江!》就是其中之一。今天呢,我的朋友莎士比亚要为被黑出天际的哈尔滨小小正一下名:哈尔滨也有值得一去的地方,关键是,你懂不懂经! 70 | 71 | 別去亚龙湾了,去万宁石梅湾吧。 72 | 被誉为“天下第一湾”的亚龙湾,沙滩平缓宽阔,沙子洁白细软,海水清澈湛蓝。可是,作为海南岛最早开发的沙滩之一,这里早已成为高档酒店的聚集地,每逢节假日,下海玩水就如下锅煮佼子,眼前涌涌不知道是人浪还是海浪。{"\n"}同样是碧海银滩,石梅湾宁静开阔,背靠山丘,由于地理位置离最早开发的三亚有一段距离,即使是旅游黄金时段,游客也远远没有亚龙湾多,想要住豪华度假酒店这里也能满足你。{"\n"}更完美的是,你可以在沙滩上看日落,椰树的剪影再加上橙红的云彩,绝对能够俘获你的心。石梅湾是《非诚勿扰2》取景的其中一个地方,现在免费开放,但这福利可能不久之后就消失了 73 | 74 | 別去热带天堂森林公园了,去五指山吧。 75 | 被誉为“天下第一湾”的亚龙湾,沙滩平缓宽阔,沙子洁白细软,海水清澈湛蓝。可是,作为海南岛最早开发的沙准之一,这里早已成为高档酒店的聚集地,每逢节假日,下海玩水就如下锅煮饺子,眼前涌涌不知道是人浪还是海浪。{"\n"}同样是碧海银滩,石梅湾宁静开阔,背靠山丘,由于地理位置离最早开发的三亚有一段距离,即使是旅游黄金时段,游客也远远没有亚龙湾多,想要住豪华度假酒店这里也能满足你。{"\n"}更完美的是,你可以在沙滩上看日落,椰树的剪影再加上橙红的云彩,绝对能够俘获你的心。石梅湾是《非诚勿扰2》取景的其中一个地方,现在免费开放,但这福利可能不久之后就消失了。 76 | 77 | 別去凤凰岭了,去文昌铜鼓吧。 78 | 三亚的凤凰岭,能够俯瞰三亚四大海湾以及整个城市的风貌。它配备了先进的索道,加上山顶上有各种适合拍婚纱照的人造景观,吸引了一拨游客。不过,很多人会觉得,人造景观是什么鬼!{"\n"}文昌的铜鼓岭是一个同样能够让你体会登高望远快感的地方。它位于海南的最东角,在这里你可以鸟瞰附近的海滩,看到月亮湾的全景,弯弯的海岸,加上碧绿的树林,湛蓝的海岸。可惜的是,这个景点原本免费开放,最近已经紧锣密鼓准备开始收费管理了。 79 | 80 | 81 | 82 | 83 | ); 84 | } 85 | popTopHome() { 86 | this.props.navigator.pop(); 87 | } 88 | } 89 | const styles = StyleSheet.create({ 90 | container: { 91 | flex: 1, 92 | backgroundColor: '#F5FCFF', 93 | } 94 | }); 95 | module.exports = gongluea; -------------------------------------------------------------------------------- /component/guster.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | Dimensions, 10 | ScrollView, 11 | ListView, 12 | TouchableOpacity, 13 | } from 'react-native'; 14 | import LinearGradient from 'react-native-linear-gradient'; 15 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 16 | let WH = winHeight / 2295; 17 | let WW = winWidth / 1243; 18 | const instructions = Platform.select({ 19 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 20 | android: 21 | 'Double tap R on your keyboard to reload,\n' + 22 | 'Shake or press menu button for dev menu', 23 | }); 24 | 25 | 26 | export default class Information extends Component { 27 | render() { 28 | return ( 29 | 30 | 40 | 41 | 42 | 43 | 46 | 我的 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | WANGYUE 56 | 57 | 58 | 59 | 60 | 1556 61 | 62 | 63 | 64 | 2264 65 | 66 | 67 | 68 | 64 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 行程 78 | 79 | 80 | 81 | 82 | 83 | 上传 84 | 85 | 86 | 87 | 88 | 89 | 关注 90 | 91 | 92 | 93 | 94 | 95 | 收藏 96 | 97 | 98 | 99 | 100 | 101 | 收件箱 102 | 103 | 104 | 105 | 106 | 107 | 设置 108 | 109 | 110 | 111 | 112 | 113 | 发送反馈 114 | 115 | 116 | 117 | 118 | 119 | ); 120 | } 121 | } 122 | 123 | const styles = StyleSheet.create({ 124 | container: { 125 | flex: 1, 126 | backgroundColor: '#F5FCFF', 127 | }, 128 | mestyle: { 129 | width: WW * 60, 130 | height: WH * 95, 131 | marginRight: 100 * WW, 132 | resizeMode: 'contain' 133 | }, 134 | colorstyle: { 135 | fontWeight: 'bold', 136 | fontSize: WW * 50, 137 | alignSelf: 'center', 138 | }, 139 | viewstyle: { 140 | flexDirection: 'row', 141 | width: winWidth * 0.8, 142 | borderBottomWidth: 0.8, 143 | borderBottomColor: 'gray', 144 | padding: 40 * WH 145 | } 146 | 147 | }); 148 | -------------------------------------------------------------------------------- /component/home.js: -------------------------------------------------------------------------------- 1 | import React, { 2 | Component 3 | } from 'react'; 4 | import { 5 | Platform, 6 | StyleSheet, 7 | Text, 8 | View, 9 | Image, 10 | ScrollView, 11 | Dimensions, 12 | ListView, 13 | TouchableOpacity, 14 | } from 'react-native'; 15 | var Homedetail = require('./homedetail'); { /*引入路由组件*/ } 16 | import { 17 | TabNavigator, 18 | TabBarBottom, 19 | TabBarTop 20 | } from 'react-navigation'; 21 | import { 22 | Navigator 23 | } from 'react-native-deprecated-custom-components'; { /*颜色渐变组件*/ } 24 | import LinearGradient from 'react-native-linear-gradient'; { /*引入List组件json文件*/ } { /*let ListJson = require('../ListJson.json');*/ } { /*导入路由页面*/ } 25 | let homedetail = require('./homedetail'); 26 | import luyouhome from './luyouhome'; 27 | import zigonglue from './zigonglue'; 28 | import zidaiyou from './zidaiyou'; 29 | import zijiaocheng from './zijiaocheng'; 30 | import zituijian from './zituijian'; 31 | import zizhuyou from './zizhuyou'; { /*获取设备尺寸*/ } 32 | let { 33 | width: winWidth, 34 | height: winHeight, 35 | scale: winScale 36 | } = Dimensions.get('window'); 37 | let WH = winHeight / 2295; 38 | let WW = winWidth / 1243; 39 | const instructions = Platform.select({ 40 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 41 | android: 'Double tap R on your keyboard to reload,\n' + 42 | 'Shake or press menu button for dev menu', 43 | }); 44 | export default class Home extends Component { 45 | constructor() { 46 | super(); 47 | this.state = { 48 | selectedTab: 'home' 49 | } 50 | } 51 | render() { 52 | return ( 53 | 54 | 55 | ) 56 | } 57 | pushToDetail() { 58 | this.props.navigator.push({ 59 | component: Homedetail 60 | }) 61 | } 62 | 63 | } 64 | const Tab = TabNavigator({ 65 | 主页: { 66 | screen: luyouhome 67 | }, 68 | 自攻略: { 69 | screen: zigonglue 70 | }, 71 | 自助游: { 72 | screen: zizhuyou 73 | }, 74 | 自带游: { 75 | screen: zidaiyou 76 | }, 77 | 自推荐: { 78 | screen: zituijian 79 | }, 80 | 自教程: { 81 | screen: zijiaocheng 82 | } 83 | }, { 84 | tabBarComponent: TabBarTop, 85 | tabBarPosition: 'top', 86 | tabBarOptions: { 87 | tabStyle: { 88 | borderTopWidth: 0, 89 | borderBottomWidth: 0, 90 | paddingHorizontal: 0 91 | }, 92 | labelStyle: { 93 | borderTopWidth: 0, 94 | borderBottomWidth: 0, 95 | paddingHorizontal: 0 96 | }, 97 | activeTintColor: 'rgba(236,174,62,1)', 98 | inactiveTintColor: 'rgba(255,255,255,1)', 99 | style: { 100 | backgroundColor: 'transparent', 101 | borderColor: 'transparent', 102 | borderTopWidth: 0, 103 | elevation: 0, 104 | borderBottomWidth: 0, 105 | paddingHorizontal: 0 106 | } 107 | }, 108 | animationEnabled: true, 109 | swipeEnabled: false, 110 | }); { /*轮播图组件*/ } 111 | class TimerPhoto extends Component { 112 | constructor() { 113 | super() 114 | this.state = { 115 | currentPage: 0, 116 | } 117 | } 118 | render() { 119 | return ( 120 | 121 | this.onAnimationEnd(e) 133 | } 134 | style={ 135 | { 136 | height: WH * 584 137 | } 138 | } > 139 | < Image source={ 173 | { 174 | uri: 'lunbofo' 175 | } 176 | } 177 | style={ 178 | { 179 | width: winWidth, 180 | height: WH * 584 181 | } 182 | } 183 | /> 184 | ) 185 | } 186 | componentDidMount() { 187 | this.startTimer(); 188 | } 189 | onScrollBeginDrag() { 190 | clearInterval(this.timer) 191 | } 192 | onScrollEndDrag() { 193 | this.startTimer(); 194 | } 195 | onAnimationEnd(e) { 196 | let offSetX = e.nativeEvent.contentOffset.x; 197 | this.setState({ 198 | currentPage: Math.floor(offSetX / winWidth) 199 | }) 200 | } 201 | 202 | 203 | 204 | startTimer() { 205 | let ScrollView = this.refs.ScrollView; 206 | this.timer = setInterval(() => { 207 | let activePage = 0; 208 | if (this.state.currentPage >= 4) { 209 | activePage = 0; 210 | } else { 211 | activePage = this.state.currentPage + 1; 212 | } 213 | this.setState({ 214 | currentPage: activePage 215 | }) 216 | let timerX = activePage * winWidth; 217 | ScrollView.scrollTo({ 218 | x: timerX, 219 | animated: true 220 | }) 221 | }, 2500) 222 | } 223 | 224 | componentWillUnmount() { 225 | this.timer && clearInterval(this.timer); 226 | } 227 | } { /*列表组件*/ } 228 | class List extends Component { 229 | constructor(props) { 230 | super(props) 231 | let ds = new ListView.DataSource({ 232 | rowHasChanged: (r1, r2) => r1 !== r2 233 | }) 234 | this.state = { 235 | dataSource: ds.cloneWithRows(ListJson) 236 | } 237 | 238 | } 239 | render() { 240 | return ( 241 | 250 | 251 | 252 | 253 | ) 254 | } 255 | renderRow(rowdata, sectionid, rowid, highlightrow) { 256 | return ( { 261 | this.pushToDetail() 262 | } 263 | } > 264 | 267 | 279 | 280 | 281 | ) 282 | } 283 | pushToDetail() { 284 | this.props.navigator.push({ 285 | component: Homedetail 286 | }) 287 | } 288 | } { /*全局样式*/ } 289 | const styles = StyleSheet.create({ 290 | container: { 291 | flex: 1, 292 | alignItems: 'center', 293 | backgroundColor: 'rgba(255,255,255,1)', 294 | }, 295 | welcome: { 296 | fontSize: 20, 297 | textAlign: 'center', 298 | margin: 10, 299 | }, 300 | instructions: { 301 | textAlign: 'center', 302 | color: '#333333', 303 | marginBottom: 5, 304 | }, 305 | listViewStyle: { 306 | flexDirection: 'row', 307 | flexWrap: 'wrap' 308 | }, 309 | innerListView: { 310 | marginLeft: (winWidth - 584 * WW * 2) / 3, 311 | marginTop: WH * 15, 312 | }, 313 | textstyle: { 314 | fontSize: 48 / 4, 315 | color: '#ff9cec' 316 | }, 317 | navsBottom: { 318 | width: winWidth, 319 | flex: 1, 320 | top: 0, 321 | flexDirection: 'row', 322 | alignItems: 'flex-end', 323 | backgroundColor: 'rgba(255,255,255,0)', 324 | } 325 | }); -------------------------------------------------------------------------------- /component/homedetail.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | View, 7 | Image, 8 | Text, ScrollView, TouchableOpacity 9 | } from 'react-native'; 10 | import Video from 'react-native-video' 11 | import VideoControls from 'react-native-video-controls' 12 | let Dimensions = require('Dimensions'); 13 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 14 | let WH = winHeight / 2295; 15 | let WW = winWidth / 1243; 16 | const instructions = Platform.select({ 17 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 18 | android: 19 | 'Double tap R on your keyboard to reload,\n' + 20 | 'Shake or press menu button for dev menu', 21 | }); 22 | 23 | class Homedetail extends Component { 24 | render() { 25 | return ( 26 | 27 | 28 | 29 | 32 | { this.popTopHome() }}> 33 | 34 | 35 | 36 | 37 | 38 | 视频 39 | 40 | 41 | 42 | 51 | 52 | 53 | 54 | 55 | 音频 56 | 57 | 67 | 68 | 69 | 70 | 71 | ); 72 | } 73 | popTopHome() { 74 | this.props.navigator.pop(); 75 | } 76 | } 77 | const styles = StyleSheet.create({ 78 | container: { 79 | flex: 1, 80 | alignItems: 'center', 81 | backgroundColor: '#F5FCFF', 82 | } 83 | }); 84 | module.exports = Homedetail; 85 | -------------------------------------------------------------------------------- /component/jiaocheng.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | {/*引入渐变色API*/ } 14 | import LinearGradient from 'react-native-linear-gradient'; 15 | {/*引入导航API*/ } 16 | import TabNavigator from 'react-native-tab-navigator'; 17 | import { Navigator } from 'react-native-deprecated-custom-components'; 18 | {/*引入全局component*/ } 19 | let Dimensions = require('Dimensions'); 20 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 21 | let WH = winHeight / 2295; 22 | let WW = winWidth / 1243; 23 | const instructions = Platform.select({ 24 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 25 | android: 26 | 'Double tap R on your keyboard to reload,\n' + 27 | 'Shake or press menu button for dev menu', 28 | }); 29 | class Jiaocheng extends Component { 30 | render() { 31 | return ( 32 | 33 | 34 | 35 | 38 | { this.popTopHome() }}> 39 | 40 | 41 | 42 | 43 | 穿搭 44 | 45 | 46 | 宇宙最帅的旅行方式 47 | 48 | 49 | 50 | 51 | 穿什么去旅行才不拉低逼格 52 | 53 | 出门在外,不时遇到形象糟糕的游客。{"\n"} 54 | 欧洲小镇里大腹便便穿着彩色沙滩衣的美国大叔;登山却穿长裙戴草帽,束手束脚的女孩。会玩不会穿,真有点可怕。{"\n"} 55 | 快拿出小本本,今天咱们的FASHION IDOL坏狗要给大家开课——如何就地取材,使你的出游行头轻便又不俗套 56 | 57 | 58 | 59 | this is shipin 60 | 61 | 62 | 63 | 少带衣服多带钞票 64 | 很多人把旅行和时髦分得很开,觉得旅行根本不用收拾自己。这真是一个大大的误解。{"\n"} 65 | 早在十八世纪,欧洲的壮游者都是贵族子弟,后来这种传统旅行方式也扩展到富有的平民阶层。但他们都是绅士,状游是为了满足求知欲,而他们的行头无一不在彰显自己的品味和格调。{"\n"} 66 | 如今中国人最爱的时尚奢侈品牌之一路易威登,正是从其设计退出的一款轻便旅行箱而受到青睐的。这两年爆火的PETITE MALLE MONOGRAM小包,也是在向其经典旅行箱设计致敬。{"\n"} 67 | 在这个问题上,我也曾经奋力地蠢过。从前旅行箱恨不得拖家带口把所有家当都戴上,懒得仔细考虑,懒得细心搭配,一股脑把新置的单品全扔进行李箱,从没想过时髦的问题。 68 | 69 | 70 | 只带基本款走天下 71 | 现在想想,旅行中的模样很重要,自我欣赏才能带来好心情。而且,时髦真的不是一件无脑之事,用脑力劳动代替体力劳动才是上乘之举,要诀是: 72 | 73 | 74 | 基本款 75 | + 76 | 目的地风格 77 | = 78 | 好了,出发! 79 | 80 | 81 | 重装饰轻装修 82 | 重装饰轻装修,这是家居设计中人尽皆知的概念,也是我的搭配法则:{"\n"} 83 | 将简单但质地优良的基本款当做硬装,而软装靠细节和配饰来调度。{"\n"} 84 | 基本款是衣柜中的核心单品,不必每次旅行都另外添置;基本款可调度性极强,本身无显著风格,所谓风格,全屏搭配赋予 85 | 86 | 重装饰轻装修,这是家居设计中人尽皆知的概念,也是我的搭配法则:{"\n"} 87 | 将简单但质地优良的基本款当做硬装,而软装靠细节和配饰来调度。{"\n"} 88 | 基本款是衣柜中的核心单品,不必每次旅行都另外添置;基本款可调度性极强,本身无显著风格,所谓风格,全屏搭配赋予 89 | 90 | 白衬衫的质地和款式的区别,本身就有不同意味。衬衫的材质,从阮道硬:真丝、雪纺、麻、棉、牛津纺。{"\n"} 91 | 真丝最优雅,最能体现女性柔和的线条美,但不推荐BF风的真丝衬衫,垂坠感太强反而没了精神。另外真丝需要保养,遇汗易发黄,在旅行中穿略肉痛。牛津纺最硬挺,英伦风绝佳单品,但是洗涤比较难干。{"\n"} 92 | 相较之下,麻料吸汗排汗,最适合旅行,连褶皱都有几分慵懒闲适的度假气息,宽松的衬衫太能藏肉了,建议像我一样苹果型身材的姑娘能多入几件。 93 | 94 | 去年夏天,我想出了一个非常变态的计划。按照54321的收纳原则,我带了5件衬衫,4件下装,3条薄外套,2双鞋和1个包,打算在旅行期间轮番穿着他们,尝试尽可能多的搭配。旅途从加州出发,途径纽约,抵达伦敦和罗马,历时三周 95 | 96 | 在美国环西线公路,我穿着一件麻料衬衫,配高腰牛仔裤,再披一件的鹿皮马甲,和永远灿烂的加州阳光天然融合,脑海里单曲循环《IT NEVER RAINS IN SOUTHERN CALIFORNIA》。{"\n"} 97 | 在纽约,BODYSUIT加长款衬衫当外套,配上灰色的SKINNYSCARF。虽然这一身不够QUEENB,但走在曼哈顿的街头也不至于心虚。{"\n"} 98 | 在伦敦,为了使英伦范更足一些,我在衬衫领口搭了一个长领结。伦敦的阴冷天气风衣还是可以传到六月,感冒一次拖拉半个月才能好,出门前我还是披上了风衣。跨上剑桥包,此行所带唯一的包包,我发现他意外地百搭。 99 | 100 | 101 | 102 | 103 | ); 104 | } 105 | popTopHome() { 106 | this.props.navigator.pop(); 107 | } 108 | } 109 | const styles = StyleSheet.create({ 110 | container: { 111 | flex: 1, 112 | backgroundColor: '#F5FCFF', 113 | } 114 | }); 115 | module.exports = Jiaocheng; -------------------------------------------------------------------------------- /component/tuijian.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | {/*引入渐变色API*/ } 14 | import LinearGradient from 'react-native-linear-gradient'; 15 | {/*引入导航API*/ } 16 | import { TabNavigator, TabBarBottom } from 'react-navigation'; 17 | import { Navigator } from 'react-native-deprecated-custom-components'; 18 | {/*引入全局component*/ } 19 | let Dimensions = require('Dimensions'); 20 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 21 | let WH = winHeight / 2295; 22 | let WW = winWidth / 1243; 23 | const instructions = Platform.select({ 24 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 25 | android: 26 | 'Double tap R on your keyboard to reload,\n' + 27 | 'Shake or press menu button for dev menu', 28 | }); 29 | class tuijian extends Component { 30 | render() { 31 | return ( 32 | 33 | 34 | 35 | 38 | { this.popTopHome() }}> 39 | 40 | 41 | 42 | 觅食 43 | 有趣店铺推荐 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | ); 55 | } 56 | popTopHome() { 57 | this.props.navigator.pop(); 58 | } 59 | } 60 | const styles = StyleSheet.create({ 61 | container: { 62 | flex: 1, 63 | backgroundColor: '#F5FCFF', 64 | } 65 | }); 66 | 67 | module.exports = tuijian; -------------------------------------------------------------------------------- /component/zhuyou.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | {/*引入渐变色API*/ } 14 | import LinearGradient from 'react-native-linear-gradient'; 15 | {/*引入导航API*/ } 16 | import TabNavigator from 'react-native-tab-navigator'; 17 | import { Navigator } from 'react-native-deprecated-custom-components'; 18 | {/*引入全局component*/ } 19 | let Dimensions = require('Dimensions'); 20 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 21 | let WH = winHeight / 2295; 22 | let WW = winWidth / 1243; 23 | const instructions = Platform.select({ 24 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 25 | android: 26 | 'Double tap R on your keyboard to reload,\n' + 27 | 'Shake or press menu button for dev menu', 28 | }); 29 | class zhuyou extends Component { 30 | render() { 31 | return ( 32 | 33 | 34 | 35 | 38 | { this.popTopHome() }}> 39 | 40 | 41 | 42 | 43 | 园林专家 44 | 45 | 46 | 兰州方言讲景点 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | ); 57 | } 58 | popTopHome() { 59 | this.props.navigator.pop(); 60 | } 61 | } 62 | const styles = StyleSheet.create({ 63 | container: { 64 | flex: 1, 65 | backgroundColor: '#F5FCFF', 66 | } 67 | }); 68 | module.exports = zhuyou; -------------------------------------------------------------------------------- /component/zhuyoua.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | import VideoControls from 'react-native-video-controls' 14 | {/*引入渐变色API*/ } 15 | import LinearGradient from 'react-native-linear-gradient'; 16 | {/*引入导航API*/ } 17 | import TabNavigator from 'react-native-tab-navigator'; 18 | import { Navigator } from 'react-native-deprecated-custom-components'; 19 | {/*引入全局component*/ } 20 | let Dimensions = require('Dimensions'); 21 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 22 | let WH = winHeight / 2295; 23 | let WW = winWidth / 1243; 24 | const instructions = Platform.select({ 25 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 26 | android: 27 | 'Double tap R on your keyboard to reload,\n' + 28 | 'Shake or press menu button for dev menu', 29 | }); 30 | class zhuyoua extends Component { 31 | render() { 32 | return ( 33 | 34 | 35 | 36 | 39 | { this.popTopHome() }}> 40 | 41 | 42 | 43 | 44 | 园林专家 45 | 46 | 47 | 兰州方言讲景点 48 | 49 | 50 | 51 | 52 | 53 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | ); 70 | } 71 | popTopHome() { 72 | this.props.navigator.pop(); 73 | } 74 | } 75 | const styles = StyleSheet.create({ 76 | container: { 77 | flex: 1, 78 | backgroundColor: '#F5FCFF', 79 | } 80 | }); 81 | module.exports = zhuyoua; -------------------------------------------------------------------------------- /component/zhuyoub.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | import VideoControls from 'react-native-video-controls' 14 | {/*引入渐变色API*/ } 15 | import LinearGradient from 'react-native-linear-gradient'; 16 | {/*引入导航API*/ } 17 | import TabNavigator from 'react-native-tab-navigator'; 18 | import { Navigator } from 'react-native-deprecated-custom-components'; 19 | {/*引入全局component*/ } 20 | let Dimensions = require('Dimensions'); 21 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 22 | let WH = winHeight / 2295; 23 | let WW = winWidth / 1243; 24 | const instructions = Platform.select({ 25 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 26 | android: 27 | 'Double tap R on your keyboard to reload,\n' + 28 | 'Shake or press menu button for dev menu', 29 | }); 30 | class zhuyoub extends Component { 31 | render() { 32 | return ( 33 | 34 | 35 | 36 | 39 | { this.popTopHome() }}> 40 | 41 | 42 | 43 | 44 | 园林专家 45 | 46 | 47 | 兰州方言讲景点 48 | 49 | 50 | 51 | 52 | 53 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | ); 70 | } 71 | popTopHome() { 72 | this.props.navigator.pop(); 73 | } 74 | } 75 | const styles = StyleSheet.create({ 76 | container: { 77 | flex: 1, 78 | backgroundColor: '#F5FCFF', 79 | } 80 | }); 81 | module.exports = zhuyoub; -------------------------------------------------------------------------------- /component/zhuyouc.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | ScrollView, 10 | ListView, 11 | TouchableOpacity, 12 | } from 'react-native'; 13 | import VideoControls from 'react-native-video-controls' 14 | {/*引入渐变色API*/ } 15 | import LinearGradient from 'react-native-linear-gradient'; 16 | {/*引入导航API*/ } 17 | import TabNavigator from 'react-native-tab-navigator'; 18 | import { Navigator } from 'react-native-deprecated-custom-components'; 19 | {/*引入全局component*/ } 20 | let Dimensions = require('Dimensions'); 21 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 22 | let WH = winHeight / 2295; 23 | let WW = winWidth / 1243; 24 | const instructions = Platform.select({ 25 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 26 | android: 27 | 'Double tap R on your keyboard to reload,\n' + 28 | 'Shake or press menu button for dev menu', 29 | }); 30 | class zhuyoub extends Component { 31 | render() { 32 | return ( 33 | 34 | 35 | 36 | 39 | { this.popTopHome() }}> 40 | 41 | 42 | 43 | 44 | 园林专家 45 | 46 | 47 | 兰州方言讲景点 48 | 49 | 50 | 51 | 52 | 53 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | ); 70 | } 71 | popTopHome() { 72 | this.props.navigator.pop(); 73 | } 74 | } 75 | const styles = StyleSheet.create({ 76 | container: { 77 | flex: 1, 78 | backgroundColor: '#F5FCFF', 79 | } 80 | }); 81 | module.exports = zhuyoub; -------------------------------------------------------------------------------- /component/zidaiyou.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | Dimensions, 10 | ScrollView, 11 | ListView, 12 | TouchableOpacity, 13 | } from 'react-native'; 14 | var daiyou = require('./daiyou'); 15 | import { Navigator } from 'react-native-deprecated-custom-components'; 16 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 17 | let WH = winHeight / 2295; 18 | let WW = winWidth / 1243; 19 | const instructions = Platform.select({ 20 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 21 | android: 22 | 'Double tap R on your keyboard to reload,\n' + 23 | 'Shake or press menu button for dev menu', 24 | }); 25 | class zidaiyou extends Component { 26 | constructor() { 27 | super(); 28 | } 29 | render() { 30 | return ( 31 | { 34 | return Navigator.SceneConfigs.HorizontalSwipeJump; 35 | }} 36 | renderScene={(route, navigator) => { 37 | let Component = route.component; 38 | return 39 | }} 40 | /> 41 | ) 42 | } 43 | } 44 | class you extends Component { 45 | constructor() { 46 | super(); 47 | } 48 | render() { 49 | return ( 50 | 51 | 52 | 53 | { this.pushToDetail() }} > 56 | 57 | 58 | 59 | 60 | { this.pushToDetail() }} > 63 | 64 | 65 | 66 | 67 | { this.pushToDetail() }} > 70 | 71 | 72 | 73 | 74 | { this.pushToDetail() }} > 77 | 78 | 79 | 80 | 81 | { this.pushToDetail() }} > 84 | 85 | 86 | 87 | 88 | { this.pushToDetail() }} > 91 | 92 | 93 | 94 | 95 | { this.pushToDetail() }} > 98 | 99 | 100 | 101 | 102 | { this.pushToDetail() }} > 105 | 106 | 107 | 108 | 109 | { this.pushToDetail() }} > 112 | 113 | 114 | 115 | 116 | { this.pushToDetail() }} > 119 | 120 | 121 | 122 | 123 | { this.pushToDetail() }} > 126 | 127 | 128 | 129 | 130 | { this.pushToDetail() }} > 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | ) 141 | } 142 | pushToDetail() { 143 | this.props.navigator.push( 144 | { 145 | component: daiyou 146 | } 147 | ) 148 | } 149 | 150 | } 151 | const styles = StyleSheet.create({ 152 | container: { 153 | flex: 1, 154 | alignItems: 'center', 155 | backgroundColor: 'rgba(255,255,255,1)', 156 | }, 157 | innerListView: { 158 | marginLeft: (winWidth - 584 * WW * 2) / 3, 159 | marginTop: WH * 15, 160 | } 161 | }); 162 | module.exports = zidaiyou; -------------------------------------------------------------------------------- /component/zigonglue.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | Dimensions, 10 | ScrollView, 11 | ListView, 12 | TouchableOpacity, 13 | } from 'react-native'; 14 | var gonglue = require('./gonglue'); 15 | var gongluea = require('./gongluea'); 16 | import { Navigator } from 'react-native-deprecated-custom-components'; 17 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 18 | let WH = winHeight / 2295; 19 | let WW = winWidth / 1243; 20 | const instructions = Platform.select({ 21 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 22 | android: 23 | 'Double tap R on your keyboard to reload,\n' + 24 | 'Shake or press menu button for dev menu', 25 | }); 26 | class zigonglue extends Component { 27 | constructor() { 28 | super(); 29 | } 30 | render() { 31 | return ( 32 | { 35 | return Navigator.SceneConfigs.HorizontalSwipeJump; 36 | }} 37 | renderScene={(route, navigator) => { 38 | let Component = route.component; 39 | return 40 | }} 41 | /> 42 | ) 43 | } 44 | } 45 | class lue extends Component { 46 | constructor() { 47 | super(); 48 | } 49 | render() { 50 | return ( 51 | 52 | 53 | 54 | { this.pushToDetail() }} > 57 | 58 | 59 | 60 | 61 | { this.pushToDetails() }} > 64 | 65 | 66 | 67 | 68 | { this.pushToDetail() }} > 71 | 72 | 73 | 74 | 75 | { this.pushToDetail() }} > 78 | 79 | 80 | 81 | 82 | { this.pushToDetail() }} > 85 | 86 | 87 | 88 | 89 | { this.pushToDetail() }} > 92 | 93 | 94 | 95 | 96 | { this.pushToDetail() }} > 99 | 100 | 101 | 102 | 103 | { this.pushToDetail() }} > 106 | 107 | 108 | 109 | 110 | { this.pushToDetail() }} > 113 | 114 | 115 | 116 | 117 | { this.pushToDetail() }} > 120 | 121 | 122 | 123 | 124 | { this.pushToDetail() }} > 127 | 128 | 129 | 130 | 131 | { this.pushToDetail() }} > 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | ) 142 | } 143 | pushToDetail() { 144 | this.props.navigator.push( 145 | { 146 | component: gonglue 147 | } 148 | ) 149 | } 150 | pushToDetails() { 151 | this.props.navigator.push( 152 | { 153 | component: gongluea 154 | } 155 | ) 156 | } 157 | 158 | } 159 | const styles = StyleSheet.create({ 160 | container: { 161 | flex: 1, 162 | alignItems: 'center', 163 | backgroundColor: 'rgba(255,255,255,1)', 164 | }, 165 | innerListView: { 166 | marginLeft: (winWidth - 584 * WW * 2) / 3, 167 | marginTop: WH * 15, 168 | } 169 | }); 170 | module.exports = zigonglue; 171 | -------------------------------------------------------------------------------- /component/zijiaocheng.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | Dimensions, 10 | ScrollView, 11 | ListView, 12 | TouchableOpacity, 13 | } from 'react-native'; 14 | var jiaocheng = require('./jiaocheng'); 15 | import { Navigator } from 'react-native-deprecated-custom-components'; 16 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 17 | let WH = winHeight / 2295; 18 | let WW = winWidth / 1243; 19 | const instructions = Platform.select({ 20 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 21 | android: 22 | 'Double tap R on your keyboard to reload,\n' + 23 | 'Shake or press menu button for dev menu', 24 | }); 25 | class zijiaocheng extends Component { 26 | constructor() { 27 | super(); 28 | } 29 | render() { 30 | return ( 31 | { 34 | return Navigator.SceneConfigs.HorizontalSwipeJump; 35 | }} 36 | renderScene={(route, navigator) => { 37 | let Component = route.component; 38 | return 39 | }} 40 | /> 41 | ) 42 | } 43 | } 44 | class cheng extends Component { 45 | constructor() { 46 | super(); 47 | } 48 | render() { 49 | return ( 50 | 51 | 52 | 53 | { this.pushToDetail() }} > 56 | 57 | 58 | 59 | 60 | { this.pushToDetail() }} > 63 | 64 | 65 | 66 | 67 | { this.pushToDetail() }} > 70 | 71 | 72 | 73 | 74 | { this.pushToDetail() }} > 77 | 78 | 79 | 80 | 81 | { this.pushToDetail() }} > 84 | 85 | 86 | 87 | 88 | { this.pushToDetail() }} > 91 | 92 | 93 | 94 | 95 | { this.pushToDetail() }} > 98 | 99 | 100 | 101 | 102 | { this.pushToDetail() }} > 105 | 106 | 107 | 108 | 109 | { this.pushToDetail() }} > 112 | 113 | 114 | 115 | 116 | { this.pushToDetail() }} > 119 | 120 | 121 | 122 | 123 | { this.pushToDetail() }} > 126 | 127 | 128 | 129 | 130 | { this.pushToDetail() }} > 133 | 134 | 135 | 136 | 137 | { this.pushToDetail() }} > 140 | 141 | 142 | 143 | 144 | { this.pushToDetail() }} > 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | ) 155 | } 156 | pushToDetail() { 157 | this.props.navigator.push( 158 | { 159 | component: jiaocheng 160 | } 161 | ) 162 | } 163 | 164 | } 165 | const styles = StyleSheet.create({ 166 | container: { 167 | flex: 1, 168 | alignItems: 'center', 169 | backgroundColor: 'rgba(255,255,255,1)', 170 | }, 171 | innerListView: { 172 | marginLeft: (winWidth - 584 * WW * 2) / 3, 173 | marginTop: WH * 15, 174 | } 175 | }); 176 | module.exports = zijiaocheng; -------------------------------------------------------------------------------- /component/zituijian.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | Dimensions, 10 | ScrollView, 11 | ListView, 12 | TouchableOpacity, 13 | } from 'react-native'; 14 | var tuijian = require('./tuijian'); 15 | import { Navigator } from 'react-native-deprecated-custom-components'; 16 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 17 | let WH = winHeight / 2295; 18 | let WW = winWidth / 1243; 19 | const instructions = Platform.select({ 20 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 21 | android: 22 | 'Double tap R on your keyboard to reload,\n' + 23 | 'Shake or press menu button for dev menu', 24 | }); 25 | class zituijian extends Component { 26 | constructor() { 27 | super(); 28 | } 29 | render() { 30 | return ( 31 | { 34 | return Navigator.SceneConfigs.HorizontalSwipeJump; 35 | }} 36 | renderScene={(route, navigator) => { 37 | let Component = route.component; 38 | return 39 | }} 40 | /> 41 | ) 42 | } 43 | } 44 | class jian extends Component { 45 | constructor() { 46 | super(); 47 | } 48 | render() { 49 | return ( 50 | 51 | 52 | { this.pushToDetail() }} > 55 | 56 | 觅食 57 | 58 | 59 | { this.pushToDetail() }} > 62 | 63 | 下榻 64 | 65 | 66 | { this.pushToDetail() }} > 69 | 70 | 探店 71 | 72 | 73 | 74 | 75 | ) 76 | } 77 | pushToDetail() { 78 | this.props.navigator.push( 79 | { 80 | component: tuijian 81 | } 82 | ) 83 | } 84 | 85 | } 86 | const styles = StyleSheet.create({ 87 | container: { 88 | flex: 1, 89 | alignItems: 'center', 90 | backgroundColor: 'rgba(255,255,255,1)', 91 | }, 92 | innerListView: { 93 | marginLeft: (winWidth - 584 * WW * 2) / 3, 94 | marginTop: WH * 15, 95 | } 96 | }); 97 | module.exports = zituijian; -------------------------------------------------------------------------------- /component/zizhuyou.js: -------------------------------------------------------------------------------- 1 | 2 | import React, { Component } from 'react'; 3 | import { 4 | Platform, 5 | StyleSheet, 6 | Text, 7 | View, 8 | Image, 9 | Dimensions, 10 | ScrollView, 11 | ListView, 12 | TouchableOpacity, 13 | } from 'react-native'; 14 | var zhuyou = require('./zhuyou'); 15 | var zhuyoua = require('./zhuyoua'); 16 | var zhuyoub = require('./zhuyoub'); 17 | var zhuyouc = require('./zhuyouc'); 18 | import { Navigator } from 'react-native-deprecated-custom-components'; 19 | let { width: winWidth, height: winHeight, scale: winScale } = Dimensions.get('window'); 20 | let WH = winHeight / 2295; 21 | let WW = winWidth / 1243; 22 | const instructions = Platform.select({ 23 | ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu', 24 | android: 25 | 'Double tap R on your keyboard to reload,\n' + 26 | 'Shake or press menu button for dev menu', 27 | }); 28 | class zizhuyou extends Component { 29 | constructor() { 30 | super(); 31 | } 32 | render() { 33 | return ( 34 | { 37 | return Navigator.SceneConfigs.HorizontalSwipeJump; 38 | }} 39 | renderScene={(route, navigator) => { 40 | let Component = route.component; 41 | return 42 | }} 43 | /> 44 | ) 45 | } 46 | } 47 | class you extends Component { 48 | constructor() { 49 | super(); 50 | } 51 | render() { 52 | return ( 53 | 54 | 55 | 56 | { this.pushToDetaila() }} > 59 | 60 | 63 | 64 | 65 | { this.pushToDetailb() }} > 68 | 69 | 70 | 71 | 72 | { this.pushToDetailc() }} > 75 | 76 | 79 | 80 | 81 | { this.pushToDetail() }} > 84 | 85 | 88 | 89 | 90 | { this.pushToDetail() }} > 93 | 94 | 97 | 98 | 99 | { this.pushToDetail() }} > 102 | 103 | 106 | 107 | 108 | { this.pushToDetail() }} > 111 | 112 | 115 | 116 | 117 | { this.pushToDetail() }} > 120 | 121 | 124 | 125 | 126 | 127 | 128 | 129 | ) 130 | } 131 | pushToDetail() { 132 | this.props.navigator.push( 133 | { 134 | component: zhuyou 135 | } 136 | ) 137 | } 138 | pushToDetaila() { 139 | this.props.navigator.push( 140 | { 141 | component: zhuyoua 142 | } 143 | ) 144 | } 145 | pushToDetailb() { 146 | this.props.navigator.push( 147 | { 148 | component: zhuyoub 149 | } 150 | ) 151 | } 152 | pushToDetailc() { 153 | this.props.navigator.push( 154 | { 155 | component: zhuyouc 156 | } 157 | ) 158 | } 159 | 160 | } 161 | const styles = StyleSheet.create({ 162 | container: { 163 | flex: 1, 164 | alignItems: 'center', 165 | backgroundColor: 'rgba(255,255,255,1)', 166 | }, 167 | innerListView: { 168 | marginLeft: (winWidth - 584 * WW * 2) / 3, 169 | marginTop: WH * 30, 170 | } 171 | }); 172 | module.exports = zizhuyou; -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** @format */ 2 | 3 | import {AppRegistry} from 'react-native'; 4 | import App from './App'; 5 | import {name as appName} from './app.json'; 6 | 7 | AppRegistry.registerComponent(appName, () => App); 8 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION.xcodeproj/xcshareddata/xcschemes/FINAL_VERSION-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION.xcodeproj/xcshareddata/xcschemes/FINAL_VERSION.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | @interface AppDelegate : UIResponder 11 | 12 | @property (nonatomic, strong) UIWindow *window; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | 13 | @implementation AppDelegate 14 | 15 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 16 | { 17 | NSURL *jsCodeLocation; 18 | 19 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 20 | 21 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 22 | moduleName:@"FINAL_VERSION" 23 | initialProperties:nil 24 | launchOptions:launchOptions]; 25 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 26 | 27 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 28 | UIViewController *rootViewController = [UIViewController new]; 29 | rootViewController.view = rootView; 30 | self.window.rootViewController = rootViewController; 31 | [self.window makeKeyAndVisible]; 32 | return YES; 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/chaoshan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/chaoshan.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/chengdu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/chengdu.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/guster.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/guster.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/guster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/guster.png -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/haerbin.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/haerbin.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/home.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/home.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/home.png -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/information.png -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/left.png -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/leftplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/leftplus.png -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/lunbo1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/lunbo1.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/moluoge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/moluoge.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/music.png -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/nanchang.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/nanchang.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/nanjing.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/nanjing.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/quanzhou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/quanzhou.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/right.png -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/search.png -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Images.xcassets/text.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hi-craft/ReactNative-App/d9707358dfca62ad1d2c83b0798f8c73b1b58ecb/ios/FINAL_VERSION/Images.xcassets/text.jpg -------------------------------------------------------------------------------- /ios/FINAL_VERSION/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | FINAL_VERSION 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UIViewControllerBasedStatusBarAppearance 40 | 41 | NSLocationWhenInUseUsageDescription 42 | 43 | NSAppTransportSecurity 44 | 45 | 46 | NSExceptionDomains 47 | 48 | localhost 49 | 50 | NSExceptionAllowsInsecureHTTPLoads 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /ios/FINAL_VERSION/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ios/FINAL_VERSIONTests/FINAL_VERSIONTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface FINAL_VERSIONTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation FINAL_VERSIONTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /ios/FINAL_VERSIONTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FINAL_VERSION", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "react": "16.4.1", 11 | "react-native": "0.56.0", 12 | "react-native-deprecated-custom-components": "^0.1.2", 13 | "react-native-fast-image": "^4.0.14", 14 | "react-native-linear-gradient": "^2.4.0", 15 | "react-native-tab-navigator": "^0.3.4", 16 | "react-native-video": "^3.2.0", 17 | "react-native-video-controls": "^2.2.3", 18 | "react-navigation": "^2.11.2" 19 | }, 20 | "devDependencies": { 21 | "babel-jest": "23.4.2", 22 | "babel-preset-react-native": "^5", 23 | "jest": "23.4.2", 24 | "react-test-renderer": "16.4.1" 25 | }, 26 | "jest": { 27 | "preset": "react-native" 28 | } 29 | } 30 | --------------------------------------------------------------------------------