javascript - webapp page jump and adaptive issues.
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-18 10:45:49
0
1
496

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?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(1)
phpcn_u1582

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template