修改支付跳转页面
This commit is contained in:
@@ -399,6 +399,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
|
console.log('onSHow video');
|
||||||
//当应用从后台进入前台时自动播放
|
//当应用从后台进入前台时自动播放
|
||||||
if (this.videoContext) {
|
if (this.videoContext) {
|
||||||
this.videoContext.play()
|
this.videoContext.play()
|
||||||
@@ -752,8 +753,13 @@
|
|||||||
// plus.runtime.openURL(ret.data.h5Url)
|
// plus.runtime.openURL(ret.data.h5Url)
|
||||||
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/webView?url=' + ret.data.h5Url
|
url: '/pages/pays/pays?ordersId='+this.ordersId+'&url=' + ret.data.h5Url
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// uni.navigateTo({
|
||||||
|
// url: '/pages/index/webView?ordersId='+this.ordersId+'url=' + ret.data.h5Url
|
||||||
|
// });
|
||||||
|
|
||||||
// this.isCheckPay(ret.code, 'wxpay', JSON.stringify(ret.data));
|
// this.isCheckPay(ret.code, 'wxpay', JSON.stringify(ret.data));
|
||||||
});
|
});
|
||||||
} else if (this.openWay == 3) {
|
} else if (this.openWay == 3) {
|
||||||
@@ -881,6 +887,21 @@
|
|||||||
//打开支付弹窗
|
//打开支付弹窗
|
||||||
openPopusPay() {
|
openPopusPay() {
|
||||||
this.$refs.popuppay.open('bottom')
|
this.$refs.popuppay.open('bottom')
|
||||||
|
return
|
||||||
|
// 通过 id 获取 nvue 子窗体
|
||||||
|
const subNVue = uni.getSubNVueById('pay')
|
||||||
|
subNVue.setStyle({
|
||||||
|
height : '350rpx',
|
||||||
|
})
|
||||||
|
// 打开 nvue 子窗体
|
||||||
|
subNVue.show('slide-in-bottom', 300, function(){
|
||||||
|
// 打开后进行一些操作...
|
||||||
|
//
|
||||||
|
console.log('subnvue open')
|
||||||
|
});
|
||||||
|
// 关闭 nvue 子窗体
|
||||||
|
// subNVue.hide('fade-out', 300)
|
||||||
|
|
||||||
// this.$refs.refPopupZhuanPan.open('bottom')
|
// this.$refs.refPopupZhuanPan.open('bottom')
|
||||||
},
|
},
|
||||||
// 获取收藏状态
|
// 获取收藏状态
|
||||||
|
|||||||
15
me/detail/subNvue/pay.nvue
Normal file
15
me/detail/subNvue/pay.nvue
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
<web-view src="http://baidu.com/"></web-view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.bg-fff{
|
||||||
|
width: 750rpx;
|
||||||
|
height: 300rpx;background-color: #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user