react to returning from the product details page product list page, browse lists automatically scroll the last position

Status: currently returning from the product details page to the Product List Next, you need to go to the service request data, the user needs to wait for the process to go to get the data, so the user experience is very bad,

Problems encountered:

1: How will the data cache,

2: How to obtain and save a list of slide height,

3: What is a page judgment Product List Next is?

If you are fed from the search page to the Product List page, then we need to clear the cache, data acquisition interfaces,

If a product details page, then return to the Product List Next on with cached data, and slid to the position last browsing.

 

 

Guess you like

Origin www.cnblogs.com/husfBK/p/11935010.html