Commit 7e16bce7 authored by David黄金龙's avatar David黄金龙

全局导航栏

parent 2ea62f75
...@@ -13,6 +13,11 @@ class YHBaseViewController: UIViewController { ...@@ -13,6 +13,11 @@ class YHBaseViewController: UIViewController {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
view.backgroundColor = UIColor(hex:0xE9E9E9) view.backgroundColor = UIColor(hex:0xE9E9E9)
gk_navBackgroundColor = .clear
gk_navLineHidden = true
gk_navBarAlpha = 0
} }
override var prefersStatusBarHidden: Bool { override var prefersStatusBarHidden: Bool {
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
// //
import UIKit import UIKit
class YHBaseViewModel {
class YHBaseViewModel: NSObject {
} }
...@@ -154,7 +154,7 @@ extension YHAboutUsViewController: UICollectionViewDelegateFlowLayout, UICollect ...@@ -154,7 +154,7 @@ extension YHAboutUsViewController: UICollectionViewDelegateFlowLayout, UICollect
} }
func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) { private func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
print("index is \(indexPath.row)") print("index is \(indexPath.row)")
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment