|
@@ -25,7 +25,8 @@ Page({ |
|
|
showPage:false, |
|
|
showPage:false, |
|
|
showButton:false, |
|
|
showButton:false, |
|
|
cardDetail:null, |
|
|
cardDetail:null, |
|
|
supportTransfer:'' |
|
|
|
|
|
|
|
|
supportTransfer:'', |
|
|
|
|
|
cardIf:false |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
phone: function (e) { |
|
|
phone: function (e) { |
|
@@ -54,20 +55,20 @@ Page({ |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// onShareAppMessage: function (res) { |
|
|
|
|
|
// let _this = this; |
|
|
|
|
|
// return { |
|
|
|
|
|
// title: '领取卡', |
|
|
|
|
|
// path: '/pages/index/index?couponChannelId=' + this.data.order.couponChannelId + '&cuserId=' + this.data.order.cuserId + '&couponId=' + this.data.order.productId + '&coverImg=' + this.data.order.coverImg + '&userName=' + this.data.userName + '&avatarUrl=' + this.data.avatarUrl + '&couponOrderId=' + this.data.order.couponOrderId + '&updateDate=' + this.data.order.updateDate, |
|
|
|
|
|
// imageUrl: this.data.order.coverImg, |
|
|
|
|
|
// success: function (res) { |
|
|
|
|
|
// // 转发成功 |
|
|
|
|
|
// }, |
|
|
|
|
|
// fail: function (res) { |
|
|
|
|
|
// // 转发失败 |
|
|
|
|
|
// } |
|
|
|
|
|
// } |
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
|
onShareAppMessage: function (res) { |
|
|
|
|
|
let _this = this; |
|
|
|
|
|
return { |
|
|
|
|
|
title: '领取卡', |
|
|
|
|
|
path: '/pages/index/index?couponChannelId=' + this.data.order.couponChannelId + '&cuserId=' + this.data.order.cuserId + '&couponId=' + this.data.order.productId + '&coverImg=' + this.data.order.coverImg + '&userName=' + this.data.userName + '&avatarUrl=' + this.data.avatarUrl + '&couponOrderId=' + this.data.order.couponOrderId + '&updateDate=' + this.data.order.updateDate, |
|
|
|
|
|
imageUrl: this.data.order.coverImg, |
|
|
|
|
|
success: function (res) { |
|
|
|
|
|
// 转发成功 |
|
|
|
|
|
}, |
|
|
|
|
|
fail: function (res) { |
|
|
|
|
|
// 转发失败 |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
powerDrawer: function (e) { |
|
|
powerDrawer: function (e) { |
|
|
let that = this; |
|
|
let that = this; |
|
|
console.log(e) |
|
|
console.log(e) |
|
@@ -140,6 +141,11 @@ Page({ |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
orderId: options.orderId |
|
|
orderId: options.orderId |
|
|
}); |
|
|
}); |
|
|
|
|
|
if(options.cardIf){ |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
cardIf:true |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
wx.showLoading({ |
|
|
wx.showLoading({ |
|
|
title: "加载中" |
|
|
title: "加载中" |
|
|
}); |
|
|
}); |
|
|