-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ios.js
More file actions
75 lines (69 loc) · 1.73 KB
/
index.ios.js
File metadata and controls
75 lines (69 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import { AppRegistry, Text, View, Button, Alert,Image,ScrollView, StyleSheet } from 'react-native';
import HomePage from './Home/Home.js';
import MovieList from "./movies/MovieList";
import MovieDetail from "./movies/MovieDetail";
import StudyList from './Study/studyList';
import LoadingToast from './Study/LoadingToast';
import PickerView from './Study/PickerView';
import ServiceList from './Study/ServiceList';
import TextInput from './Study/TextInput';
import LKLocation from './Study/LKLocation';
import LKAnimation from './Study/LKAnimation';
import PhotoAndVideoSelct from './Study/PhotoAndVideoSelct';
import LoginWowo from './Study/loginwowo';
import {StackNavigator} from 'react-navigation';
import './Public/Global.js';
//页面路由
const KevinReactNativeProject = StackNavigator({
Home:{
screen:HomePage,
},
MovieList:{
screen:MovieList,
},
Details:{
screen:MovieDetail,
},
StudyList:{
screen:StudyList,
},
LoadingToast:{
screen:LoadingToast,
},
Picker:{
screen:PickerView,
},
ServiceList: {
screen:ServiceList
},
TextInput: {
screen:TextInput,
},
LKLocation: {
screen:LKLocation,
},
LKAnimation: {
screen: LKAnimation,
},
PhotoAndVideoSelct: {
screen:PhotoAndVideoSelct,
},
LoginWowo: {
screen:LoginWowo,
},
},
{
initialRouteName: 'Home',
headerMode: 'float',
navigationOptions: {
headerBackTitle: '返回'
},
}
);
AppRegistry.registerComponent('KevinReactNativeProject', () => KevinReactNativeProject);