Commit 31b7a851741e1c1b8d0562a64051a7b3ab3a892c

Authored by yanglingyu
1 parent 114d3a17

0..4.6

CNLiveCMineModule.podspec
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 8
9 Pod::Spec.new do |s| 9 Pod::Spec.new do |s|
10 s.name = 'CNLiveCMineModule' 10 s.name = 'CNLiveCMineModule'
11 - s.version = '0.4.5' 11 + s.version = '0.4.6'
12 s.summary = '网家家C端个人中心' 12 s.summary = '网家家C端个人中心'
13 13
14 # This description is used to generate tags and improve search results. 14 # This description is used to generate tags and improve search results.
CNLiveCMineModule/Classes/CNLiveCMineModule.m
@@ -40,7 +40,6 @@ @@ -40,7 +40,6 @@
40 if ([CNLiveCMineModule shareModule].backMessageFromSelectCountriesBlock) { 40 if ([CNLiveCMineModule shareModule].backMessageFromSelectCountriesBlock) {
41 [CNLiveCMineModule shareModule].backMessageFromSelectCountriesBlock(name, code); 41 [CNLiveCMineModule shareModule].backMessageFromSelectCountriesBlock(name, code);
42 } 42 }
43 -  
44 } 43 }
45 #pragma mark = 私有方法 44 #pragma mark = 私有方法
46 + (UINavigationController *)navigationViewController 45 + (UINavigationController *)navigationViewController
CNLiveCMineModule/Classes/Colletion/View/CNMineCollectionCell.m
@@ -33,6 +33,7 @@ @@ -33,6 +33,7 @@
33 [self.iconView addSubview:self.playerView]; 33 [self.iconView addSubview:self.playerView];
34 UILongPressGestureRecognizer *longGes = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap:)]; 34 UILongPressGestureRecognizer *longGes = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap:)];
35 [self.mainView addGestureRecognizer:longGes]; 35 [self.mainView addGestureRecognizer:longGes];
  36 + [self subViewsLayout];
36 } 37 }
37 return self; 38 return self;
38 } 39 }
@@ -43,8 +44,7 @@ @@ -43,8 +44,7 @@
43 } 44 }
44 } 45 }
45 #pragma mark - UI 46 #pragma mark - UI
46 -- (void)layoutSubviews {  
47 - [super layoutSubviews]; 47 +- (void)subViewsLayout {
48 MJWeakSelf 48 MJWeakSelf
49 [_mainView mas_makeConstraints:^(MASConstraintMaker *make) { 49 [_mainView mas_makeConstraints:^(MASConstraintMaker *make) {
50 make.top.left.mas_equalTo(weakSelf.contentView).offset(10); 50 make.top.left.mas_equalTo(weakSelf.contentView).offset(10);
CNLiveCMineModule/Classes/Colletion/View/CNMineCollectionErrorCell.m
@@ -30,9 +30,6 @@ @@ -30,9 +30,6 @@
30 - (void)setupUI { 30 - (void)setupUI {
31 [self.contentView addSubview:self.mainView]; 31 [self.contentView addSubview:self.mainView];
32 [self.mainView addSubview:self.errorLabel]; 32 [self.mainView addSubview:self.errorLabel];
33 -}  
34 -- (void)layoutSubviews {  
35 - [super layoutSubviews];  
36 MJWeakSelf 33 MJWeakSelf
37 [_mainView mas_makeConstraints:^(MASConstraintMaker *make) { 34 [_mainView mas_makeConstraints:^(MASConstraintMaker *make) {
38 make.top.left.mas_equalTo(weakSelf.contentView).offset(5); 35 make.top.left.mas_equalTo(weakSelf.contentView).offset(5);
@@ -44,7 +41,6 @@ @@ -44,7 +41,6 @@
44 make.top.mas_equalTo(_mainView.mas_top).offset(0); 41 make.top.mas_equalTo(_mainView.mas_top).offset(0);
45 make.bottom.mas_equalTo(_mainView.mas_bottom).offset(-0); 42 make.bottom.mas_equalTo(_mainView.mas_bottom).offset(-0);
46 }]; 43 }];
47 -  
48 } 44 }
49 45
50 - (void)awakeFromNib { 46 - (void)awakeFromNib {
CNLiveCMineModule/Classes/Colletion/View/CNMineGoodsCollectCell.m
@@ -31,12 +31,12 @@ @@ -31,12 +31,12 @@
31 [self.contentView addSubview:self.lineView]; 31 [self.contentView addSubview:self.lineView];
32 UILongPressGestureRecognizer *longGes = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap:)]; 32 UILongPressGestureRecognizer *longGes = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap:)];
33 [self.contentView addGestureRecognizer:longGes]; 33 [self.contentView addGestureRecognizer:longGes];
  34 + [self subviewLayout];
34 } 35 }
35 return self; 36 return self;
36 } 37 }
37 --(void)layoutSubviews 38 +-(void)subviewLayout
38 { 39 {
39 - [super layoutSubviews];  
40 [_singImg mas_makeConstraints:^(MASConstraintMaker *make) { 40 [_singImg mas_makeConstraints:^(MASConstraintMaker *make) {
41 make.top.left.equalTo(self.contentView).offset(15); 41 make.top.left.equalTo(self.contentView).offset(15);
42 make.height.width.offset(90*RATIO); 42 make.height.width.offset(90*RATIO);