feat: 完整应用重构 - 优化界面架构与用户体验

主要变更:
- 重构应用界面:优化首页、登录、认证流程
- 新增用户档案模块:包含完整的档案管理组件
- 优化路由结构:重新组织页面布局和导航
- 改进API集成:新增活动、内容分类等API模块
- 删除冗余组件:清理不必要的文件和依赖

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
imeepos
2025-11-03 12:44:12 +08:00
parent b9399bf4cf
commit af64049c69
52 changed files with 2832 additions and 2007 deletions

View File

@@ -5,7 +5,7 @@ import { router } from 'expo-router';
import { ThemedView } from '@/components/themed-view';
import { ThemedText } from '@/components/themed-text';
import { useThemeColor } from '@/hooks/use-theme-color';
import { IconSymbol } from '@/components/ui/icon-symbol';
import { IconSymbol, type IconSymbolName } from '@/components/ui/icon-symbol';
interface SettingsListProps {
onLogout: () => void;
@@ -14,7 +14,7 @@ interface SettingsListProps {
interface SettingItem {
id: string;
title: string;
icon: string;
icon: IconSymbolName;
onPress?: () => void;
destructive?: boolean;
}
@@ -41,7 +41,8 @@ export function SettingsList({ onLogout }: SettingsListProps) {
id: 'privacy',
title: '隐私设置',
icon: 'lock',
onPress: () => router.push('/settings/privacy'),
onPress: () =>
Alert.alert('敬请期待', '隐私设置即将上线,敬请期待。'),
},
{
id: 'about',
@@ -53,7 +54,8 @@ export function SettingsList({ onLogout }: SettingsListProps) {
id: 'feedback',
title: '意见反馈',
icon: 'exclamationmark.bubble',
onPress: () => router.push('/settings/feedback'),
onPress: () =>
Alert.alert('感谢反馈', '请通过 support@bowong.cc 与我们联系。'),
},
{
id: 'logout',
@@ -162,4 +164,4 @@ const styles = StyleSheet.create({
settingTitle: {
fontSize: 16,
},
});
});