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

Merge branch 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into develop

* 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  添加仅协作订单显示逻辑
parents 117934f9 abd66f84
...@@ -121,11 +121,11 @@ extension YHOrderDetailViewController: UITableViewDelegate, UITableViewDataSourc ...@@ -121,11 +121,11 @@ extension YHOrderDetailViewController: UITableViewDelegate, UITableViewDataSourc
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withClass: YHOrderDetailTableViewCell.self) let cell = tableView.dequeueReusableCell(withClass: YHOrderDetailTableViewCell.self)
cell.dataSource = dataSource[indexPath.row] cell.dataSource = dataSource[indexPath.row]
if indexPath.row > 0 { if model.id != -1 && indexPath.row == 0 {
cell.otherTypeView.isHidden = false cell.otherTypeView.isHidden = false
cell.otherTypeView.image = UIImage(named: "service_my_order")
} else { } else {
cell.otherTypeView.isHidden = false cell.otherTypeView.isHidden = false
cell.otherTypeView.image = UIImage(named: "service_my_order")
} }
cell.cellBlock = {[weak self] model in cell.cellBlock = {[weak self] model in
guard let self = self else { return } guard let self = self else { return }
......
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