Commit 9d9e51289d26c552be43089472f103ccd465839e

Authored by 朱林
1 parent bc71f0db

no message

LiveVideoCloud/AppCustoms/Base/BaseViewController.m
@@ -29,7 +29,8 @@ @@ -29,7 +29,8 @@
29 // Do any additional setup after loading the view. 29 // Do any additional setup after loading the view.
30 30
31 self.view.backgroundColor = [UIColor whiteColor]; 31 self.view.backgroundColor = [UIColor whiteColor];
32 - 32 + self.navigationController.navigationBar.translucent = NO;
  33 +
33 [self navigationSet]; 34 [self navigationSet];
34 [self bindModel]; 35 [self bindModel];
35 [self bindView]; 36 [self bindView];
LiveVideoCloud/AppCustoms/Main/ZXNavigationController.m
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 - (void)viewDidLoad { 17 - (void)viewDidLoad {
18 [super viewDidLoad]; 18 [super viewDidLoad];
19 // Do any additional setup after loading the view. 19 // Do any additional setup after loading the view.
20 - [UINavigationBar appearance].translucent = YES; 20 +// [UINavigationBar appearance].translucent = YES;
21 21
22 self.interactivePopGestureRecognizer.delegate = self; 22 self.interactivePopGestureRecognizer.delegate = self;
23 self.interactivePopGestureRecognizer.enabled = YES; 23 self.interactivePopGestureRecognizer.enabled = YES;
LiveVideoCloud/Classes/Sections/LiveSections/Controller/LVCVerifyViewController.m
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 WKWebView *webView = [[WKWebView alloc]init]; 36 WKWebView *webView = [[WKWebView alloc]init];
37 [self.view addSubview:webView]; 37 [self.view addSubview:webView];
38 [webView mas_makeConstraints:^(MASConstraintMaker *make) { 38 [webView mas_makeConstraints:^(MASConstraintMaker *make) {
39 - make.top.equalTo(self.view).offset(64); 39 + make.top.equalTo(self.view).offset(0);
40 make.left.right.bottom.equalTo(self.view); 40 make.left.right.bottom.equalTo(self.view);
41 }]; 41 }];
42 webView.UIDelegate = self; 42 webView.UIDelegate = self;
LiveVideoCloud/Classes/Sections/homeSections/Controller/HomeViewController.m
@@ -32,28 +32,8 @@ @@ -32,28 +32,8 @@
32 32
33 - (void)viewDidLoad { 33 - (void)viewDidLoad {
34 [super viewDidLoad]; 34 [super viewDidLoad];
35 - // Do any additional setup after loading the view.  
36 - self.view.backgroundColor = [UIColor whiteColor]; 35 +
37 self.navigationItem.title = @"首页"; 36 self.navigationItem.title = @"首页";
38 - self.navigationController.navigationBar.translucent = YES;  
39 -  
40 - UIButton *liveBtn = [UIButton buttonWithType:UIButtonTypeCustom];  
41 - liveBtn.frame = CGRectMake(0, 100, self.view.width, 40);  
42 - [liveBtn setTitle:@"电视台直播" forState:UIControlStateNormal];  
43 - [liveBtn addTarget:self action:@selector(liveAction) forControlEvents:UIControlEventTouchUpInside];  
44 - [self.view addSubview:liveBtn];  
45 -  
46 - UIButton *UGCLiveBtn = [UIButton buttonWithType:UIButtonTypeCustom];  
47 - UGCLiveBtn.frame = CGRectMake(0, 200, self.view.width, 40);  
48 - [UGCLiveBtn setTitle:@"UGC直播" forState:UIControlStateNormal];  
49 - [UGCLiveBtn addTarget:self action:@selector(UGCLiveAction) forControlEvents:UIControlEventTouchUpInside];  
50 - [self.view addSubview:UGCLiveBtn];  
51 -  
52 - UIButton *UGCLiveListBtn = [UIButton buttonWithType:UIButtonTypeCustom];  
53 - UGCLiveListBtn.frame = CGRectMake(0, 300, self.view.width, 40);  
54 - [UGCLiveListBtn setTitle:@"UGC直播列表" forState:UIControlStateNormal];  
55 - [UGCLiveListBtn addTarget:self action:@selector(UGCLiveListAction) forControlEvents:UIControlEventTouchUpInside];  
56 - [self.view addSubview:UGCLiveListBtn];  
57 37
58 _titleArr = @[@"直播",@"频道"]; 38 _titleArr = @[@"直播",@"频道"];
59 CGFloat width = 0; 39 CGFloat width = 0;
@@ -76,24 +56,6 @@ @@ -76,24 +56,6 @@
76 56
77 } 57 }
78 58
79 -- (void)liveAction  
80 -{  
81 - LVCTVLiveViewController *liveVC = [[LVCTVLiveViewController alloc] init];  
82 -// self.navigationController.navigationBar.hidden = YES;  
83 - [self.navigationController pushViewController:liveVC animated:YES];  
84 -}  
85 -  
86 -- (void)UGCLiveAction  
87 -{  
88 -// LVCUGCLivePlayerController *UGCLiveVC = [[LVCUGCLivePlayerController alloc] init];  
89 -// [self.navigationController pushViewController:UGCLiveVC animated:YES];  
90 -}  
91 -  
92 -- (void)UGCLiveListAction  
93 -{  
94 -  
95 -}  
96 -  
97 #pragma mark - V8HorizontalPickerViewDataSource 59 #pragma mark - V8HorizontalPickerViewDataSource
98 60
99 - (NSInteger)numberOfElementsInHorizontalPickerView:(V8HorizontalPickerView *)picker 61 - (NSInteger)numberOfElementsInHorizontalPickerView:(V8HorizontalPickerView *)picker
@@ -192,7 +154,7 @@ @@ -192,7 +154,7 @@
192 - (MHPagingScrollView *)pageView 154 - (MHPagingScrollView *)pageView
193 { 155 {
194 if (!_pageView) { 156 if (!_pageView) {
195 - _pageView = [[MHPagingScrollView alloc] initWithFrame:CGRectMake(0, 64, SCREEN_WIDTH, SCREEN_HEIGHT-64-49)]; 157 + _pageView = [[MHPagingScrollView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT-49)];
196 _pageView.pagingDelegate = self; 158 _pageView.pagingDelegate = self;
197 _pageView.delegate = self; 159 _pageView.delegate = self;
198 _pageView.scrollsToTop = NO; 160 _pageView.scrollsToTop = NO;