jQuery Slick Slider 过滤多个条件
这是一个光滑滑块的 HTML:
Here is a HTML for slick slider:
<div class="slick">
<div class="black phone"></div>
<div class="white phone"></div>
<div class="green phone"></div>
<div class="black ipad"></div>
<div class="white ipad"></div>
<div class="green ipad"></div>
<div class="black tablet"></div>
<div class="white tablet"></div>
<div class="green tablet"></div>
</div>
我需要按颜色(黑色、白色、绿色)和设备(手机、ipad、平板电脑)进行过滤.所以比如需要通过.white
和.tablet
的类名进行过滤.过滤器格式为:颜色"和设备".它是动态的,而不是静态的.请给我建议.任何帮助将不胜感激.谢谢.
I need to filter by color (black, white, green) and device (phone, ipad, tablet).
So for example, need to filter by classname of .white
and .tablet
.
Filter format is : "color" and "device". It's dynamic, not static.
Please advice me. Any help will be appreciated.
Thanks.
推荐答案
不可能.Slick 滑块不支持此类过滤.
It's impossible. Slick slider don't support such filtering.
相关文章