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

修改背景颜色

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