From d71817653da5bbb033f8ee75fb4d0f1179c69b27 Mon Sep 17 00:00:00 2001 From: dongjf <1+dongjf@noreply.git.tutudog.com> Date: Fri, 27 Nov 2026 08:42:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(ios):=20=E5=B1=85=E4=B8=AD=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=93=81=E7=89=8C=E5=B9=B6=E7=BB=9F=E4=B8=80=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ios/ItemAtlas.xcodeproj/project.pbxproj | 4 ++-- apps/ios/ItemAtlas/WelcomeView.swift | 19 ++++++++++--------- docs/product/ios-experience.md | 2 +- docs/ui/ios-welcome.md | 8 ++++---- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/apps/ios/ItemAtlas.xcodeproj/project.pbxproj b/apps/ios/ItemAtlas.xcodeproj/project.pbxproj index 9f6ff88..0a0b440 100644 --- a/apps/ios/ItemAtlas.xcodeproj/project.pbxproj +++ b/apps/ios/ItemAtlas.xcodeproj/project.pbxproj @@ -117,7 +117,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 16; + CURRENT_PROJECT_VERSION = 17; GENERATE_INFOPLIST_FILE = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ATLAS_API_BASE_URL = "https://api-atlas.tutudog.com"; @@ -138,7 +138,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 16; + CURRENT_PROJECT_VERSION = 17; GENERATE_INFOPLIST_FILE = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ATLAS_API_BASE_URL = "https://api-atlas.tutudog.com"; diff --git a/apps/ios/ItemAtlas/WelcomeView.swift b/apps/ios/ItemAtlas/WelcomeView.swift index e495681..85ed739 100644 --- a/apps/ios/ItemAtlas/WelcomeView.swift +++ b/apps/ios/ItemAtlas/WelcomeView.swift @@ -4,7 +4,7 @@ struct EntryBrand: View { var prominent = false var body: some View { - let size: CGFloat = prominent ? 46 : 32 + let size: CGFloat = prominent ? 52 : 32 HStack(spacing: prominent ? 12 : 9) { Image("BrandMark") .resizable() @@ -32,6 +32,7 @@ struct WelcomeView: View { ScrollView { VStack(alignment: .leading, spacing: 18) { EntryBrand(prominent: true) + .frame(maxWidth: .infinity, alignment: .center) scene featureExamples } @@ -55,22 +56,22 @@ struct WelcomeView: View { private var featureExamples: some View { VStack(spacing: 9) { - feature("智能录入", symbol: "waveform", tint: .atlasBlue, - example: "数据线放在书房抽屉", detail: "说一句,见物帮你记下。") - feature("找物", symbol: "magnifyingglass", tint: .teal, + feature("AI 智能录入", symbol: "waveform", + example: "语音输入:“数据线放在书房抽屉”", detail: "说一句,见物帮你记下。") + feature("智能找物", symbol: "magnifyingglass", example: "备用钥匙放哪了?", detail: "玄关 / 鞋柜 / 上层抽屉") - feature("社区", symbol: "bubble.left.and.bubble.right", tint: .indigo, - example: "这个硬盘盒好用吗?", detail: "分享使用感受,也可以评论和打分。") + feature("社区", symbol: "bubble.left.and.bubble.right", + example: "这个硬盘盒好用吗?", detail: "公开分享使用感受,也可以评论和打分。") } } - private func feature(_ title: String, symbol: String, tint: Color, example: String, detail: String) -> some View { + private func feature(_ title: String, symbol: String, example: String, detail: String) -> some View { HStack(alignment: .top, spacing: 12) { Image(systemName: symbol) .font(.subheadline.weight(.semibold)) - .foregroundStyle(tint) + .foregroundStyle(Color.atlasBlue) .frame(width: 35, height: 35) - .background(tint.opacity(0.10), in: .rect(cornerRadius: 10)) + .background(Color.atlasBlue.opacity(0.10), in: .rect(cornerRadius: 10)) .accessibilityHidden(true) VStack(alignment: .leading, spacing: 3) { Text(title).font(.caption.weight(.semibold)).foregroundStyle(.secondary) diff --git a/docs/product/ios-experience.md b/docs/product/ios-experience.md index 55f4fab..58c5c5f 100644 --- a/docs/product/ios-experience.md +++ b/docs/product/ios-experience.md @@ -2,7 +2,7 @@ ## 首页 -见物标识在顶部。照片下方用三张示例卡介绍智能录入、找物和社区。底部可以进入自己的空间。首次使用时可以新建空空间,或在空间列表里接受家人的邀请。 +见物标识在顶部居中。照片下方用三张示例卡介绍 AI 智能录入、智能找物和社区。底部可以进入自己的空间。首次使用时可以新建空空间,或在空间列表里接受家人的邀请。 ## 录入 diff --git a/docs/ui/ios-welcome.md b/docs/ui/ios-welcome.md index 3d87f05..9b8c0c4 100644 --- a/docs/ui/ios-welcome.md +++ b/docs/ui/ios-welcome.md @@ -8,7 +8,7 @@ | 页面 | 布局与交互 | | --- | --- | -| 欢迎 | 品牌置顶。照片下展示智能录入、找物和社区的示例,底部入口进入原生登录。 | +| 欢迎 | 品牌居中置顶。照片下展示 AI 智能录入、智能找物和社区的示例,底部入口进入原生登录。 | | 登录 | 系统返回按钮、小品牌行、大标题和两个带明确标签的原生输入框。密码默认隐藏,可切换显示。 | | 找物与收藏 | 搜索框贴近标题,缩略图左对齐,物品名和完整位置路径置于同一行组。保留可见的空结果和清除搜索动作。 | | 详情 | 标题、照片、完整位置路径依次展示。移位和编辑靠近位置,按角色展示可用动作。 | @@ -18,12 +18,12 @@ ## 首次打开 -见物标识从屏幕安全区顶部起排。照片用横幅构图,下方三张示例卡依次介绍功能。登录入口贴近底部安全区。 [首页主图](../../apps/ios/ItemAtlas/Assets.xcassets/WelcomeTray.imageset/WelcomeTray.jpg) +见物标识在屏幕安全区顶部居中。三个功能卡使用同色图标。照片用横幅构图,下方三张示例卡依次介绍功能。登录入口贴近底部安全区。 [首页主图](../../apps/ios/ItemAtlas/Assets.xcassets/WelcomeTray.imageset/WelcomeTray.jpg) | 示例 | 内容 | | --- | --- | -| 智能录入 | 「数据线放在书房抽屉」。说一句,见物帮你记下。 | -| 找物 | 「备用钥匙放哪了?」示例结果是「玄关 / 鞋柜 / 上层抽屉」。 | +| AI 智能录入 | 语音输入:“数据线放在书房抽屉”。说一句,见物帮你记下。 | +| 智能找物 | 「备用钥匙放哪了?」示例结果是「玄关 / 鞋柜 / 上层抽屉」。 | | 社区 | 「这个硬盘盒好用吗?」可以看或分享使用感受,也可以评论和打分。 | - 登录后加载空间。新账号可新建空空间,或在空间列表接受邀请。