code: function changeCarouselHeight (carousel, index, time) {
    let img = carousel.querySelectorAll('.mip-carousel-slideBox')[index].querySelector('img')
    let containerWidth = parseInt(window.getComputedStyle(carousel, null).getPropertyValue('width'), 10)
    translateHeight(getCarouselHeight(containerWidth, img), time, carousel)
  }
docs: 改变 carousel 高度。
  
  @param {HTMLElement} carousel
  @param {number} index
  @param {number} time