本文介绍了vue实现手机号码抽奖上下滚动动画示例,分享给大家。具体如下:
</div> <div class="num mui-text-center"> <div class="span"> <div>1</div> </div> <div class="span"> <transition name="down-up-translate-fade"> <div :key="i">{{i}}</div> </transition> </div> <div class="span"> <transition name="down-up-translate-fade"> <div :key="j">{{j}}</div> </transition> </div> <div class="span"> <div>*</div> </div> <div class="span"> <div>*</div> </div> <div class="span"> <div>*</div> </div> <div class="span"> <div>*</div> </div> <div class="span"> <transition name="down-up-translate-fade"> <div :key="k">{{k}}</div> </transition> </div> <div class="span"> <transition name="down-up-translate-fade"> <div :key="l">{{l}}</div> </transition> </div> <div class="span"> <transition name="down-up-translate-fade"> <div :key="i">{{i}}</div> </transition> </div> <div class="span"> <transition name="down-up-translate-fade"> <div :key="j">{{j}}</div> </transition> </div> </div>
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程之家。