Commit 6ef89a57 authored by lujunye's avatar lujunye

优化界面

parent a9090499
......@@ -911,7 +911,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
}else if CLLocationManager.authorizationStatus() == .denied {
let aleat = UIAlertController(title: "打开定位开关", message:"定位服务未开启,请进入系统设置>隐私>定位服务中打开开关,并允许商户端使用定位服务", preferredStyle: .alert)
let tempAction = UIAlertAction(title: "取消", style: .cancel) { (action) in
}
}
let callAction = UIAlertAction(title: "立即设置", style: .default) { (action) in
let url = NSURL.init(string: UIApplication.openSettingsURLString)
if(UIApplication.shared.canOpenURL(url! as URL)) {
......@@ -1886,6 +1886,25 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
button.setImage(UIImage(named: "dot"), for: .normal)
view.addSubview(button)
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()
line.backgroundColor = UIColor(named: "灰色分界线")
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