V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
stillsilly
V2EX  ›  问与答

我来交作业啦

  •  1
     
  •   stillsilly · Jan 16, 2022 · 1350 views
    This topic created in 1563 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   ·   5479 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 08:43 · PVG 16:43 · LAX 01:43 · JFK 04:43
    ♥ Do have faith in what you're doing.