Commit 9907bacb authored by mengcuiguang's avatar mengcuiguang

支付产品优化

parent 39969b32
......@@ -263,7 +263,7 @@
},
handlePay() {
let that = this;
let vipBean = this.vipList[this.selectedIndex];
let vipBean = this.pointList[this.selectedIndex];
if (this.selectedIndex == -1) {
// vip充值
vipBean = this.vipList[this.selectedVipIndex];
......@@ -350,12 +350,7 @@
success: ({
data
}) => {
if (that.selectedIndex == -1) {
// vip充值
that.paySuccess(that.vipList[that.selectedVipIndex].largeType)
} else {
that.paySuccess(that.pointList[that.selectedIndex].largeType)
}
message.notify('充值成功,快去看剧吧');
}
});
}
......
......@@ -142,11 +142,6 @@
canUseTTPlayer: true,
};
},
onBackPress(options) {
message.notify('onBackPress');
console.log('from:' + options.from);
return true;
},
onLoad(options) {
this.data = JSON.parse(decodeURIComponent(options.data));
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