打开外链网址
官方文档:https://uniapp.dcloud.io/component/web-view
<template>
<view>
<web-view src="https://uniapp.dcloud.io/static/web-view.html"></web-view>
</view>
</template>
打开内部网页
uni.navigateTo({
url:'/pages/news/details'
})