uni-app 打开外链网址和打开内部网页的方法
打开外链网址<template><view><web-view :webview-styles="webviewStyles" src="https://uniapp.dcloud.io/static/web-view.html"></web-view></view></template...
·
打开外链网址
<template>
<view>
<web-view :webview-styles="webviewStyles" src="https://uniapp.dcloud.io/static/web-view.html"></web-view>
</view>
</template>
打开内部网页的方法
uni.navigateTo({
url:'../../pages/News/details?id='+_that.topnews.id
})
更多推荐
所有评论(0)