Project to use the knowledge summary

In recent analog business project, the knowledge used to sum up.

  1. Swiper plug
    This plug is mainly used in the slide carousel map, and so the effect of a page class.
  2. Write your own json file how to request?
    JQuery can make requests directly to json file, request a directory address is the json file, set the dataType to json
$.ajax({
    url:'../lib/list.json',
    dataType:'json',
    success:function(res){
        console.log(res)
    }
})
  1. Rendering secondary menu
    request json file, wherein the data array through the loop in the form of a string of splicing rendering of the page, animation can be set
  2. flex layout
Released seven original articles · won praise 0 · Views 70

Guess you like

Origin blog.csdn.net/weixin_46389498/article/details/104620905