Commit 11238cf1 authored by zhangkaixuan11's avatar zhangkaixuan11

1

parent 45077f31
......@@ -30,6 +30,7 @@ import Reset from './src/components/Reset';
// 改版首页
import HomeIndex from './src/home202201/Index';
import WebView from './src/webview/Index';
// 业务逻辑组件 [直播]
import LiveIndex from './src/live/Index';
......@@ -287,14 +288,19 @@ export default class App extends Component {
component={MainStack}
options={{ headerShown: false }}
/> */}
<Root.Screen
name="Login"
component={Login}
options={{ headerShown: false }}
/>
<Root.Screen
name="HomeIndex"
component={HomeIndex}
options={{ headerShown: false }}
/>
<Root.Screen
name="Login"
component={Login}
name="LiveIndex"
component={HomeIndex}
options={{ headerShown: false }}
/>
<Root.Screen
......@@ -302,6 +308,11 @@ export default class App extends Component {
component={Reset}
options={{ headerShown: false }}
/>
<Root.Screen
name="webview"
component={WebView}
options={{ headerShown: true,title:'学习中心' }}
/>
</Root.Navigator>
</NavigationContainer>
</SafeAreaProvider>
......
......@@ -7,7 +7,8 @@
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
"lint": "eslint .",
"a-build":"react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.13.4",
......@@ -55,6 +56,7 @@
"react-native-video": "^5.1.1",
"react-native-video-controls": "^2.8.1",
"react-native-view-shot": "^3.1.2",
"react-native-webview": "^11.16.0",
"react-native-wheel-picker": "^1.2.0",
"teaset": "^0.7.5"
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment