Commit bae3c7ca authored by David黄金龙's avatar David黄金龙

修改背景颜色

parent 5979e168
...@@ -22,7 +22,7 @@ class YHActivityDetailViewController: YHBaseViewController { ...@@ -22,7 +22,7 @@ class YHActivityDetailViewController: YHBaseViewController {
tableView.separatorStyle = .none tableView.separatorStyle = .none
tableView.delegate = self tableView.delegate = self
tableView.dataSource = self tableView.dataSource = self
tableView.backgroundColor = UIColor.white tableView.backgroundColor = UIColor.clear
tableView.register(UITableViewCell.self, forCellReuseIdentifier: "UITableViewCell") tableView.register(UITableViewCell.self, forCellReuseIdentifier: "UITableViewCell")
tableView.register(YHActivityDetailCell.self, forCellReuseIdentifier: YHActivityDetailCell.cellReuseIdentifier) tableView.register(YHActivityDetailCell.self, forCellReuseIdentifier: YHActivityDetailCell.cellReuseIdentifier)
...@@ -115,9 +115,11 @@ extension YHActivityDetailViewController { ...@@ -115,9 +115,11 @@ extension YHActivityDetailViewController {
func setupUI() { func setupUI() {
gk_navigationBar.isHidden = false gk_navigationBar.isHidden = false
gk_navigationBar.backgroundColor = .clear gk_navigationBar.backgroundColor = .clear
gk_backImage = UIImage(named: "activity_nav_back") gk_backImage = UIImage(named: "activity_nav_back")
view.backgroundColor = .white
//1. //1.
view.addSubview(tableView) view.addSubview(tableView)
view.addSubview(bottomView) view.addSubview(bottomView)
......
...@@ -153,7 +153,7 @@ extension YHActivityDetailCell0 { ...@@ -153,7 +153,7 @@ extension YHActivityDetailCell0 {
func setupUI() { func setupUI() {
backgroundColor = .clear backgroundColor = .clear
contentView.backgroundColor = .pageBkgColor contentView.backgroundColor = .clear
selectionStyle = .none selectionStyle = .none
} }
} }
...@@ -117,7 +117,7 @@ extension YHActivityDetailCell1 { ...@@ -117,7 +117,7 @@ extension YHActivityDetailCell1 {
func setupUI() { func setupUI() {
backgroundColor = .clear backgroundColor = .clear
contentView.backgroundColor = .pageBkgColor contentView.backgroundColor = .clear
selectionStyle = .none selectionStyle = .none
self.contentView.addSubview(bottomLine) self.contentView.addSubview(bottomLine)
......
...@@ -158,7 +158,7 @@ extension YHActivityDetailCell2 { ...@@ -158,7 +158,7 @@ extension YHActivityDetailCell2 {
func setupUI() { func setupUI() {
backgroundColor = .clear backgroundColor = .clear
contentView.backgroundColor = .pageBkgColor contentView.backgroundColor = .clear
selectionStyle = .none selectionStyle = .none
} }
} }
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