Showing
1 changed file
with
2 additions
and
6 deletions
@@ -672,17 +672,13 @@ $(document).on('click', '.btn-use-vedio', function() { | @@ -672,17 +672,13 @@ $(document).on('click', '.btn-use-vedio', function() { | ||
672 | }, true); | 672 | }, true); |
673 | }); | 673 | }); |
674 | 674 | ||
675 | - | ||
676 | -//点击调用的视频列表添加到封面上 | ||
677 | -$(document).on('click', '.use-vedio', function(event) { | 675 | +$(document).on('click', '.use-vedio', function(event) { //点击调用的视频列表 |
678 | var index=$(this).data("index"); | 676 | var index=$(this).data("index"); |
679 | $(".vedio_a").not($(this).parent("a")).removeClass("select_img"); | 677 | $(".vedio_a").not($(this).parent("a")).removeClass("select_img"); |
680 | $(this).parent("a").toggleClass("select_img"); | 678 | $(this).parent("a").toggleClass("select_img"); |
681 | }); | 679 | }); |
682 | 680 | ||
683 | -//设置视频Id到内存中goodList中 | ||
684 | -function resetVedioId(skcIndex, uesVedioIndex, newSelectVedioId) { | ||
685 | - //var list = goodsList[skcIndex].goodsImagesList; | 681 | +function resetVedioId(skcIndex, uesVedioIndex, newSelectVedioId) { //设置视频Id到内存中goodList中 |
686 | var item = goodsList[skcIndex].goodsImagesList[uesVedioIndex]; | 682 | var item = goodsList[skcIndex].goodsImagesList[uesVedioIndex]; |
687 | item.vedioUrlId = newSelectVedioId; | 683 | item.vedioUrlId = newSelectVedioId; |
688 | renderGoodList(); | 684 | renderGoodList(); |
-
Please register or login to post a comment