From 0e446df97a1efbbeac386867ec9ee1ce71f3be88 Mon Sep 17 00:00:00 2001 From: joywayer Date: Tue, 23 Jun 2026 07:13:13 +0800 Subject: [PATCH] =?UTF-8?q?splash=20=E8=BF=9B=E5=BA=A6=E6=9D=A1=E9=85=8D?= =?UTF-8?q?=E8=89=B2=EF=BC=9AsystemBlue=20=E5=A1=AB=E5=85=85=20+=20.label?= =?UTF-8?q?=2015%=20alpha=20=E8=BD=A8=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 跟错误态"重试"主按钮 systemBlue 视觉一致;轨道用 .label 系统语义色 的 15% alpha,浅深模式自适应(浅模式淡灰、深模式淡白),在浅色启动图 上比默认 UIProgressView 灰条更显眼。 Co-Authored-By: Claude Opus 4.7 --- ylgamehall/Source/WebView/WebContainerViewController.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ylgamehall/Source/WebView/WebContainerViewController.swift b/ylgamehall/Source/WebView/WebContainerViewController.swift index fe940f9..94961c3 100644 --- a/ylgamehall/Source/WebView/WebContainerViewController.swift +++ b/ylgamehall/Source/WebView/WebContainerViewController.swift @@ -566,6 +566,10 @@ private final class SplashOverlay: UIView { progressView.translatesAutoresizingMaskIntoConstraints = false progressView.isHidden = true + // 与错误态主按钮("重试")配色一致,进度条用 systemBlue; + // 轨道用 .label 的 15% alpha,浅深模式自适应(浅模式淡灰、深模式淡白) + progressView.progressTintColor = .systemBlue + progressView.trackTintColor = UIColor.label.withAlphaComponent(0.15) addSubview(progressView) setupErrorContainer()