From 7e417f3cdda6e7c1bd141867851e4944a429d067 Mon Sep 17 00:00:00 2001
From: 杨锴 <841720330@qq.com>
Date: 星期三, 11 九月 2024 16:22:08 +0800
Subject: [PATCH] fix UI

---
 XQMuse/Base/BaseNav.swift |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/XQMuse/Base/BaseNav.swift b/XQMuse/Base/BaseNav.swift
index 0e994ff..dbe40a8 100644
--- a/XQMuse/Base/BaseNav.swift
+++ b/XQMuse/Base/BaseNav.swift
@@ -86,6 +86,19 @@
 												navigationBar.standardAppearance.titleTextAttributes  = [.foregroundColor:Def_NavFontColor,.font:Def_NavFont]
 												navigationBar.scrollEdgeAppearance?.titleTextAttributes  = [.foregroundColor:Def_NavFontColor,.font:Def_NavFont]
 								}
+
+
+								if viewController is TreeTeskVC{
+												if #available(iOS 15.0, *) {
+																navigationBar.standardAppearance.backgroundColor = .white
+																navigationBar.scrollEdgeAppearance?.backgroundColor = .white
+																navigationBar.standardAppearance.titleTextAttributes  = [.foregroundColor:UIColor.black,.font:Def_NavFont]
+																navigationBar.scrollEdgeAppearance?.titleTextAttributes  = [.foregroundColor:UIColor.black,.font:Def_NavFont]
+												}else{
+																navigationBar.setBackgroundImage(UIImage(), for: .default)
+																navigationBar.shadowImage = UIImage()
+												}
+								}
 				}
 
 				//侧滑

--
Gitblit v1.7.1