Commit 1164f216 authored by David黄金龙's avatar David黄金龙

删除不使用的代码

parent 733c8a28
......@@ -12,11 +12,9 @@ import GKNavigationBarSwift
class YHBaseViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .white
view.backgroundColor = UIColor(hex:0xE9E9E9)
}
override var prefersStatusBarHidden: Bool {
return self.gk_statusBarHidden
}
......
......@@ -64,7 +64,7 @@ class YHHomeViewController: YHBaseViewController {
// gk_navBarAlpha = 0.1
// gk_navLineHidden = true
view.backgroundColor = UIColor(hex:0xE9E9E9)
view.addSubview(headBkgImagV)
......
......@@ -86,7 +86,9 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
func initView() {
self.title = "个人中心"
view.backgroundColor = .white
// gk_navTitle = "个人中心"
// gk_navBackgroundColor = .clear
// gk_navShadowColor = .clear
let bgImgView = UIImageView(image: UIImage(named: "mine_header"))
view.addSubview(bgImgView)
......@@ -99,6 +101,8 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
tableView.snp.makeConstraints { make in
make.left.right.top.bottom.equalTo(view)
}
}
}
......
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