Commit 45cebda9e6ff762999b00bfb04bfea966bbde390
1 parent
0cbee6eb
企业,机构提醒文字颜色
Showing
2 changed files
with
3 additions
and
2 deletions
metaCode/Classes/Main/HomePage/View/VerticalViews/MainView/CNMainView.swift
| @@ -512,14 +512,14 @@ class CNFrontMainView : UIView{ | @@ -512,14 +512,14 @@ class CNFrontMainView : UIView{ | ||
| 512 | //有企业认证显示提示lbl | 512 | //有企业认证显示提示lbl |
| 513 | if idModel!.enterpriseAuth{ | 513 | if idModel!.enterpriseAuth{ |
| 514 | self.enterpriseTipsLabel.isHidden = false | 514 | self.enterpriseTipsLabel.isHidden = false |
| 515 | - self.enterpriseTipsLabel.textColor = HexColor(newValue!.backgroundColor) | 515 | + self.enterpriseTipsLabel.textColor = HexColor(newValue!.tipsColour) |
| 516 | }else{ | 516 | }else{ |
| 517 | self.enterpriseTipsLabel.isHidden = true | 517 | self.enterpriseTipsLabel.isHidden = true |
| 518 | } | 518 | } |
| 519 | //有机构认证显示提示lbl | 519 | //有机构认证显示提示lbl |
| 520 | if idModel!.agencyAuth{ | 520 | if idModel!.agencyAuth{ |
| 521 | self.agencyTipsLabel.isHidden = false | 521 | self.agencyTipsLabel.isHidden = false |
| 522 | - self.agencyTipsLabel.textColor = HexColor(newValue!.backgroundColor) | 522 | + self.agencyTipsLabel.textColor = HexColor(newValue!.tipsColour) |
| 523 | }else{ | 523 | }else{ |
| 524 | self.agencyTipsLabel.isHidden = false | 524 | self.agencyTipsLabel.isHidden = false |
| 525 | } | 525 | } |
metaCode/Classes/Main/MinePage/ViewModel/CNLiveMineBaseModel.swift
| @@ -147,6 +147,7 @@ final class StandListModel: BaseModel {//, TableCodable { | @@ -147,6 +147,7 @@ final class StandListModel: BaseModel {//, TableCodable { | ||
| 147 | var backgroundColor: String = kCNDownSlideBackgroundColorHex//企业认证按钮背景色- | 147 | var backgroundColor: String = kCNDownSlideBackgroundColorHex//企业认证按钮背景色- |
| 148 | var atPersonageColour: String = kCNDownSlideBackgroundColorHex//个人认证按钮背景色- | 148 | var atPersonageColour: String = kCNDownSlideBackgroundColorHex//个人认证按钮背景色- |
| 149 | var backgroundColour: String = ""//- | 149 | var backgroundColour: String = ""//- |
| 150 | + var tipsColour: String = ""//-企业,机构 提醒文本颜色 | ||
| 150 | var description: String = ""//首页身份说明描述- | 151 | var description: String = ""//首页身份说明描述- |
| 151 | var descBackgroundImg: String = ""//首页文字背景图 | 152 | var descBackgroundImg: String = ""//首页文字背景图 |
| 152 | var cardImg: String = ""//卡片背景图- | 153 | var cardImg: String = ""//卡片背景图- |