Commit b1c7310b authored by lujunye's avatar lujunye

按私服大收到发苏打粉

parent d9ae6b49
...@@ -284,10 +284,9 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag ...@@ -284,10 +284,9 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
annotationView!.centerOffset = CGPoint(x: 0, y: -15); annotationView!.centerOffset = CGPoint(x: 0, y: -15);
return annotationView! return annotationView!
} }
return nil return nil
} }
//MARK: - cell delegate //MARK: - cell delegate
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
return 73.5 return 73.5
......
...@@ -84,7 +84,7 @@ class P_P_H_Adr_VC: BaseViewController,SJMapViewControllerDelegate,UITextViewDel ...@@ -84,7 +84,7 @@ class P_P_H_Adr_VC: BaseViewController,SJMapViewControllerDelegate,UITextViewDel
let vc = SJMapViewController() let vc = SJMapViewController()
vc.delegate = self vc.delegate = self
vc.isPPH = true vc.isPPH = true
if city_lbl.text != "请选择城市" { if city_lbl.text != "请选择定位" {
vc.alreadySelect = true vc.alreadySelect = true
vc.lat = lat vc.lat = lat
vc.lng = lng vc.lng = lng
...@@ -133,14 +133,14 @@ class P_P_H_Adr_VC: BaseViewController,SJMapViewControllerDelegate,UITextViewDel ...@@ -133,14 +133,14 @@ class P_P_H_Adr_VC: BaseViewController,SJMapViewControllerDelegate,UITextViewDel
@IBOutlet weak var holder_lbl: UILabel! @IBOutlet weak var holder_lbl: UILabel!
func checkInfo(){ func checkInfo(){
if adrTv.text?.count != 0 && phoneTf.text?.count != 0 && nameTf.text?.count != 0 && city_lbl.text != "请选择城市" { if adrTv.text?.count != 0 && phoneTf.text?.count != 0 && nameTf.text?.count != 0 && city_lbl.text != "请选择定位" {
submit_btn.isUserInteractionEnabled = true submit_btn.isUserInteractionEnabled = true
submit_btn.alpha = 1 submit_btn.alpha = 1
}else{ }else{
submit_btn.isUserInteractionEnabled = false submit_btn.isUserInteractionEnabled = false
submit_btn.alpha = 0.5 submit_btn.alpha = 0.5
} }
if adrTv.text?.count != 0 || phoneTf.text?.count != 0 || nameTf.text?.count != 0 || textTV.text.count != 0 || city_lbl.text != "请选择城市" { if adrTv.text?.count != 0 || phoneTf.text?.count != 0 || nameTf.text?.count != 0 || textTV.text.count != 0 || city_lbl.text != "请选择定位" {
clearBtn.isUserInteractionEnabled = true clearBtn.isUserInteractionEnabled = true
clearBtn.alpha = 1 clearBtn.alpha = 1
}else{ }else{
......
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