Shopping mall ( Practice in job hunting )

Open source Mall

Recommend index :5 star , Master it , so to speak , All kinds of demands in future work are not problems , Work 1~2 You can also learn some ideas from them ( Recommended collection ).

This is a set of small programs / official account /app It's a shopping mall system , Including multi terminal code such as foreground and background , page UI perfect , The knowledge involved is also very rich , It's very worthwhile for beginners to study the front end , Master the deconstruction of the mall .

wemall Cloud platform

Recommend index :3 star

WeMall The micro mall system is based on ThinkPHP Technology Architecture , Realization MVC、 Cache framework design of micro mall source code , Help small and medium-sized enterprises and individuals quickly build the mall system , Reduce the cost of secondary development .

Mall4j

Recommend index :2 star

One is based on spring boot、spring oauth2.0、mybatis、redis Lightweight of 、 Fore and aft end separation 、 To guard against xss attack 、 Have distributed locks 、 Fully prepare for multiple instances of production environment 、 The database for b2b2c Design 、 Complete sku And a fully open source shopping mall for the order process .

Super common URL piece

Picture compression

2021 了 , There won't be any friends who don't know the compressed address of the panda . He can compress your local image 70% Even more , Greatly reduce the size of the package , Save it quickly .

ES6 Quick start

front end er We all know how to master ES6 It's like mastering the code time machine , It can greatly speed up your development efficiency , Save your lines of code , A lot ahead of your time off work . So why not ?

Get gradients quickly

Still working for a css I'm worried about the gradients ? Try this website It can help you generate CSS Code , So you don't have to be big anymore .

Vector icon library

To say Icon Library , This says the second , No one dares to say the first . All the used friends have said that .

echarts Visual chart Library

echarts The best open source visualization chart Library , Can help you calmly meet the boss's various visualization needs , Of course , Skilled use and mastery still need students to practice a lot .

UI class

ivew

Element

author :Hznnnnn

link :https://www.zhihu.com/question/53842719/answer/185855867

source : You know

The copyright belongs to the author . Commercial reprint please contact the author for authorization , Non-commercial reprint please indicate the source .

1, Usage rate (npm Average download frequency , Number of components ,star, issue…)element-ui













Conclusion ,element Better Ecology , It's used far more than iview ,element Development team strength thanks to the comments area error correction 1.Element There are options .2.Element Of Popover namely iView Of Poptip Components .3.Tooltip iView and Element There are . Some niche components have their own strengths whole iview Richer ( time axis , Load progress bar , Bubble cards ,BackTop, thumbtack )API Style by using the most flat form table The calendar select Compare the two

The corresponding code

Obvious feeling iview Of api More concise , After generating a similar table Drop down these more complex components , iview In a way similar to antdesign , The advantage is that you can send data directly in , In the internal implementation of the template generation , Efficient quick . and element It's about v-for vue Instructions are combined to generate , Batch generation of elements . form Operation column When custom rendering ,iview It uses vue Of render function , element Directly in template Insert the corresponding template in Table pagination requires Import paging component In combination with





both api Overall comparison ,iview than element It's a lot simpler . Hungry? More focused on template I'm going to render the template directly Personally feel iview deviation react, element more vue Form verification Both use the same plug-in async-validator The verification method is the same, the project optimization angle is the first screen optimization , Too much dependence on third party component libraries It will bring a lot of pressure to the first screen loading , The general solution is Introduce components on demand element-ui According to the official instructions Now we need to introduce babel-plugin-component plug-in unit Make relevant configuration And then directly in the component Directory Registering global components

iview Load on demand I feel that the official documents are not very detailed

The theme iview Provides a set of topics to choose from , besides Custom theme method 1 ( The official recommendation , The prerequisite is to use webpack): Create a new one .less file , First in less Introduce the official style file into the file And then copy it on this basis

Method 2 : The official provided Automatic compilation tools iview-them To compile the . What I'm doing is Combine custom styles with github The latest style of the warehouse Generate a new style file through the tool .element-ui If you just replace the color , have access to Online topic generation tool Edit colors online , Generate element-ui The theme Direct download Then we introduce the theme of deep customization, which is officially provided by Topic generation tool element-them Carry out orders Initialize to get a configuration file , Modify the relevant configuration It's compiled to Get the relevant subject files Re pass babel Plug in Introduction

Both sides provide specialized tools for deep customization of themes , Comprehensive comparison iview It's simpler ,element Theme customization needs to cooperate with babel Do some precompiling , And more steps More complex transition animation element There's built-in transition animation Make the switching of components change More dynamic iview More formal

The original text and git link

UI Link to the original text

front end er You have to know Git Address and commonly used tools address more related articles

  1. Front end development must know JS( Two ) Closures and Applications

    http://www.cnblogs.com/ljchow/archive/2010/07/06/1768749.html What you need to know in front end development JS( One ) In prototype and inheritance, I said, let's write a closure , In addition, recently more and more ...

  2. Front end development must know JS Closure and application of

    This article is about function closure , No object closure involved ( If used with Realization ). If you think I'm wrong , Welcome to tile , Welcome to advise . What you need to know in front end development JS In the article prototype and inheritance, we said that we should write a closure , In addition, recently more and more people find that they need to strengthen my closure applications ...

  3. What front end designers have to know 10 An important CSS skill

    For a novice front-end designer , When designing and modifying the front end of the website , We need to write some CSS.JS To achieve the interface effect . Share today 10 It's important for a front-end designer CSS skill , This is what I summed up in the process of making websites for many customers . ...

  4. What programmers have to know git Hosting platform

    http://www.open-open.com/lib/view/open1420704561390.html

  5. Front end development must know JS( One ) Archetype and inheritance

    Prototypes and closures are Js The difficulty of language , This article mainly talks about the inheritance of prototype and prototype implementation , stay ( Two ) I'll talk about closures in , I hope that's helpful . If there is any doubt or error , Welcome to make corrections and discuss . One . Prototypes and constructors Js All functions have one protot ...

  6. Webservice WCF WebApi Front end data visualization Front end data visualization C# asp.net PhoneGap html5 C# Where Introduction to website distributed development EntityFramework Core Different dependency injection contexts cause memory leaks ? SQL Server In depth understanding STUFF You have to know EntityFramework 6.x and EntityFramework Cor

    Webservice WCF WebApi   Indicate the : Adaptation plus combination stay .net Under the platform , There's a lot of technology for you to create a HTTP service , image Web Service,WCF, Now it's out again Web API. stay .net Under the platform , ...

  7. C# inquire into the root of the matter :《 You have to know .NET》 Reading notes series

    One . What is sacred about this book ? < You have to know .NET> From Microsoft MVP— Wang Tao ( Net name :AnyTao, One of the great masters of blog Park , Its blog address is :http://anytao.cnblogs.com/) The latest technology of heart ...

  8. ( turn )【 recommend 】 primary .NET The programmer , You have to know EF Knowledge and experience

    from :http://www.cnblogs.com/zhaopei/p/5721789.html [ recommend ] primary .NET The programmer , You have to know EF Knowledge and experience   Read the directory   [ This article has put a curse on . Look first and then look. , It will go up ...

  9. [ You have to know .NET] The eighth time : Taste type --- Value type and reference type ( On )- Memory makes sense

    Original address :http://kb.cnblogs.com/page/42318/ Series navigation : [ You have to know .NET] The opening is good [ You have to know .NET] The first time : Love and hatred :is and as [ You have to know ...

  10. 《jQuery The storm 》 The first 2 Chapter You have to know JavaScript knowledge

    The first 2 Chapter You have to know JavaScript knowledge JavaScript yes jQuery The basis of application , master JavaScript This language uses jQuery The basic conditions of the project . This chapter will not be comprehensive and detailed JavaScript All ...

Random recommendation

  1. Atitit.web ui &#160; Componentization vs &#160;mvc

    Atitit.web ui   Componentization vs  mvc    Componentization   And mvc Not contradictory .. There are differences between the two sides .. React Recommend rethinking as a component UI constitute , take UI Each module with relatively independent function is determined by ...

  2. sql Medium Bulk and C# Medium SqlBulkCopy Bulk insert data ( review and Rough talk )

    Usually , We will import data from a text file into the database , Not much to say , Code up . First , The table structure is as follows .   secondly , In my current D There's a text file on the disk called 2.txt The file of . In the database , You can insert it like this through a single line of code . Bulk in ...

  3. h5 Of radio and check Check and uncheck the returned checkd value

    h5 Of radio and check Check and uncheck the returned checkd value alert($('input[type=checkbox]').attr('checked')); // There is returned checked, There is no return ...

  4. Show Linux Package Sort By Size

    ArchLinux: ~ $ pacsysclean Debian: ~ $ sudo apt-get install debian-goodies ~ $ dpigs -H

  5. MySQL Query case sensitivity analysis

    mysql When the database is doing a query , Sometimes it's case sensitive , Sometimes it's not , Mainly from mysql It is determined by the setting of character verification rules , Usually the default is not supported case sensitive .  1.  What are character sets and check rules ? Character set ...

  6. js Error message from the console

    error : Abnormal state in the process of program running Causes the program to stop running —— abnormal Error handling : When there is an error in the program , A mechanism to ensure that the program does not exit When something goes wrong , The program will automatically create a Error object : Error Object only encapsulates the error information js ...

  7. Lucene.Net 2.3.1 Development Introduction —— 3、 ... and 、 Indexes ( 5、 ... and )

    original text :Lucene.Net 2.3.1 Development Introduction -- 3、 ... and . Indexes ( 5、 ... and ) Let's move on , Let's move on to the effect of weight on ranking . From the above 4 One test , It can only be said that there is an intuitive understanding .“ Oh , yes ! Adjusting the weight can affect the ranking , But there's no way to come ...

  8. stay MyEclipse Run in tomcat Report errors serious : Error starting static Resources

    serious : Error starting static Resourcesjava.lang.IllegalArgumentException: Document base E:\apache-tomca ...

  9. Spring( 3、 ... and )--AOP【 Section oriented programming 】、 Notification type and use 、 Pointcut expression

    1. Concept :Aspect Oriented Programming Section oriented programming Add methods before and after methods   2. effect : It's essentially a way to simplify code      Inheritance mechanism      Encapsulation method      dynamic ...

  10. [No000018A] improve C# Suggestions for procedures 11-20

    Suggest 11: Differential treatment == and Equals CLR Lieutenant general “ Equality ” There are two kinds of :1. Value equality : Two variables contain equal values .2. Quoting equality : Two variables refer to the same object in memory . But not all types of comparisons are based on their nature ...