Commit 27dd351c authored by lujunye's avatar lujunye

112121321312341234ffdasfd

parent dd5a7120
...@@ -524,7 +524,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa ...@@ -524,7 +524,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
//MARK:--商品cell //MARK:--商品cell
let cell = tableView.dequeueReusableCell(withIdentifier: "DaiKeXiaDanGouWuCell") as! DaiKeXiaDanGouWuCell let cell = tableView.dequeueReusableCell(withIdentifier: "DaiKeXiaDanGouWuCell") as! DaiKeXiaDanGouWuCell
if self.dataMdoel?.order_res?.shipping_status == 1 || isYuShou{ if self.dataMdoel?.order_res?.shipping_status != 0 || isYuShou{
cell.non_add_icon.isHidden = true cell.non_add_icon.isHidden = true
cell.text_line.isHidden = true cell.text_line.isHidden = true
cell.text_line.isHidden = true cell.text_line.isHidden = true
...@@ -532,30 +532,30 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa ...@@ -532,30 +532,30 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
cell.status_text_lbl.isHidden = true cell.status_text_lbl.isHidden = true
} }
// if (self.dataMdoel?.order_res?.order_status == 6 && self.dataMdoel?.order_res?.from != 3 && self.dataMdoel?.order_res?.from != 5) {
let arr = piCiArr![indexPath.row] let arr = piCiArr![indexPath.row]
if self.dataMdoel?.order_res?.order_type == 5 { if self.dataMdoel?.order_res?.order_type == 5 {
cell.yong_jin_lbl.isHidden = false cell.yong_jin_lbl.isHidden = false
}else{ }else{
cell.yong_jin_lbl.isHidden = true cell.yong_jin_lbl.isHidden = true
} }
if arr.count > 0 { if self.dataMdoel?.order_res?.shipping_status == 0 {
cell.non_add_icon.isHidden = true if arr.count > 0 {
cell.text_line.isHidden = true cell.non_add_icon.isHidden = true
cell.right_margin.constant = 5 cell.text_line.isHidden = true
cell.text_line.isHidden = true cell.right_margin.constant = 5
cell.already_add_icon.isHidden = false cell.text_line.isHidden = true
cell.status_text_lbl.textColor = UIColor(named: "多选按钮字体颜色") cell.already_add_icon.isHidden = false
}else{ cell.status_text_lbl.textColor = UIColor(named: "多选按钮字体颜色")
cell.non_add_icon.isHidden = false }else{
cell.already_add_icon.isHidden = true cell.non_add_icon.isHidden = false
cell.text_line.isHidden = false cell.already_add_icon.isHidden = true
cell.status_text_lbl.isHidden = false cell.text_line.isHidden = false
cell.right_margin.constant = -5 cell.status_text_lbl.isHidden = false
cell.status_text_lbl.textColor = UIColor(named: "#F57575") cell.right_margin.constant = -5
cell.status_text_lbl.textColor = UIColor(named: "#F57575")
}
} }
// }
cell.delegate = self cell.delegate = self
cell.isDetail = true cell.isDetail = true
......
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