Commit 97ca22dff36b621ae5dd2f5a0fa97c7a43eb0c15

Authored by iOS-Xiaowen
1 parent c192646b

no message

CNLiveBMineModule/Classes/Controller/CNLiveMineController.m
@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
34 @end 34 @end
35 35
36 @implementation CNLiveMineController 36 @implementation CNLiveMineController
37 -static const NSInteger kHEIGHT = 253; 37 +static const NSInteger kHEIGHT = 260;
38 static const CGFloat timeValue = 1.5; 38 static const CGFloat timeValue = 1.5;
39 39
40 #pragma mark - 加载数据 40 #pragma mark - 加载数据
@@ -42,11 +42,11 @@ static const CGFloat timeValue = 1.5; @@ -42,11 +42,11 @@ static const CGFloat timeValue = 1.5;
42 NSArray *data = @[ 42 NSArray *data = @[
43 // @{ 43 // @{
44 // @"name":@"直播中心", 44 // @"name":@"直播中心",
45 -// @"image":@"mine_zbzx", 45 +// @"image":@"CNLiveBMineModule.bundle/mine_zbzx",
46 // }, 46 // },
47 // @{ 47 // @{
48 // @"name":@"钱包", 48 // @"name":@"钱包",
49 -// @"image":@"mine_qb", 49 +// @"image":@"CNLiveBMineModule.bundle/mine_qb",
50 // }, 50 // },
51 @{ 51 @{
52 @"name":@"设置", 52 @"name":@"设置",
CNLiveBMineModule/Classes/View/CNLiveMineHeaderView.m
@@ -82,7 +82,7 @@ static const NSInteger margin = 20; @@ -82,7 +82,7 @@ static const NSInteger margin = 20;
82 [_home mas_remakeConstraints:^(MASConstraintMaker *make) { 82 [_home mas_remakeConstraints:^(MASConstraintMaker *make) {
83 make.left.equalTo(self.mas_left); 83 make.left.equalTo(self.mas_left);
84 make.right.equalTo(self.mas_right); 84 make.right.equalTo(self.mas_right);
85 - make.height.offset(125); 85 + make.height.offset(128);
86 make.bottom.equalTo(self.mas_bottom); 86 make.bottom.equalTo(self.mas_bottom);
87 87
88 }]; 88 }];
@@ -92,7 +92,6 @@ static const NSInteger margin = 20; @@ -92,7 +92,6 @@ static const NSInteger margin = 20;
92 make.right.equalTo(self.mas_right).with.offset(-0); 92 make.right.equalTo(self.mas_right).with.offset(-0);
93 make.top.equalTo(self.mas_top).with.offset(0); 93 make.top.equalTo(self.mas_top).with.offset(0);
94 make.bottom.equalTo(self.home.mas_top).with.offset(40); 94 make.bottom.equalTo(self.home.mas_top).with.offset(40);
95 -  
96 }]; 95 }];
97 96
98 [_bgTopView mas_remakeConstraints:^(MASConstraintMaker *make) { 97 [_bgTopView mas_remakeConstraints:^(MASConstraintMaker *make) {
@@ -307,7 +306,7 @@ static const NSInteger margin = 20; @@ -307,7 +306,7 @@ static const NSInteger margin = 20;
307 NSMutableArray *images = [NSMutableArray arrayWithArray:@[@"CNLiveBMineModule.bundle/mine_wjj_certification", @"CNLiveBMineModule.bundle/mine_common"]]; 306 NSMutableArray *images = [NSMutableArray arrayWithArray:@[@"CNLiveBMineModule.bundle/mine_wjj_certification", @"CNLiveBMineModule.bundle/mine_common"]];
308 // 企业 307 // 企业
309 if ([CNUserShareModel.wjjStatus.institutionStatus isEqualToString:@"1"]) { 308 if ([CNUserShareModel.wjjStatus.institutionStatus isEqualToString:@"1"]) {
310 - [images addObject:@"mine_qiye"]; 309 + [images addObject:@"CNLiveBMineModule.bundle/mine_qiye"];
311 } 310 }
312 _certification.attributedText = [self createAttributedImages:images]; 311 _certification.attributedText = [self createAttributedImages:images];
313 } 312 }