Solution to the white screen when uniapp page jumps: Set the background color of the page in the project [pages.json] to be consistent with the background color of the page or container in the page, the code is ["background": "#ededed"].
The operating environment of this tutorial: windows7 system, uni-app2.5.1 version, Dell G3 computer.
Recommendation (free): uni-app development tutorial
uniapp page jumps and a white screen appears Solution:
Set the background color of the page in the project pages.json to be consistent with the background color of the page or container in the page to solve this problem.
{ "path": "pages/ecosystem/index", "style": { "navigationBarTitleText": "生态", "app-plus": { "background":"#ededed" //此处背景色与页面中一致 } } }
Related free learning recommendations: Programming Video
The above is the detailed content of What should I do if a white screen appears when the uniapp page jumps?. For more information, please follow other related articles on the PHP Chinese website!