stillsilly
V2EX  ›  问与答

我来交作业啦

  •  1
     
  •   stillsilly · Jan 16, 2022 · 1406 views
    This topic created in 1596 days ago, the information mentioned may be changed or developed.

    昨天和今天带几位小伙伴写了个轮播图,

    这个代码优化的视频感兴趣的可以看看:
    https://www.bilibili.com/video/bv1xq4y1A7FP

    我把一个同学这样的作业 代码有一丢丢乱:
    https://github.com/stillsilly/course-demo/blob/main/swiper/homework/swiper-mutu.html
    改成了这样的 可读性比较好:
    https://github.com/stillsilly/course-demo/blob/main/swiper/swiper.html
    然后再封装成了组件:
    https://github.com/stillsilly/course-demo/blob/main/swiper/swiper-1/swiper-1.js

    我的代码哪里写得不好的,也欢迎给我提修改建议,下次再写的时候,就能改好啦

    年前没时间教人了,年后有缘再见吧^_^

    1 replies    2022-01-17 15:14:15 +08:00
    zxCoder
        1
    zxCoder  
       Jan 17, 2022
    赞一个
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5949 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    ♥ Do have faith in what you're doing.