docs: 更新文档与 demo
- 更新 docs/ 与 app-ios/docs/ - 更新 app-ios/demo、assets/demo、app-ios 代码与计划 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: Life Echo MVP Client
|
name: Life Echo MVP Client
|
||||||
overview: Build a minimal viable React Native client for "往事拾遗" (Life Echo) - a memoir creation app targeting Chinese users. The app will feature WeChat-style chat UI, e-book reading experience, and a profile page, using gluestack.io v3 components with a warm purple color scheme.
|
overview: Build a minimal viable React Native client for "岁月时书" (Life Echo) - a memoir creation app targeting Chinese users. The app will feature WeChat-style chat UI, e-book reading experience, and a profile page, using gluestack.io v3 components with a warm purple color scheme.
|
||||||
todos:
|
todos:
|
||||||
- id: setup-gluestack
|
- id: setup-gluestack
|
||||||
content: Install and configure gluestack-ui v3 with custom theme tokens
|
content: Install and configure gluestack-ui v3 with custom theme tokens
|
||||||
@@ -82,7 +82,7 @@ File: `constants/theme.ts` - Define color tokens following the design rules:
|
|||||||
|
|
||||||
### Screen 1: Chat List (`app/(tabs)/index.tsx`)
|
### Screen 1: Chat List (`app/(tabs)/index.tsx`)
|
||||||
|
|
||||||
- Header with app title "往事拾遗" and subtitle
|
- Header with app title "岁月时书" and subtitle
|
||||||
- Medium purple header background (#A177A6)
|
- Medium purple header background (#A177A6)
|
||||||
- Conversation list item with:
|
- Conversation list item with:
|
||||||
- Avatar (lavender background with book emoji)
|
- Avatar (lavender background with book emoji)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default function ChatListScreen() {
|
|||||||
<SafeAreaView style={styles.container} edges={['top']}>
|
<SafeAreaView style={styles.container} edges={['top']}>
|
||||||
{/* Header */}
|
{/* Header */}
|
||||||
<View style={styles.header}>
|
<View style={styles.header}>
|
||||||
<Text style={styles.headerTitle}>往事拾遗</Text>
|
<Text style={styles.headerTitle}>岁月时书</Text>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* Content */}
|
{/* Content */}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>往事拾遗 - 对话列表</title>
|
<title>岁月时书 - 对话列表</title>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
|
||||||
@@ -301,7 +301,7 @@
|
|||||||
<div class="screen">
|
<div class="screen">
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h1 class="header-title">往事拾遗</h1>
|
<h1 class="header-title">岁月时书</h1>
|
||||||
<p class="header-subtitle">用对话,留住珍贵的记忆</p>
|
<p class="header-subtitle">用对话,留住珍贵的记忆</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>往事拾遗 - 聊天</title>
|
<title>岁月时书 - 聊天</title>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>往事拾遗 - Demo</title>
|
<title>岁月时书 - Demo</title>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
|
||||||
@@ -1899,7 +1899,7 @@
|
|||||||
<!-- Chat List View -->
|
<!-- Chat List View -->
|
||||||
<div class="chat-list-view" id="chatListView">
|
<div class="chat-list-view" id="chatListView">
|
||||||
<div class="chat-list-header">
|
<div class="chat-list-header">
|
||||||
<h1 class="chat-list-title">往事拾遗</h1>
|
<h1 class="chat-list-title">岁月时书</h1>
|
||||||
<p class="chat-list-subtitle">用对话,留住珍贵的记忆</p>
|
<p class="chat-list-subtitle">用对话,留住珍贵的记忆</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="chat-list-content">
|
<div class="chat-list-content">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# 《往事拾遗》MVP(PRD 2.0)
|
# 《岁月时书》MVP(PRD 2.0)
|
||||||
|
|
||||||
一定要使用 docs/color.png 的配色(不使用渐变),界面简洁,交互优雅
|
一定要使用 docs/color.png 的配色(不使用渐变),界面简洁,交互优雅
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
**A. 顶部头部**
|
**A. 顶部头部**
|
||||||
|
|
||||||
* 应用标题:`往事拾遗`
|
* 应用标题:`岁月时书`
|
||||||
* 副标题:`用对话,留住珍贵的记忆`
|
* 副标题:`用对话,留住珍贵的记忆`
|
||||||
* 背景色:中紫色 `#A177A6`
|
* 背景色:中紫色 `#A177A6`
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# 《往事拾遗》MVP – User Stories(V1)
|
# 《岁月时书》MVP – User Stories(V1)
|
||||||
|
|
||||||
> **视角说明**
|
> **视角说明**
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# 往事拾遗 - 客户端需求文档 V1
|
# 岁月时书 - 客户端需求文档 V1
|
||||||
|
|
||||||
> **产品定位**:一款帮助用户(尤其是中老年人)通过 AI 引导对话,将人生故事整理成回忆录的移动应用。
|
> **产品定位**:一款帮助用户(尤其是中老年人)通过 AI 引导对话,将人生故事整理成回忆录的移动应用。
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
**功能要求**
|
**功能要求**
|
||||||
- 应用启动默认进入对话列表页
|
- 应用启动默认进入对话列表页
|
||||||
- 页面标题显示「往事拾遗」
|
- 页面标题显示「岁月时书」
|
||||||
- V1 版本仅显示一个默认对话:「回忆录助手」
|
- V1 版本仅显示一个默认对话:「回忆录助手」
|
||||||
- 头像(📖 emoji)
|
- 头像(📖 emoji)
|
||||||
- 对话标题:回忆录助手
|
- 对话标题:回忆录助手
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 往事拾遗 - 服务端需求文档 V1
|
# 岁月时书 - 服务端需求文档 V1
|
||||||
|
|
||||||
> **产品定位**:为「往事拾遗」客户端提供 AI 对话、回忆录生成、用户管理等核心后端服务。
|
> **产品定位**:为「岁月时书」客户端提供 AI 对话、回忆录生成、用户管理等核心后端服务。
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<title>往事拾遗 - Demo</title>
|
<title>岁月时书 - Demo</title>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# 《往事拾遗》MVP(PRD 2.0)
|
# 《岁月时书》MVP(PRD 2.0)
|
||||||
|
|
||||||
一定要使用 docs/color.png 的配色(不使用渐变),界面简洁,交互优雅
|
一定要使用 docs/color.png 的配色(不使用渐变),界面简洁,交互优雅
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
**A. 顶部头部**
|
**A. 顶部头部**
|
||||||
|
|
||||||
* 应用标题:`往事拾遗`
|
* 应用标题:`岁月时书`
|
||||||
* 副标题:`用对话,留住珍贵的记忆`
|
* 副标题:`用对话,留住珍贵的记忆`
|
||||||
* 背景色:中紫色 `#A177A6`
|
* 背景色:中紫色 `#A177A6`
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# 《往事拾遗》MVP – User Stories(V1)
|
# 《岁月时书》MVP – User Stories(V1)
|
||||||
|
|
||||||
> **视角说明**
|
> **视角说明**
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# 往事拾遗 - 客户端需求文档 V1
|
# 岁月时书 - 客户端需求文档 V1
|
||||||
|
|
||||||
> **产品定位**:一款帮助用户(尤其是中老年人)通过 AI 引导对话,将人生故事整理成回忆录的移动应用。
|
> **产品定位**:一款帮助用户(尤其是中老年人)通过 AI 引导对话,将人生故事整理成回忆录的移动应用。
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
**功能要求**
|
**功能要求**
|
||||||
- 应用启动默认进入对话列表页
|
- 应用启动默认进入对话列表页
|
||||||
- 页面标题显示「往事拾遗」
|
- 页面标题显示「岁月时书」
|
||||||
- V1 版本仅显示一个默认对话:「回忆录助手」
|
- V1 版本仅显示一个默认对话:「回忆录助手」
|
||||||
- 头像(📖 emoji)
|
- 头像(📖 emoji)
|
||||||
- 对话标题:回忆录助手
|
- 对话标题:回忆录助手
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 往事拾遗 - 服务端需求文档 V1
|
# 岁月时书 - 服务端需求文档 V1
|
||||||
|
|
||||||
> **产品定位**:为「往事拾遗」客户端提供 AI 对话、回忆录生成、用户管理等核心后端服务。
|
> **产品定位**:为「岁月时书」客户端提供 AI 对话、回忆录生成、用户管理等核心后端服务。
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# 往事拾遗 MVP 开发计划
|
# 岁月时书 MVP 开发计划
|
||||||
|
|
||||||
> 基于实时 WebSocket 长连接的语音对话回忆录生成系统
|
> 基于实时 WebSocket 长连接的语音对话回忆录生成系统
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user