当前位置:网站首页>Uniapp skills - scrolling components -1
Uniapp skills - scrolling components -1
2022-07-03 13:54:00 【Cloud and cloud discoloration 1】
uniapp MAOUI Scroll components
If the set display quantity is greater than the total data , No more scrolling , In the component file mao-scroll.vue in :
init: function(){
this.showLine = this.showNum < this.data.length ? this.showNum : this.data.length;
for(let i = 0; i < this.data.length; i++){
this.showdata.push(this.data[i]);
}
for(let i = 0; i < this.showLine; i++){
this.showdata.push(this.data[i]);
}
if(this.showNum > this.data.length){
return;
}// Adding this judgment can realize
var tmp = setInterval(this.animationFunc, this.animation);
}
边栏推荐
- Mobile phones and computers can be used, whole people, spoof code connections, "won't you Baidu for a while" teach you to use Baidu
- [how to solve FAT32 when the computer is inserted into the U disk or the memory card display cannot be formatted]
- Realize the recognition and training of CNN images, and process the cifar10 data set and other methods through the tensorflow framework
- 如何使用lxml判断网站公告是否更新
- Qt学习24 布局管理器(三)
- Implementation of Muduo accept connection, disconnection and sending data
- 挡不住了,国产芯片再度突进,部分环节已进到4nm
- MySQL 数据处理值增删改
- Heap structure and heap sort heapify
- Go language web development series 30: gin: grouping by version for routing
猜你喜欢
从零开始的基于百度大脑EasyData的多人协同数据标注
挡不住了,国产芯片再度突进,部分环节已进到4nm
Common network state detection and analysis tools
使用tensorflow进行完整的DNN深度神经网络CNN训练完成图片识别案例
Go language web development series 25: Gin framework: using MD5 to verify the signature for the interface station
Go language web development series 29: Gin framework uses gin contrib / sessions library to manage sessions (based on cookies)
GoLand 2021.2 configure go (go1.17.6)
Implementation of Muduo accept connection, disconnection and sending data
解决MySql 1045 Access denied for user ‘root‘@‘localhost‘ (using password: YES)
掌握Cypress命令行选项,是真正掌握Cypress的基础
随机推荐
【556. 下一个更大元素 III】
Unity embeddedbrowser browser plug-in event communication
研发团队资源成本优化实践
全面发展数字经济主航道 和数集团积极推动UTONMOS数藏市场
logback日志的整理
Shell timing script, starting from 0, CSV format data is regularly imported into PostgreSQL database shell script example
Flutter dynamic | fair 2.5.0 new version features
Asp. Net core1.1 without project JSON, so as to generate cross platform packages
[quantitative trading] permanent portfolio, turtle trading rules reading, back testing and discussion
[understanding by chance-37]: the structure of human sensory system determines that human beings are self-centered
Unity Render Streaming通过Js与Unity自定义通讯
软件测试工作那么难找,只有外包offer,我该去么?
Qt学习24 布局管理器(三)
Summary of common error reporting problems and positioning methods of thrift
Qt学习18 登录对话框实例分析
Unity EmbeddedBrowser浏览器插件事件通讯
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
The latest BSC can pay dividends. Any B usdt Shib eth dividend destruction marketing can
The reasons why there are so many programming languages in programming internal skills
The network card fails to start after the cold migration of the server hard disk