@@ -50,21 +50,21 @@ Page({
that.setData({
temps: res.data.data.temps
});
- wx.showModal({
- title: '温馨提示',
- content: res.data.data.tips,
- confirmText: "同意",
- cancelText: "拒绝",
- complete: (res) => {
- if (res.cancel) {
+ // wx.showModal({
+ // title: '温馨提示',
+ // content: res.data.data.tips,
+ // confirmText: "同意",
+ // cancelText: "拒绝",
+ // complete: (res) => {
+ // if (res.cancel) {
- }
+ // }
- if (res.confirm) {
- that.paySubscribe();
- })
+ // if (res.confirm) {
+ // that.paySubscribe();
+ // })
}
@@ -86,7 +86,7 @@ Page({
console.log('fail',res);
},
complete(){
- // that.pay();
+ that.pay();
@@ -16,7 +16,7 @@
</view>
- <view class="btn" bindtap="pay">
+ <view class="btn" bindtap="paySubscribe">
确认支付