import { Colors } from '@/constants/Colors'; import { useColorScheme } from '@/hooks/useColorScheme'; import { Ionicons } from '@expo/vector-icons'; import { LinearGradient } from 'expo-linear-gradient'; import { useRouter } from 'expo-router'; import React from 'react'; import { SafeAreaView, StyleSheet, Text, TouchableOpacity, View } from 'react-native'; export default function GoalDemoScreen() { const router = useRouter(); const theme = useColorScheme() ?? 'light'; const colorTokens = Colors[theme]; return ( router.back()} > 目标管理演示 智能目标管理系统 体验高保真的目标管理界面,包含待办事项卡片滑动、时间筛选器和可滚动时间轴。界面完全按照您的需求设计,支持: 横向滑动的待办事项卡片(首屏1.5张) 天/周/月时间筛选选择器 可滚动的时间轴和任务显示 支持同一时间多任务的左右上下滑动 router.push('/goals')} > 进入目标管理页面 ); } const styles = StyleSheet.create({ container: { flex: 1, }, backgroundGradient: { position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, }, content: { flex: 1, padding: 20, }, header: { flexDirection: 'row', alignItems: 'center', marginBottom: 30, marginTop: 20, }, backButton: { width: 40, height: 40, borderRadius: 20, justifyContent: 'center', alignItems: 'center', marginRight: 16, shadowColor: '#000', shadowOffset: { width: 0, height: 2 }, shadowOpacity: 0.1, shadowRadius: 4, elevation: 3, }, title: { fontSize: 24, fontWeight: '800', }, demoContainer: { flex: 1, justifyContent: 'center', }, demoCard: { borderRadius: 24, padding: 32, shadowColor: '#000', shadowOffset: { width: 0, height: 8 }, shadowOpacity: 0.15, shadowRadius: 20, elevation: 10, alignItems: 'center', }, iconContainer: { width: 80, height: 80, borderRadius: 40, backgroundColor: '#E6F3FF', justifyContent: 'center', alignItems: 'center', marginBottom: 24, }, demoTitle: { fontSize: 24, fontWeight: '700', marginBottom: 16, textAlign: 'center', }, demoDescription: { fontSize: 16, lineHeight: 24, textAlign: 'center', marginBottom: 24, }, featureList: { alignSelf: 'stretch', marginBottom: 32, }, featureItem: { flexDirection: 'row', alignItems: 'center', marginBottom: 12, }, featureText: { fontSize: 14, marginLeft: 8, flex: 1, }, enterButton: { flexDirection: 'row', alignItems: 'center', paddingHorizontal: 32, paddingVertical: 16, borderRadius: 28, shadowColor: '#87CEEB', shadowOffset: { width: 0, height: 4 }, shadowOpacity: 0.3, shadowRadius: 8, elevation: 6, }, enterButtonText: { fontSize: 16, fontWeight: '700', marginRight: 8, }, });