ios - 移动设备的子类别轮播箭头不起作用
问题描述
打开箭头以移动使用子类别轮播。如果手机是 iOS 设备,则在您的手机上查看登台时,箭头不起作用。您可以滑动,但是当您单击箭头时,它们不会在滑块内移动图像。当您在桌面上以移动方式查看它时,它确实有效。这是代码:
$(".subCategories").slick({
<? if ($totalSubcategories > 4): ?>
centerMode: true,
centerPadding: '15px',
<? endif ?>
slidesToShow: 4,
slidesToScroll: 1,
swipeToSlide: true,
responsive: [
{
breakpoint: 801,
settings: {
centerMode: true,
slidesToShow: 3,
slidesToScroll: 1,
arrows: true,
swipeToSlide: true
}
},
{
breakpoint: 500,
settings: {
centerMode: true,
centerPadding: '5px',
slidesToShow: 1,
slidesToScroll: 1,
arrows: true,
swipeToSlide: true
}
}
]
});
解决方案
推荐阅读
- javascript - 更改选择选项时如何获取对象值 - Angular9
- winapi - 在 Windows 上与用户客户端进行自定义软件驱动程序通信
- php - Symfony 5.2 Forms 中两个相关的 EntityType 字段
- python - 如何比较列表中列表中的 2 个值 - Python
- c# - 在服务和 ASP Core 中更改具有多个不同事件 (RabbitMQ) 的表的问题
- python - 无法使用axios将文件发送到django,它总是空的
- android - Xamarin Android 应用无法部署到 VS2019 模拟器
- node.js - 在多次“docker-compose up”和“docker-compose-down”之后,我如何保证docker主机卷具有正确的权限
- apache-spark - pyspark Vector Assembler 中已存在输出列薪水
- mysql - 我想根据我的两个表获得数据透视结果