I have been learning the development of mobile webapp recently, and I have a few questions that I would like to ask you:
1. Because the page file needs to be loaded to jump between pages, a white screen will appear during the process. How was it solved?
Add a loading layer, will the loading effect appear?
Or should we use a framework to make a single-page application?
Or do you want to say no processing?
Or is there any good way?
2. Page adaptive problem. After all, there are too many resolutions. How to achieve adaptive layout?
The percentage will not be considered. Trouble, are you using rem?
Also, are there any compatibility issues with flex layout on the mobile side?
Or is there any other method
3. For click events, use touchstar, touchmove, touchend native events, or use taps such as zepto. Is there any better framework to solve mobile click events?
1. Add a loading layer to slow down the visual white screen, or put a default picture like Toutiao. Whether to use it or not depends on the specific business, but as a beginner, you can try them all
2.rem, you can step on the pitfalls in the layout by yourself, so that your ability will improve
3.fastclick.js technology solves the tap penetration problem. Touch is also used in some business scenarios.
It is recommended to try them all, so that you can make progress quickly