Commit 76aee002 authored by lujunye's avatar lujunye

时间为空显示优化

parent 8477221e
...@@ -52,8 +52,14 @@ class KHXQ_ViewController: BaseViewController, TimeShowDownViewDeleagte, UISearc ...@@ -52,8 +52,14 @@ class KHXQ_ViewController: BaseViewController, TimeShowDownViewDeleagte, UISearc
cell.invite_time_lbl.text = model.create_time cell.invite_time_lbl.text = model.create_time
if model.order_number != nil && model.sum_order_money != nil { if model.order_number != nil && model.sum_order_money != nil {
cell.orders_lbl.text = model.order_number! + "(累计成交金额" + model.sum_order_money! + "元)" cell.orders_lbl.text = model.order_number! + "(累计成交金额" + model.sum_order_money! + "元)"
}else{
cell.orders_lbl.text = "-"
} }
if model.latest_order_time == nil{
cell.order_time_lbl.text = "-"
}else{
cell.order_time_lbl.text = model.latest_order_time cell.order_time_lbl.text = model.latest_order_time
}
cell.delegate = self cell.delegate = self
return cell return cell
} }
......
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