• 请不要在回答技术问题时复制粘贴 AI 生成的内容
mortonnex
V2EX  ›  程序员

前端老司机来来来~

  •  
  •   mortonnex · Apr 28, 2016 · 3671 views
    This topic created in 3855 days ago, the information mentioned may be changed or developed.

    1)

    这种控件居然没有开源的...老司机们有什么意见?

    2)使用一些小组件代码后,该怎样重构整个前端代码?

    目前找到一个:http://darsa.in/sly/

    Supplement 1  ·  Apr 29, 2016
    8 replies  •  2016-04-29 13:05:22 +08:00
    123s
    123s
    Apr 28, 2016
    1
    自己写一个也不是不行啊
    paloalto
    paloalto
    Apr 28, 2016
    2
    1 看起来似乎是个 slider ? http://idangero.us/swiper

    2 为什么用了组件之后要重构前端的全部代码?前因后果能详细说明一下?

    至于「该怎样重构」,我觉得需要具体情况具体分析。

    《重构:改善既有代码的设计》 https://book.douban.com/subject/1229923/
    tobeyouth
    tobeyouth
    Apr 28, 2016
    3
    看起来就是个 slider?
    cobopanda
    cobopanda
    Apr 28, 2016
    4
    大家怎么搜到此类控件的哇
    zythum
    zythum
    Apr 28, 2016
    5
    这种东西自己写一个就好了么....
    chimingphang
    chimingphang
    Apr 28, 2016
    6
    也许他是个后端老司机,这些对他来说太繁琐
    kisnows
    kisnows
    Apr 29, 2016
    7
    这就是一个 slider 啊,不介意的话,可以用我的这个实现。
    https://github.com/kisnows/fullpage
    虽然本意是做是个 fullpage ,但也可以做 slider
    mortonnex
    mortonnex
    OP
    Apr 29, 2016
    8
    @kisnows thanks,自己也撸了一个
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4736 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:13 · PVG 14:13 · LAX 22:13 · JFK 01:13
    ♥ Do have faith in what you're doing.