From 64b0493e4bd40c46e341fd5de9f1862998c431b0 Mon Sep 17 00:00:00 2001 From: lijunda <475576921@qq.com> Date: Thu, 16 Aug 2018 16:35:30 +0800 Subject: [PATCH] 无修改,测试混淆代码 --- pregnancy_guard/BaseProject/Views/Cell/AdNoticeView.m | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pregnancy_guard/BaseProject/Views/Cell/AdNoticeView.m b/pregnancy_guard/BaseProject/Views/Cell/AdNoticeView.m index 651f91a..f2f69ac 100644 --- a/pregnancy_guard/BaseProject/Views/Cell/AdNoticeView.m +++ b/pregnancy_guard/BaseProject/Views/Cell/AdNoticeView.m @@ -157,23 +157,23 @@ // [self.modelArray addObject:status]; //} // ������������ - self.model = model; - [self setUIView]; + + [self setUIView:model]; } return self; } --(void)setUIView +-(void)setUIView:(NoticeModel*)model { //self.backgroundColor = [UIColor clearColor]; - + self.model = model; self.noticeBK.image = [UIImage imageNamed:@"notice_bg"]; self.noticeLogo.image = [UIImage imageNamed:@"img_logo"]; - [self.noticeContext setText:[NSString stringWithFormat:@"���������PM2.5������������\n������������������������������"]]; - [self.noticeTitle setText:[NSString stringWithFormat:@"���������������������"]]; + [self.noticeContext setText:self.model.content]; + [self.noticeTitle setText:self.model.name]; // [self.lookDetailBtn setTitle:@"������������" forState:UIControlStateNormal]; [self.cancelLookBtn setTitle:@"��� ���" forState:UIControlStateNormal]; } -- Gitblit v1.8.0