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

前端老司机来来来~

  •  
  •   mortonnex · Apr 28, 2016 · 3472 views
    This topic created in 3715 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
        1
    123s  
       Apr 28, 2016
    自己写一个也不是不行啊
    paloalto
        2
    paloalto  
       Apr 28, 2016
    1 看起来似乎是个 slider ? http://idangero.us/swiper

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

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

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