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)) {