feat(ios): 退出/相机/垃圾桶/打勾 4 个图标替换
- icon-logout: 退出登录 - icon-camera: 拍照上传 - icon-trash: 删除 - icon-check: 确认打勾 - 全局替换 systemName: trash/camera.fill/rectangle.portrait/checkmark Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
9f4e3815d4
commit
62714558db
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-camera.imageset/Contents.json
vendored
Normal file
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-camera.imageset/Contents.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"images":[{"filename":"icon-camera.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"template-rendering-intent":"template","preserves-vector-representation":true}}
|
||||
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-camera.imageset/icon-camera.svg
vendored
Normal file
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-camera.imageset/icon-camera.svg
vendored
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9.44159 5.24998C8.90353 5.24998 8.42584 5.59429 8.25572 6.10475L8.07055 6.66032C7.75407 7.60991 6.86544 8.25043 5.86449 8.25043C4.97364 8.25043 4.25146 8.97261 4.25146 9.86346L4.25146 16.5004C4.25146 17.7431 5.25882 18.7504 6.50147 18.7504L17.4985 18.7504C18.7412 18.7504 19.7485 17.7431 19.7485 16.5004L19.7485 14.5004C19.7485 14.0862 20.0843 13.7504 20.4985 13.7504C20.9127 13.7504 21.2485 14.0862 21.2485 14.5004L21.2485 16.5004C21.2485 18.5715 19.5696 20.2504 17.4985 20.2504L6.50147 20.2504C4.4304 20.2504 2.75146 18.5715 2.75146 16.5004L2.75146 9.86346C2.75146 8.14419 4.14522 6.75043 5.86449 6.75043C6.21977 6.75043 6.53517 6.52309 6.64751 6.18605L6.83267 5.63047C7.20695 4.50747 8.25786 3.74998 9.44159 3.74998L14.6459 3.74998C15.7704 3.74998 16.7816 4.43459 17.1992 5.47865L17.6964 6.72143C17.8502 7.10602 17.6631 7.5425 17.2785 7.69633C16.894 7.85017 16.4575 7.66311 16.3036 7.27852L15.8065 6.03574C15.6167 5.56117 15.1571 5.24998 14.6459 5.24998L9.44159 5.24998Z" fill-rule="evenodd" fill="#000000"></path><path d="M12 9.74998C10.4812 9.74998 9.25 10.9812 9.25 12.5C9.25 14.0188 10.4812 15.25 12 15.25C13.5188 15.25 14.75 14.0188 14.75 12.5C14.75 10.9812 13.5188 9.74998 12 9.74998ZM7.75 12.5C7.75 10.1528 9.65279 8.24998 12 8.24998C14.3472 8.24998 16.25 10.1528 16.25 12.5C16.25 14.8472 14.3472 16.75 12 16.75C9.65279 16.75 7.75 14.8472 7.75 12.5Z" fill-rule="evenodd" fill="#AEAEAE"></path><path d="M16.25 10C16.25 9.58579 16.5858 9.25 17 9.25L21 9.25C21.4142 9.25 21.75 9.58579 21.75 10C21.75 10.4142 21.4142 10.75 21 10.75L17 10.75C16.5858 10.75 16.25 10.4142 16.25 10Z" fill-rule="evenodd" fill="#AEAEAE"></path><path d="M19 7.25C18.5858 7.25 18.25 7.58579 18.25 8L18.25 12C18.25 12.4142 18.5858 12.75 19 12.75C19.4142 12.75 19.75 12.4142 19.75 12L19.75 8C19.75 7.58579 19.4142 7.25 19 7.25Z" fill-rule="evenodd" fill="#AEAEAE"></path></svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-check.imageset/Contents.json
vendored
Normal file
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-check.imageset/Contents.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"images":[{"filename":"icon-check.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"template-rendering-intent":"template","preserves-vector-representation":true}}
|
||||
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-check.imageset/icon-check.svg
vendored
Normal file
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-check.imageset/icon-check.svg
vendored
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M11.1399 16.092C10.0745 17.1791 8.32868 17.194 7.24489 16.1253L4.47339 13.3922C4.17846 13.1014 4.17514 12.6265 4.46598 12.3316C4.75682 12.0367 5.23168 12.0333 5.52661 12.3242L8.29811 15.0572C8.79075 15.543 9.5843 15.5363 10.0686 15.0421L18.4643 6.47499C18.7543 6.17916 19.2291 6.17436 19.5249 6.46428C19.8208 6.7542 19.8256 7.22905 19.5357 7.52489L11.1399 16.092Z" fill-rule="evenodd" fill="#AEAEAE"></path></svg>
|
||||
|
After Width: | Height: | Size: 561 B |
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-logout.imageset/Contents.json
vendored
Normal file
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-logout.imageset/Contents.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"images":[{"filename":"icon-logout.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"template-rendering-intent":"template","preserves-vector-representation":true}}
|
||||
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-logout.imageset/icon-logout.svg
vendored
Normal file
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-logout.imageset/icon-logout.svg
vendored
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M14.215 11.248C14.215 10.8337 14.5508 10.498 14.965 10.498L18.9859 10.498C19.4001 10.498 19.7359 10.8337 19.7359 11.248C19.7359 11.6622 19.4001 11.998 18.9859 11.998L14.965 11.998C14.5508 11.998 14.215 11.6622 14.215 11.248Z" fill-rule="evenodd" fill="#AEAEAE"></path><path d="M18.43 11.42C18.5215 11.3236 18.5215 11.1724 18.43 11.0759L17.4735 10.0677C17.1884 9.76718 17.2009 9.29247 17.5014 9.00739C17.8019 8.7223 18.2766 8.73479 18.5617 9.03529L19.5182 10.0435C20.1588 10.7187 20.1588 11.7772 19.5182 12.4524L18.5617 13.4606C18.2766 13.7611 17.8019 13.7736 17.5014 13.4885C17.2009 13.2035 17.1884 12.7287 17.4735 12.4282L18.43 11.42Z" fill-rule="evenodd" fill="#AEAEAE"></path><path d="M7.53191 3.50162C6.02031 3.50161 4.79492 4.727 4.79492 6.2386L4.79492 8.70432C4.79492 9.11854 4.45914 9.45432 4.04492 9.45432C3.63071 9.45432 3.29492 9.11854 3.29492 8.70432L3.29492 6.2386C3.29492 3.89857 5.19189 2.00161 7.53191 2.00162L12.4942 2.00163C14.8342 2.00163 16.7311 3.89859 16.7311 6.2386C16.7311 6.65282 16.3953 6.9886 15.9811 6.9886C15.5669 6.9886 15.2311 6.65282 15.2311 6.2386C15.2311 4.72702 14.0057 3.50163 12.4942 3.50163L7.53191 3.50162ZM15.9811 15.5073C16.3953 15.5073 16.7311 15.8431 16.7311 16.2573C16.7311 18.5973 14.8342 20.4943 12.4941 20.4943L12.0989 20.4943C11.6847 20.4943 11.3489 20.1585 11.3489 19.7443C11.3489 19.33 11.6847 18.9943 12.0989 18.9943L12.4941 18.9943C14.0057 18.9943 15.2311 17.7689 15.2311 16.2573C15.2311 15.8431 15.5669 15.5073 15.9811 15.5073Z" fill-rule="evenodd" fill="#000000"></path><path d="M12.992 18.2371C12.992 20.7708 10.5313 22.5753 8.11471 21.8136L6.26657 21.2311C4.49733 20.6735 3.29416 19.0327 3.29416 17.1777L3.29416 7.52452C3.29416 4.65294 6.083 2.60787 8.82176 3.4711L10.3693 3.95887C11.9304 4.45091 12.992 5.89861 12.992 7.53542L12.992 18.2371ZM8.56563 20.383C10.0156 20.84 11.492 19.7573 11.492 18.2371L11.492 7.53542C11.492 6.55334 10.855 5.68471 9.91838 5.38949L8.37085 4.90172C6.59871 4.34316 4.79416 5.66644 4.79416 7.52452L4.79416 17.1777C4.79416 18.378 5.57268 19.4397 6.71749 19.8005L8.56563 20.383Z" fill-rule="evenodd" fill="#000000"></path></svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-trash.imageset/Contents.json
vendored
Normal file
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-trash.imageset/Contents.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"images":[{"filename":"icon-trash.svg","idiom":"universal"}],"info":{"author":"xcode","version":1},"properties":{"template-rendering-intent":"template","preserves-vector-representation":true}}
|
||||
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-trash.imageset/icon-trash.svg
vendored
Normal file
1
AIStudyApp/AIStudyApp/Assets.xcassets/Icons/icon-trash.imageset/icon-trash.svg
vendored
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M19.2163 18.0844C19.1705 20.1222 17.5055 21.7503 15.4672 21.7503L8.53362 21.7503C6.49534 21.7503 4.83029 20.1222 4.78457 18.0844L4.56914 8.48378C4.52194 6.38031 6.2142 4.64966 8.3182 4.64966L15.6826 4.64966C17.7866 4.64966 19.4789 6.38031 19.4317 8.48378L19.2163 18.0844ZM15.4672 20.2503C16.6902 20.2503 17.6892 19.2735 17.7166 18.0508L17.9321 8.45013C17.9604 7.18805 16.945 6.14966 15.6826 6.14966L8.3182 6.14966C7.0558 6.14966 6.04044 7.18805 6.06876 8.45014L6.28419 18.0508C6.31162 19.2735 7.31065 20.2503 8.53362 20.2503L15.4672 20.2503Z" fill-rule="evenodd" fill="#000000"></path><path d="M20.75 5.39975C20.75 5.81396 20.4142 6.14975 20 6.14975L4.00031 6.14975C3.58609 6.14975 3.25031 5.81396 3.25031 5.39975C3.25031 4.98554 3.58609 4.64975 4.00031 4.64975L20 4.64975C20.4142 4.64975 20.75 4.98554 20.75 5.39975Z" fill-rule="evenodd" fill="#AEAEAE"></path><path d="M10.1126 3.7496C10.0447 3.7496 9.97974 3.77723 9.93261 3.82614L9.5471 4.22624C9.3941 4.38502 9.50663 4.6497 9.72712 4.6497L14.2731 4.6497C14.4936 4.6497 14.6062 4.38502 14.4532 4.22624L14.0676 3.82614C14.0205 3.77723 13.9555 3.7496 13.8876 3.7496L10.1126 3.7496ZM8.85245 2.78535C9.18231 2.44301 9.63725 2.2496 10.1126 2.2496L13.8876 2.2496C14.363 2.2496 14.818 2.44301 15.1478 2.78535L15.5333 3.18545C16.6043 4.29691 15.8166 6.1497 14.2731 6.1497L9.72712 6.1497C8.18365 6.1497 7.39598 4.29691 8.46693 3.18545L8.85245 2.78535Z" fill-rule="evenodd" fill="#AEAEAE"></path></svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@ -47,7 +47,7 @@ struct AIFeedbackPageView: View {
|
||||
}
|
||||
VStack(alignment: .leading, spacing: 8) {
|
||||
HStack(spacing: 8) {
|
||||
Image(systemName: "checkmark.circle.fill").foregroundColor(Color.zxGreen)
|
||||
Image("icon-check").foregroundColor(Color.zxGreen)
|
||||
Text("答对的部分").font(.system(size: 14, weight: .bold)).foregroundColor(Color.zxF0)
|
||||
}
|
||||
ForEach(["正确识别出过拟合是\"记住训练数据\"而非\"学习规律\"", "使用了死记硬背类比,方向正确且贴切"], id: \.self) { s in
|
||||
|
||||
@ -174,7 +174,7 @@ struct ActiveRecallView: View {
|
||||
private var submittedView: some View {
|
||||
VStack(spacing: 16) {
|
||||
HStack(spacing: 10) {
|
||||
Image(systemName: "checkmark.circle.fill").font(.system(size: 22)).foregroundColor(Color.zxGreen)
|
||||
Image("icon-check").font(.system(size: 22)).foregroundColor(Color.zxGreen)
|
||||
VStack(alignment: .leading, spacing: 3) {
|
||||
Text("回答已提交").font(.system(size: 14, weight: .bold)).foregroundColor(Color.zxGreen)
|
||||
Text("AI 分析中,稍后可查看反馈").font(.system(size: 12)).foregroundColor(Color.zxF04)
|
||||
|
||||
@ -24,7 +24,7 @@ struct CreateLibraryPage: View {
|
||||
Image(uiImage: img).resizable().scaledToFill().frame(width: 120, height: 120).clipShape(RoundedRectangle(cornerRadius: 14))
|
||||
} else {
|
||||
VStack(spacing: 6) {
|
||||
Image(systemName: "camera.fill").font(.system(size: 22)).foregroundColor(Color.zxF04)
|
||||
Image(systemName: "icon-camera").font(.system(size: 22)).foregroundColor(Color.zxF04)
|
||||
Text("上传").font(.system(size: 11)).foregroundColor(Color.zxF04)
|
||||
}
|
||||
}
|
||||
@ -224,7 +224,7 @@ struct LibraryDetailPage: View {
|
||||
Button {
|
||||
Task { await deleteSource(src) }
|
||||
} label: {
|
||||
Image(systemName: "trash").font(.system(size: 14)).foregroundColor(Color.zxF03)
|
||||
Image("icon-trash").resizable().scaledToFit().frame(width: 14, height: 14).foregroundColor(Color.zxF03)
|
||||
}
|
||||
}
|
||||
.padding(12).background(Color.zxFill003).clipShape(RoundedRectangle(cornerRadius: 14))
|
||||
@ -256,14 +256,14 @@ struct LibraryDetailPage: View {
|
||||
Button {
|
||||
showBatchDeleteConfirm = true
|
||||
} label: {
|
||||
Image(systemName: "trash").font(.system(size: 16)).foregroundColor(selectedIds.isEmpty ? Color.zxF03 : Color.zxCoral)
|
||||
Image("icon-trash").resizable().scaledToFit().frame(width: 16, height: 16).foregroundColor(selectedIds.isEmpty ? Color.zxF03 : Color.zxCoral)
|
||||
}
|
||||
.disabled(selectedIds.isEmpty)
|
||||
}
|
||||
} else {
|
||||
ToolbarItem(placement: .topBarLeading) {
|
||||
Button { showDeleteConfirm = true } label: {
|
||||
Image(systemName: "trash").font(.system(size: 16)).foregroundColor(Color.zxF03)
|
||||
Image("icon-trash").resizable().scaledToFit().frame(width: 16, height: 16).foregroundColor(Color.zxF03)
|
||||
}
|
||||
}
|
||||
ToolbarItem(placement: .topBarTrailing) {
|
||||
|
||||
@ -82,7 +82,7 @@ struct SettingsView: View {
|
||||
showLogoutAlert = true
|
||||
} label: {
|
||||
HStack(spacing: 12) {
|
||||
Image(systemName: "rectangle.portrait.and.arrow.right").font(.system(size: 16)).foregroundColor(.red).frame(width: 32, height: 32)
|
||||
Image("icon-logout").font(.system(size: 16)).foregroundColor(.red).frame(width: 32, height: 32)
|
||||
|
||||
Text("退出登录").font(.system(size: 14, weight: .semibold)).foregroundColor(.red)
|
||||
Spacer()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user