Commit 7808d016351281392517e123ab23a9f3b557ba74

Authored by 张旭
1 parent c6a46445

修改图片

LiveVideoCloud/AppCustoms/Base/BaseViewController.m
@@ -58,8 +58,8 @@ @@ -58,8 +58,8 @@
58 [_btnLeft setFrame:CGRectMake(0, 0, 30, 30)]; 58 [_btnLeft setFrame:CGRectMake(0, 0, 30, 30)];
59 [_btnLeft addTarget:self action:@selector(onBackAction) forControlEvents:UIControlEventTouchUpInside]; 59 [_btnLeft addTarget:self action:@selector(onBackAction) forControlEvents:UIControlEventTouchUpInside];
60 60
61 - [_btnLeft setBackgroundImage:[UIImage imageNamed:@"fanhui_default"] forState:UIControlStateNormal];  
62 - [_btnLeft setBackgroundImage:[UIImage imageNamed:@"fanhui_focused"] forState:UIControlStateHighlighted]; 61 + [_btnLeft setImage:[UIImage imageNamed:@"fanhui_default"] forState:UIControlStateNormal];
  62 + [_btnLeft setImage:[UIImage imageNamed:@"fanhui_focused"] forState:UIControlStateHighlighted];
63 _btnLeft.highlighted = NO; 63 _btnLeft.highlighted = NO;
64 UIBarButtonItem *backItem = [[UIBarButtonItem alloc]initWithCustomView:_btnLeft]; 64 UIBarButtonItem *backItem = [[UIBarButtonItem alloc]initWithCustomView:_btnLeft];
65 65
LiveVideoCloud/AppCustoms/Main/View/LVCTabBar.m
@@ -43,13 +43,13 @@ @@ -43,13 +43,13 @@
43 { 43 {
44 [super layoutSubviews]; 44 [super layoutSubviews];
45 45
46 - self.liveBtn.top = self.height - 195 / 3;  
47 - _liveBtn.left = SCREEN_WIDTH * 0.5 - 195 / 6;  
48 - _liveBtn.width = 195 / 3;  
49 - _liveBtn.height = 195 / 3; 46 + self.liveBtn.top = self.height - 96 / 2;
  47 + _liveBtn.left = SCREEN_WIDTH * 0.5 - 96 / 4;
  48 + _liveBtn.width = 96 / 2;
  49 + _liveBtn.height = 96 / 2;
50 50
51 CGFloat buttonY = 19 - 3;//19 - 3.5; 51 CGFloat buttonY = 19 - 3;//19 - 3.5;
52 - CGFloat buttonW = (self.width - 195 / 3)/ 4; 52 + CGFloat buttonW = (self.width - 96 / 2)/ 4;
53 CGFloat buttonH = 30; 53 CGFloat buttonH = 30;
54 54
55 NSInteger index = 0; 55 NSInteger index = 0;
@@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
59 CGFloat buttonX = index * buttonW; 59 CGFloat buttonX = index * buttonW;
60 if (index >= 2) 60 if (index >= 2)
61 { 61 {
62 - buttonX += 195 / 3; 62 + buttonX += 96 / 2;
63 } 63 }
64 64
65 subView.frame = CGRectMake(buttonX, buttonY, buttonW, buttonH); 65 subView.frame = CGRectMake(buttonX, buttonY, buttonW, buttonH);
LiveVideoCloud/animation.xcassets/fanhui_default.imageset/Contents.json
@@ -2,11 +2,11 @@ @@ -2,11 +2,11 @@
2 "images" : [ 2 "images" : [
3 { 3 {
4 "idiom" : "universal", 4 "idiom" : "universal",
5 - "filename" : "fanhui_default.png",  
6 "scale" : "1x" 5 "scale" : "1x"
7 }, 6 },
8 { 7 {
9 "idiom" : "universal", 8 "idiom" : "universal",
  9 + "filename" : "fanhui_default.png",
10 "scale" : "2x" 10 "scale" : "2x"
11 }, 11 },
12 { 12 {
LiveVideoCloud/animation.xcassets/fanhui_focused.imageset/Contents.json
@@ -2,11 +2,11 @@ @@ -2,11 +2,11 @@
2 "images" : [ 2 "images" : [
3 { 3 {
4 "idiom" : "universal", 4 "idiom" : "universal",
5 - "filename" : "fanhui_focused.png",  
6 "scale" : "1x" 5 "scale" : "1x"
7 }, 6 },
8 { 7 {
9 "idiom" : "universal", 8 "idiom" : "universal",
  9 + "filename" : "fanhui_focused.png",
10 "scale" : "2x" 10 "scale" : "2x"
11 }, 11 },
12 { 12 {