Commit 80857aeb4e0b84f63c840b3be4864d7338144421

Authored by yanglingyu
1 parent 848e85be

直播图片比例

CNLiveScioLive/Pages/Header/UrlMacro.h
@@ -9,8 +9,8 @@ @@ -9,8 +9,8 @@
9 #ifndef UrlMacro_h 9 #ifndef UrlMacro_h
10 #define UrlMacro_h 10 #define UrlMacro_h
11 11
12 -//#define REQUESTURL(url) [@"http://test.app.phonemovie.cnlive.com/" stringByAppendingPathComponent:url] //测试环境  
13 -#define REQUESTURL(url) [@"http://app.phonemovie.cnlive.com/" stringByAppendingPathComponent:url] //正式环境 12 +#define REQUESTURL(url) [@"http://test.app.phonemovie.cnlive.com/" stringByAppendingPathComponent:url] //测试环境
  13 +//#define REQUESTURL(url) [@"http://app.phonemovie.cnlive.com/" stringByAppendingPathComponent:url] //正式环境
14 14
15 #define IS_STRING_EMPTY(string) (string==nil || string == NULL || [string isKindOfClass:[NSNull class]] || [[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] length]==0 || [string isEqualToString:@""] || [string isEqualToString:@"<null>"]) 15 #define IS_STRING_EMPTY(string) (string==nil || string == NULL || [string isKindOfClass:[NSNull class]] || [[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] length]==0 || [string isEqualToString:@""] || [string isEqualToString:@"<null>"])
16 16
CNLiveScioLive/Pages/Live/Controller/CNLiveViewController.m
@@ -503,7 +503,7 @@ static NSString *indicatorTableViewCell = @&quot;CNLiveIndicatorTableViewCell&quot;; @@ -503,7 +503,7 @@ static NSString *indicatorTableViewCell = @&quot;CNLiveIndicatorTableViewCell&quot;;
503 } 503 }
504 - (CNLiveHeaderView *)header{ 504 - (CNLiveHeaderView *)header{
505 if(!_header){ 505 if(!_header){
506 - _header = [[CNLiveHeaderView alloc]initWithFrame:CGRectMake(0, 0, MainScreenWidth, 180)]; 506 + _header = [[CNLiveHeaderView alloc]initWithFrame:CGRectMake(0, 0, MainScreenWidth, MainScreenWidth*9 /16)];
507 _header.backgroundColor = Color_Blue; 507 _header.backgroundColor = Color_Blue;
508 } 508 }
509 return _header; 509 return _header;