jq报错 $(...).children(...).transition is not a function

<script>

   var i= 180;

    $('.ecjia-store-list').on('click','.js-zk',function(){

        $(this).parent().prev('.fuwu-info').slideToggle();

        

        if($(this).children('span').text()=='展开'){

          $(this).children('span').text('收起');

          $(this).children('img').transition({ rotate: i+'deg' });

          }else{

          $(this).children('span').text('展开');

          $(this).children('img').transition({ rotate: i+'deg' });

          }

        i = i+180;

      })



</script>

源码是这样的 现在报错 $(...).children(...).transition is not a function 请问为什么

中国药福网黄晨
浏览 2705回答 1
1回答

ahchenxi2008

jq有transition方法吗,我查了没有呀
打开App,查看更多内容
随时随地看视频慕课网APP