<countTo :startVal="startVal" :endVal="endVal" :duration="3000"></countTo>               // duration 数字滚动的快慢 

import countTo from 'vue-count-to'

 components: {
    countTo
  },
data() {
    return {
       startVal: 0,   //数字滚动的起点
       endVal: 2019,  //数字滚动的终点
    }
}     

 

相关文章:

  • 2021-10-04
  • 2022-12-23
  • 2018-05-28
  • 2022-12-23
  • 2021-10-08
  • 2021-10-28
  • 2021-06-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2021-06-03
  • 2022-02-11
  • 2022-12-23
相关资源
相似解决方案