From 70b9ee1250953d4c17091392c50cffb0bf9b82a1 Mon Sep 17 00:00:00 2001 From: wangdl Date: Sat, 30 May 2026 13:32:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(ios):=20=E5=8A=A0=E5=8F=B7/=E5=9E=83?= =?UTF-8?q?=E5=9C=BE=E6=A1=B6=E5=9B=BE=E6=A0=87=E5=B0=BA=E5=AF=B8=E6=94=BE?= =?UTF-8?q?=E5=A4=A7=20+=20=E5=8A=A0=E5=8F=B7=E9=A2=9C=E8=89=B2=E7=BB=9F?= =?UTF-8?q?=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../AIStudyApp/Features/Library/LibraryHomeView.swift | 2 +- .../AIStudyApp/Features/Library/LibrarySubpages.swift | 8 ++++---- AIStudyApp/AIStudyApp/Features/Quiz/QuizViews.swift | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AIStudyApp/AIStudyApp/Features/Library/LibraryHomeView.swift b/AIStudyApp/AIStudyApp/Features/Library/LibraryHomeView.swift index e7be073..c04a6db 100644 --- a/AIStudyApp/AIStudyApp/Features/Library/LibraryHomeView.swift +++ b/AIStudyApp/AIStudyApp/Features/Library/LibraryHomeView.swift @@ -18,7 +18,7 @@ struct LibraryHomeView: View { .overlay(RoundedRectangle(cornerRadius: 10).stroke(Color.zxBorder008, lineWidth: 1)) }.accessibilityLabel("搜索知识库") NavigationLink(value: Route.libraryCreate) { - Image("icon-plus").resizable().scaledToFit().frame(width: 14, height: 14).foregroundColor(.white) + Image("icon-plus").resizable().scaledToFit().frame(width: 18, height: 18).foregroundColor(.white) .frame(width: 36, height: 36).background(ZXGradient.brand).clipShape(RoundedRectangle(cornerRadius: 10)) }.accessibilityLabel("创建新知识库") }.padding(.horizontal, 20).padding(.top, 8).padding(.bottom, 12) diff --git a/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift b/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift index 5b27aad..fb0144f 100644 --- a/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift +++ b/AIStudyApp/AIStudyApp/Features/Library/LibrarySubpages.swift @@ -224,7 +224,7 @@ struct LibraryDetailPage: View { Button { Task { await deleteSource(src) } } label: { - Image("icon-trash").resizable().scaledToFit().frame(width: 16, height: 16).foregroundColor(Color.zxF03) + Image("icon-trash").resizable().scaledToFit().frame(width: 18, height: 18).foregroundColor(Color.zxF03) } } .padding(12).background(Color.zxFill003).clipShape(RoundedRectangle(cornerRadius: 14)) @@ -256,14 +256,14 @@ struct LibraryDetailPage: View { Button { showBatchDeleteConfirm = true } label: { - Image("icon-trash").resizable().scaledToFit().frame(width: 16, height: 16).foregroundColor(selectedIds.isEmpty ? Color.zxF03 : Color.zxCoral) + Image("icon-trash").resizable().scaledToFit().frame(width: 18, height: 18).foregroundColor(selectedIds.isEmpty ? Color.zxF03 : Color.zxCoral) } .disabled(selectedIds.isEmpty) } } else { ToolbarItem(placement: .topBarLeading) { Button { showDeleteConfirm = true } label: { - Image("icon-trash").resizable().scaledToFit().frame(width: 16, height: 16).foregroundColor(Color.zxF03) + Image("icon-trash").resizable().scaledToFit().frame(width: 18, height: 18).foregroundColor(Color.zxF03) } } ToolbarItem(placement: .topBarTrailing) { @@ -273,7 +273,7 @@ struct LibraryDetailPage: View { } ToolbarItem(placement: .topBarTrailing) { NavigationLink(value: Route.addKnowledge(knowledgeBaseId: knowledgeBaseId)) { - Image("icon-plus").resizable().scaledToFit().frame(width: 14, height: 14).foregroundColor(Color.zxPrimary) + Image("icon-plus").resizable().scaledToFit().frame(width: 18, height: 18).foregroundColor(Color.zxF05) } } ToolbarItem(placement: .topBarTrailing) { diff --git a/AIStudyApp/AIStudyApp/Features/Quiz/QuizViews.swift b/AIStudyApp/AIStudyApp/Features/Quiz/QuizViews.swift index a3a0f8e..477559a 100644 --- a/AIStudyApp/AIStudyApp/Features/Quiz/QuizViews.swift +++ b/AIStudyApp/AIStudyApp/Features/Quiz/QuizViews.swift @@ -33,7 +33,7 @@ struct QuizListView: View { Button { Task { await generateQuiz() } } label: { - HStack { Image("icon-plus").resizable().scaledToFit().frame(width: 14, height: 14); Text("生成新测验") }.font(.system(size: 14, weight: .medium)).foregroundColor(Color.zxPrimary).frame(maxWidth: .infinity).frame(height: 44).background(Color.zxPrimarySoft).clipShape(RoundedRectangle(cornerRadius: 12)) + HStack { Image("icon-plus").resizable().scaledToFit().frame(width: 16, height: 16); Text("生成新测验") }.font(.system(size: 14, weight: .medium)).foregroundColor(Color.zxPrimary).frame(maxWidth: .infinity).frame(height: 44).background(Color.zxPrimarySoft).clipShape(RoundedRectangle(cornerRadius: 12)) }.disabled(isGenerating) ForEach(quizzes) { q in NavigationLink(value: Route.quizTake(quizId: q.id)) {