Commit cb6a33cc authored by lujunye's avatar lujunye

sadfasdfasdfsdf44234

parent 1af9ea33
...@@ -2461,8 +2461,9 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie ...@@ -2461,8 +2461,9 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
} }
let cell = tableView.dequeueReusableCell(withIdentifier: "GL_PAY_Cell") as! GL_PAY_Cell let cell = tableView.dequeueReusableCell(withIdentifier: "GL_PAY_Cell") as! GL_PAY_Cell
if res == 4 { if res == 3 {
cell.isNonEnough = true cell.isNonEnough = true
} }
return cell return cell
} }
......
...@@ -327,7 +327,9 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag ...@@ -327,7 +327,9 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
let cell = tableView.cellForRow(at: idx!) as! SJMapCell let cell = tableView.cellForRow(at: idx!) as! SJMapCell
mapView.setCenter(CLLocationCoordinate2D(latitude:CLLocationDegrees(cell.lat!), longitude: CLLocationDegrees(cell.lng!)), animated: false) mapView.setCenter(CLLocationCoordinate2D(latitude:CLLocationDegrees(cell.lat!), longitude: CLLocationDegrees(cell.lng!)), animated: false)
adrStr = cell.nameLbl.text adrStr = cell.nameLbl.text
print("abc == ",cell.lat,cell.lng)
delegate?.SJMapViewControllerSelectArd(adr: cell.nameLbl.text!, cityData: cityData!, loc: "\(cell.lat!)-\(cell.lng!)") delegate?.SJMapViewControllerSelectArd(adr: cell.nameLbl.text!, cityData: cityData!, loc: "\(cell.lat!)-\(cell.lng!)")
self.navigationController?.popViewController(animated: true) self.navigationController?.popViewController(animated: true)
} }
return return
...@@ -376,10 +378,7 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag ...@@ -376,10 +378,7 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
submit_btn.gradientEndColor = UIColor(named: "按钮渐变色下,字体颜色") submit_btn.gradientEndColor = UIColor(named: "按钮渐变色下,字体颜色")
} }
submit_btn.gradientHorizontal = true submit_btn.gradientHorizontal = true
if isPPH {
submit_btn.gradientStartColor = UIColor(named: "green")
submit_btn.gradientEndColor = UIColor(named: "green")
}
submit_btn.addTarget(self, action: #selector(submitAction), for: .touchUpInside) submit_btn.addTarget(self, action: #selector(submitAction), for: .touchUpInside)
submit_btn.snp.makeConstraints { (make) in submit_btn.snp.makeConstraints { (make) in
make.bottom.left.right.equalTo(0) make.bottom.left.right.equalTo(0)
......
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