Commit 11238cf1 authored by zhangkaixuan11's avatar zhangkaixuan11

1

parent 45077f31
...@@ -30,6 +30,7 @@ import Reset from './src/components/Reset'; ...@@ -30,6 +30,7 @@ import Reset from './src/components/Reset';
// 改版首页 // 改版首页
import HomeIndex from './src/home202201/Index'; import HomeIndex from './src/home202201/Index';
import WebView from './src/webview/Index';
// 业务逻辑组件 [直播] // 业务逻辑组件 [直播]
import LiveIndex from './src/live/Index'; import LiveIndex from './src/live/Index';
...@@ -287,14 +288,19 @@ export default class App extends Component { ...@@ -287,14 +288,19 @@ export default class App extends Component {
component={MainStack} component={MainStack}
options={{ headerShown: false }} options={{ headerShown: false }}
/> */} /> */}
<Root.Screen
name="Login"
component={Login}
options={{ headerShown: false }}
/>
<Root.Screen <Root.Screen
name="HomeIndex" name="HomeIndex"
component={HomeIndex} component={HomeIndex}
options={{ headerShown: false }} options={{ headerShown: false }}
/> />
<Root.Screen <Root.Screen
name="Login" name="LiveIndex"
component={Login} component={HomeIndex}
options={{ headerShown: false }} options={{ headerShown: false }}
/> />
<Root.Screen <Root.Screen
...@@ -302,6 +308,11 @@ export default class App extends Component { ...@@ -302,6 +308,11 @@ export default class App extends Component {
component={Reset} component={Reset}
options={{ headerShown: false }} options={{ headerShown: false }}
/> />
<Root.Screen
name="webview"
component={WebView}
options={{ headerShown: true,title:'学习中心' }}
/>
</Root.Navigator> </Root.Navigator>
</NavigationContainer> </NavigationContainer>
</SafeAreaProvider> </SafeAreaProvider>
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"ios": "react-native run-ios", "ios": "react-native run-ios",
"start": "react-native start", "start": "react-native start",
"test": "jest", "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": { "dependencies": {
"@react-native-async-storage/async-storage": "^1.13.4", "@react-native-async-storage/async-storage": "^1.13.4",
...@@ -55,6 +56,7 @@ ...@@ -55,6 +56,7 @@
"react-native-video": "^5.1.1", "react-native-video": "^5.1.1",
"react-native-video-controls": "^2.8.1", "react-native-video-controls": "^2.8.1",
"react-native-view-shot": "^3.1.2", "react-native-view-shot": "^3.1.2",
"react-native-webview": "^11.16.0",
"react-native-wheel-picker": "^1.2.0", "react-native-wheel-picker": "^1.2.0",
"teaset": "^0.7.5" "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