feat: 完善目标管理功能及相关组件
- 新增创建目标弹窗,支持用户输入目标信息并提交 - 实现目标数据的转换,支持将目标转换为待办事项和时间轴事件 - 优化目标页面,集成Redux状态管理,处理目标的创建、完成和错误提示 - 更新时间轴组件,支持动态显示目标安排 - 编写目标管理功能实现文档,详细描述功能和组件架构
This commit is contained in:
@@ -52,7 +52,7 @@ export function TodoCarousel({ todos, onTodoPress, onToggleComplete }: TodoCarou
|
||||
</ScrollView>
|
||||
|
||||
{/* 底部指示器 */}
|
||||
<View style={styles.indicatorContainer}>
|
||||
{/* <View style={styles.indicatorContainer}>
|
||||
{todos.map((_, index) => (
|
||||
<View
|
||||
key={index}
|
||||
@@ -62,7 +62,7 @@ export function TodoCarousel({ todos, onTodoPress, onToggleComplete }: TodoCarou
|
||||
]}
|
||||
/>
|
||||
))}
|
||||
</View>
|
||||
</View> */}
|
||||
</View>
|
||||
);
|
||||
}
|
||||
@@ -71,7 +71,6 @@ const styles = StyleSheet.create({
|
||||
container: {
|
||||
},
|
||||
scrollView: {
|
||||
marginBottom: 12,
|
||||
},
|
||||
scrollContent: {
|
||||
paddingHorizontal: 20,
|
||||
|
||||
Reference in New Issue
Block a user