版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/haibo0668/article/details/86349564
uni.showModal({ //标题
title: _that.topnews.title,
content: _that.topnews.description ? _that.topnews.description : '暂无数据',
success: (res) => {
if (res.confirm) {
uni.navigateTo({
url:'../../pages/News/details?id='+_that.topnews.id
})
// plus.runtime.openURL('../../pages/News/details?id='+_that.topnews.id);
}
}
})