Commit 31b7a851741e1c1b8d0562a64051a7b3ab3a892c

Authored by yanglingyu
1 parent 114d3a17

0..4.6

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