Browse Source

日常开发

林旭祥 6 days ago
parent
commit
a58b7867ab
1 changed files with 18 additions and 7 deletions
  1. 18 7
      src/pages/Home/index.tsx

+ 18 - 7
src/pages/Home/index.tsx

@@ -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>
   );
 };