Stage a -02 classification, recommendation, search, evaluation, Shopping Cart Development - Chapter 1 Home Carousel Figure + classification to achieve -1-2 Home Categories needs analysis

On the left side there is a carousel of FIG classification.

This is the effect on the production environment.

Slide the mouse over, sub-categories under this category will be displayed. Cakes and pastries are two categories, there are three classification below. This is the recursive classification.

You can put all of the classification are classified within a table. It can wirelessly recursive through the same table. 

Database table structure




Classification of the type of


a website and if done complicated, the following may have four five-category classification. Only here in our three-tier classification.

Icon classification

page sliding down next to each category there will be a word. This is the slogan slogan field.


Classification map and background color




when the page loads to load a classification.

Users slide the mouse over. To be lazy loading two categories and three-tier classification.

Taobao can refer to this part of the classification results.

Move the mouse over it to load a lot of content. It is loaded after the user move the mouse over it carried out.

Mouse leave, then move over, there is no duplication of data loaded. That is, it will only be loaded once, the second time in loading. You should not need to access it again by the back-end query.

The following network request emptied, move the mouse over again. We found no longer continue to query back-end data


we will use lazy loading to achieve our classification.

Back-end first to write a comment


 

End

 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/12099687.html