当前位置:网站首页>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);
}
边栏推荐
- Qt学习25 布局管理器(四)
- TensorBoard可视化处理案例简析
- 【电脑插入U盘或者内存卡显示无法格式化FAT32如何解决】
- Which securities company has the lowest Commission for opening an account online? I want to open an account. Is it safe for the online account manager to open an account
- Realize the recognition and training of CNN images, and process the cifar10 data set and other methods through the tensorflow framework
- Replace the GPU card number when pytorch loads the historical model, map_ Location settings
- Go 1.16.4: purpose of go mod tidy
- 使用vscode查看Hex或UTF-8编码
- Depth and breadth first traversal of tree (regardless of binary tree)
- Resource Cost Optimization Practice of R & D team
猜你喜欢

Can newly graduated European college students get an offer from a major Internet company in the United States?

Golang - command line tool Cobra

HALCON联合C#检测表面缺陷——HALCON例程autobahn

Flutter动态化 | Fair 2.5.0 新版本特性

Richview trvstyle liststyle list style (bullet number)

挡不住了,国产芯片再度突进,部分环节已进到4nm

使用vscode查看Hex或UTF-8编码

Box layout of Kivy tutorial BoxLayout arranges sub items in vertical or horizontal boxes (tutorial includes source code)

NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon

Unity EmbeddedBrowser浏览器插件事件通讯
随机推荐
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
Universal dividend source code, supports the dividend of any B on the BSC
Qt学习21 Qt 中的标准对话框(下)
Sequence table (implemented in C language)
Go: send the get request and parse the return JSON (go1.16.4)
又一个行业被中国芯片打破空白,难怪美国模拟芯片龙头降价抛售了
Solve MySQL 1045 access denied for user 'root' @ 'localhost' (using password: yes)
Common network state detection and analysis tools
Depth and breadth first traversal of tree (regardless of binary tree)
Resource Cost Optimization Practice of R & D team
MySQL 数据增删改查综合案例
Heap structure and heap sort heapify
使用Tensorflow进行完整的深度神经网络CNN训练完成图片识别案例2
网上开户哪家证券公司佣金最低,我要开户,网上客户经理开户安全吗
Screenshot of the operation steps of upload labs level 4-level 9
Using registered classes to realize specific type matching function template
SQL Injection (POST/Search)
Unity EmbeddedBrowser浏览器插件事件通讯
项目协作的进度如何推进| 社区征文
Kivy tutorial how to automatically load kV files