当前位置:网站首页>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);
}
边栏推荐
- Go language unit test 4: go language uses gomonkey to test functions or methods
- How to promote the progress of project collaboration | community essay solicitation
- User and group command exercises
- Golang - command line tool Cobra
- Use vscode to view hex or UTF-8 codes
- CVPR 2022 | interpretation of 6 excellent papers selected by meituan technical team
- IBEM mathematical formula detection data set
- Sequence table (implemented in C language)
- RichView TRVStyle ListStyle 列表样式(项目符号编号)
- TensorBoard可视化处理案例简析
猜你喜欢

Go language unit test 3: go language uses gocovey library to do unit test

Use vscode to view hex or UTF-8 codes

研发团队资源成本优化实践

3D vision - 2 Introduction to pose estimation - openpose includes installation, compilation and use (single frame, real-time video)

MySQL data processing value addition, deletion and modification

Mycms we media mall v3.4.1 release, user manual update

Unity embeddedbrowser browser plug-in event communication

SQL Injection (AJAX/JSON/jQuery)
![[how to solve FAT32 when the computer is inserted into the U disk or the memory card display cannot be formatted]](/img/95/09552d33d2a834af4d304129714775.png)
[how to solve FAT32 when the computer is inserted into the U disk or the memory card display cannot be formatted]

Summary of common error reporting problems and positioning methods of thrift
随机推荐
Screenshot of the operation steps of upload labs level 4-level 9
Conversion function and explicit
Mycms we media mall v3.4.1 release, user manual update
Mysql:insert date:sql error [1292] [22001]: data truncation: incorrect date value:
mysql中的字段问题
Qt学习18 登录对话框实例分析
挡不住了,国产芯片再度突进,部分环节已进到4nm
网上开户哪家证券公司佣金最低,我要开户,网上客户经理开户安全吗
[redis] cache warm-up, cache avalanche and cache breakdown
[développement technologique - 24]: caractéristiques des technologies de communication Internet des objets existantes
Several common optimization methods matlab principle and depth analysis
3D vision - 2 Introduction to pose estimation - openpose includes installation, compilation and use (single frame, real-time video)
Replace the GPU card number when pytorch loads the historical model, map_ Location settings
Thrift threadmanager and three monitors
How to use lxml to judge whether the website announcement is updated
Flutter dynamic | fair 2.5.0 new version features
Students who do not understand the code can also send their own token, which is easy to learn BSC
记录关于银行回调post请求405 问题
SQL Injection (AJAX/JSON/jQuery)
Father and basketball