Commit 6ef89a57 authored by lujunye's avatar lujunye

优化界面

parent a9090499
...@@ -1886,6 +1886,25 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -1886,6 +1886,25 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
button.setImage(UIImage(named: "dot"), for: .normal) button.setImage(UIImage(named: "dot"), for: .normal)
view.addSubview(button) view.addSubview(button)
button.addTarget(self, action: #selector(selectAllCars), for: .touchUpInside) button.addTarget(self, action: #selector(selectAllCars), for: .touchUpInside)
// let line1 = UIView()
// line1.backgroundColor = UIColor(named: "灰色分界线")
// view.addSubview(line1)
// line1.snp_makeConstraints { (make) in
// make.height.equalTo(1)
// make.right.left.equalTo(0)
// make.top.equalTo(0)
// }
let line2 = UIView()
line2.backgroundColor = UIColor(named: "灰色分界线")
view.addSubview(line2)
line2.snp_makeConstraints { (make) in
make.height.equalTo(1)
make.right.left.equalTo(0)
make.bottom.equalTo(0)
}
let line = UIView() let line = UIView()
line.backgroundColor = UIColor(named: "灰色分界线") line.backgroundColor = UIColor(named: "灰色分界线")
view.addSubview(line) view.addSubview(line)
......
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