Commit 9907bacb authored by mengcuiguang's avatar mengcuiguang

支付产品优化

parent 39969b32
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
}, },
handlePay() { handlePay() {
let that = this; let that = this;
let vipBean = this.vipList[this.selectedIndex]; let vipBean = this.pointList[this.selectedIndex];
if (this.selectedIndex == -1) { if (this.selectedIndex == -1) {
// vip充值 // vip充值
vipBean = this.vipList[this.selectedVipIndex]; vipBean = this.vipList[this.selectedVipIndex];
...@@ -350,12 +350,7 @@ ...@@ -350,12 +350,7 @@
success: ({ success: ({
data data
}) => { }) => {
if (that.selectedIndex == -1) { message.notify('充值成功,快去看剧吧');
// vip充值
that.paySuccess(that.vipList[that.selectedVipIndex].largeType)
} else {
that.paySuccess(that.pointList[that.selectedIndex].largeType)
}
} }
}); });
} }
......
...@@ -142,11 +142,6 @@ ...@@ -142,11 +142,6 @@
canUseTTPlayer: true, canUseTTPlayer: true,
}; };
}, },
onBackPress(options) {
message.notify('onBackPress');
console.log('from:' + options.from);
return true;
},
onLoad(options) { onLoad(options) {
this.data = JSON.parse(decodeURIComponent(options.data)); this.data = JSON.parse(decodeURIComponent(options.data));
if (decodeURIComponent(options.isPlayNext) != undefined) { if (decodeURIComponent(options.isPlayNext) != undefined) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment