How does uni-app embed an external link in the page (take Baidu as an example) The implementation of in-app and out-of-app jumps on uni-app pages

default-user-image.png

 <template> <view> <web-view :webview-styles="webviewStyles" src="http://www.baidu.com/"></web-view> </view> </template> <script> export default { data() { return { webviewStyles: { progress: { color: '#FF3333' } } } } } </script> <style> </style>

This article is reprinted from https://blog.p2hp.com/archives/8485
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment