|
@@ -1,5 +1,5 @@
|
|
|
import React from 'react';
|
|
|
-import {StyleSheet, View, Text, TouchableOpacity} from 'react-native';
|
|
|
+import { StyleSheet, View, Text, TouchableOpacity } from 'react-native';
|
|
|
import { useNavigation } from '@react-navigation/native';
|
|
|
|
|
|
const HomeScreen = () => {
|
|
@@ -9,12 +9,23 @@ const HomeScreen = () => {
|
|
|
};
|
|
|
return (
|
|
|
<View style={styles.main}>
|
|
|
- <TouchableOpacity onPress={()=>getJump('Face')}>
|
|
|
- <Text>1、进入人脸识别</Text>
|
|
|
- </TouchableOpacity>
|
|
|
- <TouchableOpacity onPress={()=>getJump('Custom')}>
|
|
|
- <Text>2、自定义SDK</Text>
|
|
|
- </TouchableOpacity>
|
|
|
+ <View>
|
|
|
+ <TouchableOpacity onPress={() => getJump('Face')}>
|
|
|
+ <Text>球队</Text>
|
|
|
+ </TouchableOpacity>
|
|
|
+ <TouchableOpacity onPress={() => getJump('Custom')}>
|
|
|
+ <Text>数据</Text>
|
|
|
+ </TouchableOpacity>
|
|
|
+ <TouchableOpacity onPress={() => getJump('Custom')}>
|
|
|
+ <Text>PLAY</Text>
|
|
|
+ </TouchableOpacity>
|
|
|
+ <TouchableOpacity onPress={() => getJump('Custom')}>
|
|
|
+ <Text>赛事</Text>
|
|
|
+ </TouchableOpacity>
|
|
|
+ <TouchableOpacity onPress={() => getJump('Custom')}>
|
|
|
+ <Text>我的</Text>
|
|
|
+ </TouchableOpacity>
|
|
|
+ </View>
|
|
|
</View>
|
|
|
);
|
|
|
};
|