Authored by mali

视频添加预览功能

... ... @@ -646,10 +646,10 @@ $(document).on('click', '.btn-use-vedio', function() {
if (selectVedioId && selectVedioId == vedioItem.id) {
select_img_class = " select_img";
}
vedioHtml += '<td><div style="height:123px; width:125px;margin:5px;text-align: center;line-height:20px" ><a style="display:inline-block" class="vedio_a'+ select_img_class + '"><img class="use-vedio"'
vedioHtml += '<td><div style="height:223px; width:125px;margin:5px;text-align: center;line-height:20px" ><a style="display:inline-block" class="vedio_a'+ select_img_class + '"><img class="use-vedio"'
+ ' src="http://admin.portal.yohobuy.com/static/assets/images/defaultvideo.png'
+ '" alt="" data-vedioid="' + vedioItem.id + '" data-index="' + i + '" style="cursor:pointer;" /></a><span style="display:inline;height:100%;line-height:0px">' + vedioItem.videoName + "-"
+ vedioItem.id +'</span></div></td>';
+ vedioItem.id +'</span><br/><a href="' + vedioItem.url + '" target="_blank" style="display:inline;height:100%;line-height:0px;color:#ff7800;">预览</a></div></td>';
})
vedioHtml += "</tr></table></div>";
... ...