您的位置:首页 > 健康 > 养生 > 抖音代运营合同范本_app网站建设多少钱_成都电脑培训班零基础_网站大全

抖音代运营合同范本_app网站建设多少钱_成都电脑培训班零基础_网站大全

2024/12/28 11:42:11 来源:https://blog.csdn.net/TZ1284063988/article/details/144466547  浏览:    关键词:抖音代运营合同范本_app网站建设多少钱_成都电脑培训班零基础_网站大全
抖音代运营合同范本_app网站建设多少钱_成都电脑培训班零基础_网站大全
<view class="winners_list uni-flex uni-column" :animation="animationData"><view v-for="(item, index) in winnersList" :key="index" class="li uni-flex uni-column"><img :src="item.img" alt="" /><view><div class="info"><span><text>{{ item.info }}</text></span><span><text>{{ item.date }}</text></span></div><div class="prize_name"><text>{{ item.prize }}</text></div></view></view></view><view class="winners_list uni-flex uni-column" :animation="animationData"><view v-for="(item, index) in winnersList" :key="index" class="li uni-flex uni-column"><img :src="item.img" alt="" /><view><div class="info"><span><text>{{ item.info }}</text></span><span><text>{{ item.date }}</text></span></div><div class="prize_name"><text>{{ item.prize }}</text></div></view></view></view>
   //滚动 getHeight(Class) {let query = uni.createSelectorQuery().in(this);query.selectAll(Class).boundingClientRect(data => {this.height = data[0].height;}).exec();},prizeScroll() {let speed = 50;let animation = uni.createAnimation({duration: this.getHeight('.winners_list') / speed,timingFunction: 'linear',delay: 0});this.animation = animation;this.timer=setInterval(() => {console.log('123');if (this.scrollHeight >= this.height) {this.stopScroll()this.prizeScroll()} else {this.scrollHeight = this.scrollHeight + 1;animation.translateY(-this.scrollHeight).step();this.animationData = animation.export();}}, speed);},// 停止动画stopScroll(){if(this.timer){clearInterval(this.timer)}this.animation.translateY(0).step();this.scrollHeight = 0;this.animationData = this.animation.export();},taBtn(index){this.currentIndex=index;if(index==1){this.$nextTick(()=>{this.prizeScroll();})}else{this.stopScroll()}}

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com