|
@@ -1,6 +1,7 @@
|
|
import React from 'react';
|
|
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';
|
|
import { useNavigation } from '@react-navigation/native';
|
|
|
|
+import TabScreen from '../../components/Tab';
|
|
|
|
|
|
const PlayScreen = () => {
|
|
const PlayScreen = () => {
|
|
const navigation = useNavigation();
|
|
const navigation = useNavigation();
|
|
@@ -10,22 +11,9 @@ const PlayScreen = () => {
|
|
return (
|
|
return (
|
|
<View style={styles.main}>
|
|
<View style={styles.main}>
|
|
<View>
|
|
<View>
|
|
- <TouchableOpacity onPress={() => getJump('Team')}>
|
|
|
|
- <Text>球队</Text>
|
|
|
|
- </TouchableOpacity>
|
|
|
|
- <TouchableOpacity onPress={() => getJump('Data')}>
|
|
|
|
- <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>
|
|
|
|
|
|
+Play
|
|
</View>
|
|
</View>
|
|
|
|
+ <TabScreen></TabScreen>
|
|
</View>
|
|
</View>
|
|
);
|
|
);
|
|
};
|
|
};
|