|
@@ -268,14 +268,6 @@ export default {
|
|
|
actualPrice: this.actualPrice
|
|
|
});
|
|
|
} else if (this.$userAgent.isMiniProgram) {
|
|
|
- if (this.payType === 'aliPay') {
|
|
|
- Toast({
|
|
|
- message: '微信小程序不支持支付宝支付',
|
|
|
- position: 'top',
|
|
|
- duration: 4000
|
|
|
- });
|
|
|
- return false
|
|
|
- }
|
|
|
this.$wx.miniProgram.navigateTo({
|
|
|
url: '/packageA/order/status/index?record=' + JSON.stringify({
|
|
|
payActive: this.payType === 'wxPay' ? 1 : 0,
|
|
@@ -375,6 +367,9 @@ export default {
|
|
|
this.selMealId = res.data.mealId
|
|
|
this.getMealInfo()
|
|
|
this.paySupportType = res.data.paySupportType
|
|
|
+ if (this.$userAgent.isMiniProgram) {
|
|
|
+ this.paySupportType = ['wxPay']
|
|
|
+ }
|
|
|
this.payType = this.paySupportType[0]
|
|
|
this.phoneType = res.data.phoneType
|
|
|
this.title = res.data.title
|