缺少代码差异信息,无法生成具体的commit message。请提供code differences内容以便分析并生成符合Angular规范的提交信息。

当您提供代码差异后,我将按照以下格式生成:

```
<type>(<scope>): <subject>

<body>
```

其中type会根据更改类型选择(feat、fix、docs、style、refactor等),scope表示影响范围,subject简要描述变更内容,body详细说明修改内容。
This commit is contained in:
link2026
2026-06-07 14:17:18 +08:00
parent 074d99715d
commit 77a4ee1c37
66 changed files with 2676 additions and 548 deletions

View File

@@ -44,6 +44,7 @@ struct RootView: View {
@State private var showDiary = false
@State private var showIndicator = false
@State private var showReminders = false
@State private var showHealthExport = false
/// tab : pushEdge, tab
/// tab ,
@@ -83,6 +84,7 @@ struct RootView: View {
case .diary: showDiary = true
case .indicator: showIndicator = true
case .reminder: showReminders = true
case .healthExport: showHealthExport = true
}
}
}
@@ -94,12 +96,21 @@ struct RootView: View {
DiaryQuickSheet()
}
.sheet(isPresented: $showIndicator) {
IndicatorQuickSheet()
// : VL ()
IndicatorQuickSheet(onRequestCamera: {
showIndicator = false
DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
activeFlow = .quick
}
})
}
.sheet(isPresented: $showReminders) {
// NavigationStack ;sheet
NavigationStack { RemindersListView(presentedAsSheet: true) }
}
.fullScreenCover(isPresented: $showHealthExport) {
HealthExportSheet()
}
#if os(iOS)
.fullScreenCover(item: $activeFlow) { flow in
switch flow {
@@ -176,12 +187,12 @@ private struct TabBar: View {
.matchedGeometryEffect(id: "tabIndicator", in: indicatorNS)
}
Image(systemName: t.icon)
.font(.system(size: 18, weight: isActive ? .semibold : .regular))
.font(.tjScaled( 18, weight: isActive ? .semibold : .regular))
}
.frame(width: 50, height: slotHeight)
Text(t.label)
.font(.system(size: 11, weight: isActive ? .semibold : .regular))
.font(.tjScaled( 11, weight: isActive ? .semibold : .regular))
}
.foregroundStyle(isActive ? Tj.Palette.ink : Tj.Palette.text3)
.frame(maxWidth: .infinity)
@@ -204,13 +215,13 @@ private struct TabBar: View {
radius: 4, x: 0, y: 2)
Image(systemName: "plus")
.font(.system(size: 16, weight: .semibold))
.font(.tjScaled( 16, weight: .semibold))
.foregroundStyle(Tj.Palette.paper)
}
.frame(width: slotHeight, height: slotHeight)
Text("新建")
.font(.system(size: 11, weight: .semibold))
.font(.tjScaled( 11, weight: .semibold))
.foregroundStyle(Tj.Palette.ink)
}
.frame(maxWidth: .infinity)