Commit 30d0256c authored by David黄金龙's avatar David黄金龙

文案 颜色值 对应

parent 7a8f6e1c
...@@ -101,7 +101,7 @@ class YHDocListCell: UITableViewCell { ...@@ -101,7 +101,7 @@ class YHDocListCell: UITableViewCell {
statusLabel = { statusLabel = {
let label = UILabel() let label = UILabel()
label.font = UIFont.PFSC_R(ofSize: 14) label.font = UIFont.PFSC_M(ofSize: 14)
label.textColor = UIColor.brandMainColor label.textColor = UIColor.brandMainColor
label.textAlignment = .right label.textAlignment = .right
label.text = "待审核" label.text = "待审核"
...@@ -169,7 +169,7 @@ class YHDocListCell: UITableViewCell { ...@@ -169,7 +169,7 @@ class YHDocListCell: UITableViewCell {
statusTxt = "已驳回" statusTxt = "已驳回"
color = UIColor.failColor color = UIColor.failColor
} else if status == 4 { } else if status == 4 {
statusTxt = "待核对" statusTxt = "核对中"
color = UIColor.warnColor color = UIColor.warnColor
} else if status == 5 { } else if status == 5 {
statusTxt = "已签章" statusTxt = "已签章"
...@@ -182,13 +182,10 @@ class YHDocListCell: UITableViewCell { ...@@ -182,13 +182,10 @@ class YHDocListCell: UITableViewCell {
color = UIColor.labelTextColor2 color = UIColor.labelTextColor2
} else { } else {
statusTxt = "--" statusTxt = "--"
color = UIColor.brandMainColor color = UIColor.failColor
} }
statusLabel.text = statusTxt statusLabel.text = statusTxt
statusLabel.textColor = color statusLabel.textColor = color
//0-待上传,1-未发送, 2-发送中,3-已发送,4-已签收,5-审核通过,6-驳回
} }
} }
...@@ -217,19 +214,19 @@ class YHDocListCell: UITableViewCell { ...@@ -217,19 +214,19 @@ class YHDocListCell: UITableViewCell {
let status = dataSource.status let status = dataSource.status
if status == 3 { if status == 3 {
statusTxt = "待签章" statusTxt = "待签章"
color = UIColor.failColor color = UIColor.brandMainColor
} else if status == 4 { } else if status == 4 {
statusTxt = "已签章" statusTxt = "已签章"
color = UIColor.warnColor color = UIColor.successColor
} else if status == 5 { } else if status == 5 {
statusTxt = "已完成" statusTxt = "已完成"
color = UIColor.successColor color = UIColor.labelTextColor2
} else if status == 6 { } else if status == 6 {
statusTxt = "已驳回" statusTxt = "已驳回"
color = UIColor.failColor color = UIColor.failColor
} else { } else {
statusTxt = "--" statusTxt = "--"
color = UIColor.brandMainColor color = UIColor.failColor
} }
statusLabel.text = statusTxt statusLabel.text = statusTxt
statusLabel.textColor = color statusLabel.textColor = color
......
...@@ -225,7 +225,7 @@ class YHDocumentMessageTableViewCell: UITableViewCell { ...@@ -225,7 +225,7 @@ class YHDocumentMessageTableViewCell: UITableViewCell {
lookButton.isHidden = true lookButton.isHidden = true
} }
if dataSource.writing_document.status == 3 { if dataSource.writing_document.status == 3 {
title = " 待核对 " title = "核对中"
color = UIColor.warnColor color = UIColor.warnColor
editButton.isHidden = true editButton.isHidden = true
submitButton.isHidden = true submitButton.isHidden = 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