Commit 45cebda9e6ff762999b00bfb04bfea966bbde390

Authored by “张旭”
1 parent 0cbee6eb

企业,机构提醒文字颜色

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