(types)
| 574 | // 加载列表中的提示条 |
| 575 | // 参数:类型(more、nomore、loading、nodata、clear) |
| 576 | function addListbar(types) { |
| 577 | var html |
| 578 | switch(types) { |
| 579 | case "more": // 还可以加载更多 |
| 580 | html = '<div class="list-item text-center list-loadmore list-clickable" title="点击加载更多数据" id="list-foot">点击加载更多...</div>'; |
| 581 | break; |
| 582 | |
| 583 | case "nomore": // 数据加载完了 |
| 584 | html = '<div class="list-item text-center" id="list-foot">全都加载完了</div>'; |
| 585 | break; |
| 586 | |
| 587 | case "loading": // 加载中 |
| 588 | html = '<div class="list-item text-center" id="list-foot">播放列表加载中...</div>'; |
| 589 | break; |
| 590 | |
| 591 | case "nodata": // 列表中没有内容 |
| 592 | html = '<div class="list-item text-center" id="list-foot">可能是个假列表,什么也没有</div>'; |
| 593 | break; |
| 594 | |
| 595 | case "clear": // 清空列表 |
| 596 | html = '<div class="list-item text-center list-clickable" id="list-foot" onclick="clearDislist();">清空列表</div>'; |
| 597 | break; |
| 598 | } |
| 599 | rem.mainList.append(html); |
| 600 | } |
| 601 | |
| 602 | // 将时间格式化为 00:00 的格式 |
| 603 | // 参数:原始时间 |
no outgoing calls
no test coverage detected