From f7c1dbfa1cadc0cda74925f4abd4a9de4ef4103f Mon Sep 17 00:00:00 2001
From: younger_times <841720330@qq.com>
Date: 星期五, 02 六月 2023 17:07:39 +0800
Subject: [PATCH] 修改

---
 BrokerDriver/Base/BaseNavigationController.swift |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/BrokerDriver/Base/BaseNavigationController.swift b/BrokerDriver/Base/BaseNavigationController.swift
index e66293d..7dc201f 100644
--- a/BrokerDriver/Base/BaseNavigationController.swift
+++ b/BrokerDriver/Base/BaseNavigationController.swift
@@ -31,12 +31,16 @@
             scrollBar.backgroundColor = UIColor.clear
 
 
+            let img = UIImage.jq_gradient([UIColor.black.withAlphaComponent(0.4),UIColor.clear], size: CGSize(width: JQ_ScreenW, height: JQ_NavBarHeight), radius: 0, locations: [0,1], direction: .vertical)
+
             let standardBar = UINavigationBarAppearance()
             standardBar.configureWithOpaqueBackground()
             standardBar.backgroundEffect = nil
             standardBar.shadowColor = nil
+            standardBar.shadowImage = nil
             standardBar.titleTextAttributes = [.foregroundColor:Def_NavFontColor,.font:Def_NavFont]
             standardBar.backgroundColor = UIColor.clear
+            standardBar.backgroundImage = img
 
             navigationBar.scrollEdgeAppearance = scrollBar //顶部透明
             navigationBar.standardAppearance = standardBar

--
Gitblit v1.7.1