RickyDan
V2EX  ›  问与答

移动端多图滑动切换的插件

  •  
  •   RickyDan · Apr 21, 2016 · 4197 views
    This topic created in 3854 days ago, the information mentioned may be changed or developed.

    哪位大神有用过比较好用的不依赖于 jq 的多图滑动插件,微信端端,因为项目没有引入 jq, 所以找了一大堆都不符合要求。麻烦用过的童鞋分享一下哈

    10 replies  •  2018-03-12 11:16:45 +08:00
    arfaWong
    arfaWong
    Apr 21, 2016
    1
    swiper ?
    RickyDan
    RickyDan
    OP
    Apr 21, 2016
    2
    @arfaWong swiper 是依赖 jq 的
    iTakeo
    iTakeo
    Apr 21, 2016 via iPhone
    3
    不依赖的,经常用
    airyland
    airyland
    Apr 21, 2016
    5
    用 vue 的话可以用这个 https://vux.li/#!/component/swiper 也有非 vue 依赖的,看页面上的源码链接。
    runcelim
    runcelim
    Apr 21, 2016 via iPhone
    6
    swiper 记得有不依赖 jQuery 的版本
    Biwood
    Biwood
    Apr 21, 2016
    7
    不知道你要自动切换的还是手动的,我自己写了个手动切换的,支持移动端

    地址: http://oodzchen.com/presentr.js
    源码: https://github.com/oodzchen/presentr.js
    chemzqm
    chemzqm
    Apr 21, 2016
    8
    我们产品有很多需要滑动的地方,所以我写了一个

    https://github.com/chemzqm/hscroll

    代码简单,接口易用,同时支持桌面移动端滑动( IE 的 touch 都支持),另外还可做为 tab 插件以及固定元素边界的滑动插件。

    我仓库还有很多移动端的组件,都是基于一些 component 基础组件,有需要可以试试。
    RickyDan
    RickyDan
    OP
    Apr 22, 2016
    9
    谢谢各位大神多热心回复,已经找好了
    ab
    ab
    Mar 12, 2018 via iPhone
    10
    @RickyDan #9 后来你用了哪个?推荐下?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   983 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 19:18 · PVG 03:18 · LAX 11:18 · JFK 14:18
    ♥ Do have faith in what you're doing.