|
@@ -111,6 +111,13 @@ Page({
|
|
|
});
|
|
|
},
|
|
|
|
|
|
+ nopay(){
|
|
|
+ let url = encodeURIComponent(app.globalData.h5Url + "/#/pages/order/index?"+app.getCommonParam());
|
|
|
+ wx.reLaunch({
|
|
|
+ url: '/pages/webview/index?url='+url
|
|
|
+ });
|
|
|
+ },
|
|
|
+
|
|
|
pay(){
|
|
|
// let url = encodeURIComponent(app.globalData.h5Url + "/#/pages/order/index?"+app.getCommonParam());
|
|
|
// wx.navigateTo({
|
|
@@ -124,16 +131,16 @@ Page({
|
|
|
paySign: this.data.info.paysign,
|
|
|
success (res) {
|
|
|
let url = encodeURIComponent(app.globalData.h5Url + "/#/pages/order/index?"+app.getCommonParam());
|
|
|
- wx.navigateTo({
|
|
|
+ wx.reLaunch({
|
|
|
url: '/pages/webview/index?url='+url
|
|
|
});
|
|
|
},
|
|
|
fail (res) {
|
|
|
- wx.showToast({
|
|
|
- title: '支付调用失败',
|
|
|
- icon: 'none',
|
|
|
- duration: 2000
|
|
|
- })
|
|
|
+ // wx.showToast({
|
|
|
+ // title: '支付调用失败',
|
|
|
+ // icon: 'none',
|
|
|
+ // duration: 2000
|
|
|
+ // })
|
|
|
}
|
|
|
})
|
|
|
},
|