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

@@ -57,8 +57,7 @@ export function FullscreenMediaModal({
}
}, [visible, currentIndex]);
// 处理媒体加载完成(移动平台)
const handleMediaLoad = () => {
const markMediaLoaded = () => {
setIsLoading(false);
};
@@ -156,11 +155,9 @@ export function FullscreenMediaModal({
style={styles.mediaContainer}
onPress={handleMediaPress}
activeOpacity={1}
pointerEvents="box-none"
>
<View
style={styles.mediaWrapper}
pointerEvents="auto"
{...panResponder.panHandlers}
>
{/* 根据模板类型显示对应内容 */}
@@ -179,7 +176,7 @@ export function FullscreenMediaModal({
autoPlay={true}
fullscreenMode={true}
onPress={handleMediaPress}
onReady={handleMediaLoad}
onReady={(_status) => markMediaLoaded()}
onWebLoadedData={handleWebVideoLoad}
onError={handleMediaError}
/>
@@ -189,7 +186,7 @@ export function FullscreenMediaModal({
source={{ uri: currentTemplate.coverImageUrl || '' }}
style={styles.image}
contentFit="contain"
onLoad={handleMediaLoad}
onLoad={() => markMediaLoaded()}
onError={handleMediaError}
placeholder={{ blurhash: 'L6PZfSi_.AyE_3t7t7R**0o#DgR4' }}
transition={300}