- 实现拍照识别食物功能(集成大语言模型视觉能力) - 实现智能对话功能(集成大语言模型流式输出) - 实现食物记录和卡路里管理功能 - 实现体重记录和统计功能 - 实现健康数据管理页面 - 配置数据库表结构(用户、食物记录、体重记录) - 实现Express后端API路由 - 配置Tab导航和前端页面 - 采用健康运动配色方案
26 lines
866 B
TypeScript
26 lines
866 B
TypeScript
import { View, Text } from 'react-native';
|
|
import { Image } from 'expo-image';
|
|
|
|
import { useTheme } from '@/hooks/useTheme';
|
|
import { Screen } from '@/components/Screen';
|
|
import { styles } from './styles';
|
|
|
|
export default function DemoPage() {
|
|
const { theme, isDark } = useTheme();
|
|
|
|
return (
|
|
<Screen backgroundColor={theme.backgroundRoot} statusBarStyle={isDark ? 'light' : 'dark'}>
|
|
<View
|
|
style={styles.container}
|
|
>
|
|
<Image
|
|
style={styles.logo}
|
|
source="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/coze-coding/expo/coze-loading.gif"
|
|
></Image>
|
|
<Text style={{...styles.title, color: theme.textPrimary}}>APP 开发中</Text>
|
|
<Text style={{...styles.description, color: theme.textSecondary}}>即将为您呈现应用界面</Text>
|
|
</View>
|
|
</Screen>
|
|
);
|
|
}
|