当前位置:网站首页>Sort icons with swiper
Sort icons with swiper
2022-07-27 02:43:00 【kilito_ 01】
For example, there is now 20 Data of icons
Need to use swiper Pagination One page 15 An icon
// How many on a page
var num = 15
// It can be divided into several pages
this.typePage = parseInt(Math.ceil(this.serviceList.length / num))
// newTypeList It's an empty array Used to store paged data
// serviceList It's the above example 20 Total data of icons
for (let i = 0; i < this.serviceList.length; i += num) {
this.newTypeList.push(this.serviceList.slice(i, i + num));
}

边栏推荐
- 【用C语言绘制谢尔宾斯基三角形】
- 【封神演绎、十五分钟让你彻底学会栈的使用!!!】
- Go language slow start -- go operator
- Encyclopedia of websites commonly used by people who know current affairs
- Hcip day 3 Wan topology experiment
- 文章摘要智能提取【基于BERT技术】
- Hcip OSPF interface network interface type experiment
- com.fasterxml.jackson.databind.exc.InvalidDefinitionException
- 线程和进程
- [brother Yang takes you to play with the linear table (4) - chain queue]
猜你喜欢

消息队列学习 -- 概念
![[dimension reduction blow, take you to learn CPU in depth (Part 1)]](/img/59/0c2b8e1a832ef14e2e0b8e8cdcce9c.png)
[dimension reduction blow, take you to learn CPU in depth (Part 1)]

Leetcode skimming -- no.238 -- product of arrays other than itself
![[draw sherpinski triangle in C language]](/img/e6/9d1d088d1c7675c23725443000329b.png)
[draw sherpinski triangle in C language]

Redis安装及运行(linux)

Record the nth SQL exception
![[Li Kou] 1859. Sort sentences](/img/0c/f7f698ad0052d07be98e5f888d7da9.png)
[Li Kou] 1859. Sort sentences

从初级程序员到架构师学习路线+配套学习资源完整版

c语言:深度学习递归

Sort the three integers from large to small (introduce various methods in detail)
随机推荐
The XML format of labelimg annotation is converted to yolov5
文章主要内容提取软件[基于NLP技术]
【斐波那契数列及螺线 基于C语言】
LeetCode刷题——NO.238——除自身以外数组的乘积
Area optimization of digital chips: detailed explanation of question 1 in the digital direction of the third "Huawei Cup" graduate innovation core competition
Hcip day 3 Wan topology experiment
How many holes have you stepped on in BigDecimal?
The problem of storing elements in TreeSet collection
js utils 零碎
【封神演绎、十五分钟让你彻底学会栈的使用!!!】
The pointer is really profound!!!
Qt中文乱码常量换行符终极解决方案
东北证券股票网上开户,手机上开户安全吗
[dimension reduction blow, take you to learn CPU in depth (Part 1)]
Writing a pacesetter frequently -- yunxiaojing
在腾讯测试岗干了5年,7月无情被辞,想给还在划水的兄弟提个醒.....
I wish you a happy Chinese Valentine's day and invite you to read the source code together
函数栈帧详解
After working in Tencent testing post for 5 years, I was ruthlessly dismissed in July, trying to wake up my brother who was still paddling
【Code】剑指offer 04二维数组中的查找