Commit 80857aeb4e0b84f63c840b3be4864d7338144421
1 parent
848e85be
直播图片比例
Showing
2 changed files
with
3 additions
and
3 deletions
CNLiveScioLive/Pages/Header/UrlMacro.h
| ... | ... | @@ -9,8 +9,8 @@ |
| 9 | 9 | #ifndef UrlMacro_h |
| 10 | 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 | 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 = @"CNLiveIndicatorTableViewCell"; |
| 503 | 503 | } |
| 504 | 504 | - (CNLiveHeaderView *)header{ |
| 505 | 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 | 507 | _header.backgroundColor = Color_Blue; |
| 508 | 508 | } |
| 509 | 509 | return _header; | ... | ... |