`<countTo class="count_to" :startVal='startVal-50' :endVal='endVal' :duration='100000' :easingFn="easingFn"></countTo>` methods: { > easingFn(t, b, c, d){ > > let y = c*t/d+b; //此方法为匀速 > > return y; > > //return c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b; //原方案为先快后慢 > } }