Commit 8761c28d6fc172e4b652d656c05e8d74a0af1e4a
1 parent
6fe20d89
添加背景图其他播放状态显示
Showing
1 changed file
with
16 additions
and
0 deletions
LiveVideoCloud/LiveVideoCloud/Classes/Sections/homeSections/View/LVCUGCBackgroundView.m
| @@ -51,6 +51,22 @@ | @@ -51,6 +51,22 @@ | ||
| 51 | _playInfoLabel.text = @"直播已结束"; | 51 | _playInfoLabel.text = @"直播已结束"; |
| 52 | self.hidden = NO; | 52 | self.hidden = NO; |
| 53 | break; | 53 | break; |
| 54 | + case 3: | ||
| 55 | + _playInfoLabel.text = @"播放结束,去看看其他节目吧~"; | ||
| 56 | + self.hidden = NO; | ||
| 57 | + break; | ||
| 58 | + case 4: | ||
| 59 | + _playInfoLabel.text = @"直播未开始,看看其他主播吧~"; // state 0 | ||
| 60 | + self.hidden = NO; | ||
| 61 | + break; | ||
| 62 | + case 5: | ||
| 63 | + _playInfoLabel.text = @"主播已下线,看看其他主播吧~"; // state 4 | ||
| 64 | + self.hidden = NO; | ||
| 65 | + break; | ||
| 66 | + case 6: | ||
| 67 | + _playInfoLabel.text = @"直播异常,主播被外星人抓走了"; // state -2 异常 | ||
| 68 | + self.hidden = NO; | ||
| 69 | + break; | ||
| 54 | 70 | ||
| 55 | default: | 71 | default: |
| 56 | break; | 72 | break; |