Commit 66596bd8 by libai

测试

parent bcf9fa58
Showing with 8 additions and 2 deletions
......@@ -484,7 +484,9 @@ $(function(){
html+='</div></a>';
}
$(".videos-content").html(html);
$(".videos-box-mc-face").on("error",function(){
$(this).attr("src","https://app.ixiulive.com/static/footVideo/m/m"+Math.ceil(Math.random()*63)+".jpg")
})
$(".add-video-content").html('')
for(var i=5;i<10;i++){
if(data.dataList[i]==undefined)continue
......@@ -512,6 +514,9 @@ $(function(){
html+='</div>';
html+='</div></a>';
$(".add-video-content").append(html)
$(".play-mc-face").on("error",function(){
$(this).attr("src","https://app.ixiulive.com/static/footVideo/m/m"+Math.ceil(Math.random()*63)+".jpg")
})
// $(".videos-box,.recommend-swiper,.add-video-box").unbind("click").on("click",function(){
// var _self=$(this).attr("data-type")
// window.location.href="video.html?topicId="+_self+"&tag="+tagNum+""
......@@ -543,7 +548,8 @@ $(function(){
html+='<img src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_80" alt="">';
html+='<p>'+list.nickname+'</p>';
html+='</div>';
html+='<div style="background: url(https://zhibocdn.yabolive.net/comm'+videoList.videos[0].cover.split('?')[0]+'?x-oss-process=video/snapshot,t_90000,f_jpg,w_510,h_0,m_fast,f_jpg)no-repeat;background-size: cover;background-position-y: center;" class="add-video-img">';
html+='<div style="" class="add-video-img">';
html+='<img class="play-mc-face" src="https://zhibocdn.yabolive.net/comm'+videoList.videos[0].cover.split('?')[0]+'?x-oss-process=video/snapshot,t_90000,f_jpg,w_510,h_0,m_fast,f_jpg">'
html+='<img class="play-icon" src="images/play-icon.png" alt="">';
html+='</div>';
html+='<div class="add-video-text-box">';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment