当前位置:网站首页>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: send the get request and parse the return JSON (go1.16.4)
- 使用tensorflow进行完整的DNN深度神经网络CNN训练完成图片识别案例
- PHP maze game
- Flutter dynamic | fair 2.5.0 new version features
- JS convert pseudo array to array
- Go language web development series 29: Gin framework uses gin contrib / sessions library to manage sessions (based on cookies)
- [bw16 application] instructions for firmware burning of Anxin Ke bw16 module and development board update
- The latest BSC can pay dividends. Any B usdt Shib eth dividend destruction marketing can
- Unity embeddedbrowser browser plug-in event communication
- Qt学习19 Qt 中的标准对话框(上)
猜你喜欢
TensorBoard可视化处理案例简析
太阳底下无新事,元宇宙能否更上层楼?
Halcon combined with C # to detect surface defects -- Halcon routine autobahn
HALCON联合C#检测表面缺陷——HALCON例程autobahn
研发团队资源成本优化实践
Qt学习25 布局管理器(四)
[email protected])"/>
金属有机骨架(MOFs)抗肿瘤药载体|PCN-223装载甲硝唑|UiO-66包载盐酸环丙沙星([email protected])
Logback log sorting
Golang — 命令行工具cobra
Bidirectional linked list (we only need to pay attention to insert and delete functions)
随机推荐
[développement technologique - 24]: caractéristiques des technologies de communication Internet des objets existantes
GoLand 2021.2 configure go (go1.17.6)
掌握Cypress命令行选项,是真正掌握Cypress的基础
Leetcode-1175.Prime Arrangements
Flutter dynamic | fair 2.5.0 new version features
顺序表(C语言实现)
Golang — 命令行工具cobra
Go language unit test 5: go language uses go sqlmock and Gorm to do database query mock
SQL Injection (POST/Search)
CVPR 2022 | 美团技术团队精选6篇优秀论文解读
Windos creates Cordova prompt because running scripts is prohibited on this system
Error running 'application' in idea running: the solution of command line is too long
The shadow of the object at the edge of the untiy world flickers, and the shadow of the object near the far point is normal
Flutter动态化 | Fair 2.5.0 新版本特性
Libuv Library - Design Overview (Chinese version)
Comprehensively develop the main channel of digital economy and digital group, and actively promote the utonmos digital Tibet market
Another industry has been broken by Chinese chips. No wonder the leading analog chip companies in the United States have cut prices and sold off
Using registered classes to realize specific type matching function template
Internet of things completion -- (stm32f407 connects to cloud platform detection data)
Multi person collaborative data annotation based on Baidu brain easydata from scratch