| @@ -146,12 +146,12 @@ Page({ | |||||
| */ | */ | ||||
| onLoad: function (options) { | onLoad: function (options) { | ||||
| let that = this; | let that = this; | ||||
| this.setData({ | |||||
| that.setData({ | |||||
| orderId: options.orderId | orderId: options.orderId | ||||
| }); | }); | ||||
| wx.hideShareMenu() | wx.hideShareMenu() | ||||
| if(options.cardIf){ | if(options.cardIf){ | ||||
| this.setData({ | |||||
| that.setData({ | |||||
| cardIf:true | cardIf:true | ||||
| }) | }) | ||||
| } | } | ||||
| @@ -319,7 +319,7 @@ Page({ | |||||
| }) | }) | ||||
| .then(res => { | .then(res => { | ||||
| wx.hideLoading(); | wx.hideLoading(); | ||||
| this.setData({ | |||||
| _this.setData({ | |||||
| showButton: false | showButton: false | ||||
| }) | }) | ||||
| if (!type&&type!='free') { | if (!type&&type!='free') { | ||||