Giter Site home page Giter Site logo

mall's Introduction

技术架构为:Vue + ES6 + Webpack + Axios。实现搜索、购物车、用户登陆等多个子模块。

  • 对 axios 进行二次包装来与后端进行数据交互,实现前后端分离开发
  • 利用 Vuex 的 actions 搭配 forEach 去重并过滤空字符串,实现商品搜寻的功能,方便顾客查找需要的商品
  • 调用 nextTick() 延迟到界面更新后创建 swiper 对象
  • 通过懒加载和 Vue Router 的动态导入,将加载时间 load 从1.2s降低到320ms左右

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.