fix(ios): 居中首页品牌并统一功能卡
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f46c16797e
commit
d71817653d
|
|
@ -117,7 +117,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 16;
|
CURRENT_PROJECT_VERSION = 17;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ATLAS_API_BASE_URL = "https://api-atlas.tutudog.com";
|
ATLAS_API_BASE_URL = "https://api-atlas.tutudog.com";
|
||||||
|
|
@ -138,7 +138,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 16;
|
CURRENT_PROJECT_VERSION = 17;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
ATLAS_API_BASE_URL = "https://api-atlas.tutudog.com";
|
ATLAS_API_BASE_URL = "https://api-atlas.tutudog.com";
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ struct EntryBrand: View {
|
||||||
var prominent = false
|
var prominent = false
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
let size: CGFloat = prominent ? 46 : 32
|
let size: CGFloat = prominent ? 52 : 32
|
||||||
HStack(spacing: prominent ? 12 : 9) {
|
HStack(spacing: prominent ? 12 : 9) {
|
||||||
Image("BrandMark")
|
Image("BrandMark")
|
||||||
.resizable()
|
.resizable()
|
||||||
|
|
@ -32,6 +32,7 @@ struct WelcomeView: View {
|
||||||
ScrollView {
|
ScrollView {
|
||||||
VStack(alignment: .leading, spacing: 18) {
|
VStack(alignment: .leading, spacing: 18) {
|
||||||
EntryBrand(prominent: true)
|
EntryBrand(prominent: true)
|
||||||
|
.frame(maxWidth: .infinity, alignment: .center)
|
||||||
scene
|
scene
|
||||||
featureExamples
|
featureExamples
|
||||||
}
|
}
|
||||||
|
|
@ -55,22 +56,22 @@ struct WelcomeView: View {
|
||||||
|
|
||||||
private var featureExamples: some View {
|
private var featureExamples: some View {
|
||||||
VStack(spacing: 9) {
|
VStack(spacing: 9) {
|
||||||
feature("智能录入", symbol: "waveform", tint: .atlasBlue,
|
feature("AI 智能录入", symbol: "waveform",
|
||||||
example: "数据线放在书房抽屉", detail: "说一句,见物帮你记下。")
|
example: "语音输入:“数据线放在书房抽屉”", detail: "说一句,见物帮你记下。")
|
||||||
feature("找物", symbol: "magnifyingglass", tint: .teal,
|
feature("智能找物", symbol: "magnifyingglass",
|
||||||
example: "备用钥匙放哪了?", detail: "玄关 / 鞋柜 / 上层抽屉")
|
example: "备用钥匙放哪了?", detail: "玄关 / 鞋柜 / 上层抽屉")
|
||||||
feature("社区", symbol: "bubble.left.and.bubble.right", tint: .indigo,
|
feature("社区", symbol: "bubble.left.and.bubble.right",
|
||||||
example: "这个硬盘盒好用吗?", detail: "分享使用感受,也可以评论和打分。")
|
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) {
|
HStack(alignment: .top, spacing: 12) {
|
||||||
Image(systemName: symbol)
|
Image(systemName: symbol)
|
||||||
.font(.subheadline.weight(.semibold))
|
.font(.subheadline.weight(.semibold))
|
||||||
.foregroundStyle(tint)
|
.foregroundStyle(Color.atlasBlue)
|
||||||
.frame(width: 35, height: 35)
|
.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)
|
.accessibilityHidden(true)
|
||||||
VStack(alignment: .leading, spacing: 3) {
|
VStack(alignment: .leading, spacing: 3) {
|
||||||
Text(title).font(.caption.weight(.semibold)).foregroundStyle(.secondary)
|
Text(title).font(.caption.weight(.semibold)).foregroundStyle(.secondary)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## 首页
|
## 首页
|
||||||
|
|
||||||
见物标识在顶部。照片下方用三张示例卡介绍智能录入、找物和社区。底部可以进入自己的空间。首次使用时可以新建空空间,或在空间列表里接受家人的邀请。
|
见物标识在顶部居中。照片下方用三张示例卡介绍 AI 智能录入、智能找物和社区。底部可以进入自己的空间。首次使用时可以新建空空间,或在空间列表里接受家人的邀请。
|
||||||
|
|
||||||
## 录入
|
## 录入
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 智能录入 | 语音输入:“数据线放在书房抽屉”。说一句,见物帮你记下。 |
|
||||||
| 找物 | 「备用钥匙放哪了?」示例结果是「玄关 / 鞋柜 / 上层抽屉」。 |
|
| 智能找物 | 「备用钥匙放哪了?」示例结果是「玄关 / 鞋柜 / 上层抽屉」。 |
|
||||||
| 社区 | 「这个硬盘盒好用吗?」可以看或分享使用感受,也可以评论和打分。 |
|
| 社区 | 「这个硬盘盒好用吗?」可以看或分享使用感受,也可以评论和打分。 |
|
||||||
|
|
||||||
- 登录后加载空间。新账号可新建空空间,或在空间列表接受邀请。
|
- 登录后加载空间。新账号可新建空空间,或在空间列表接受邀请。
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue