解锁视频优化
This commit is contained in:
parent
a413d150ae
commit
d5059305e7
|
|
@ -133,7 +133,7 @@
|
||||||
</view>
|
</view>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
<!-- 购买弹窗 -->
|
<!-- 购买弹窗 -->
|
||||||
<uni-popup ref="popupPya" :safe-area="false">
|
<uni-popup ref="popupPya" @change="popupPyaClose" :safe-area="false">
|
||||||
<view class="pay">
|
<view class="pay">
|
||||||
<view class="list-title">
|
<view class="list-title">
|
||||||
<view class="list-title-l">
|
<view class="list-title-l">
|
||||||
|
|
@ -1039,17 +1039,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
popupPyaClose() {
|
||||||
|
this.isOrder = true
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* @param {Object} type 类型
|
* @param {Object} type 类型
|
||||||
* 1:购买整部视频
|
* 1:购买整部视频
|
||||||
* 2:购买单集视频
|
* 2:购买单集视频
|
||||||
*/
|
*/
|
||||||
payVideo(type, num) {
|
payVideo(type, num) {
|
||||||
console.log(this.isOrder)
|
|
||||||
if(!this.isOrder){
|
if(!this.isOrder){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(1)
|
|
||||||
this.isOrder = false
|
this.isOrder = false
|
||||||
if (uni.getStorageSync('token')) {
|
if (uni.getStorageSync('token')) {
|
||||||
this.submitPay(type, num)
|
this.submitPay(type, num)
|
||||||
|
|
@ -1155,6 +1156,7 @@
|
||||||
},
|
},
|
||||||
//关闭购买弹窗
|
//关闭购买弹窗
|
||||||
closePay() {
|
closePay() {
|
||||||
|
console.log(1)
|
||||||
this.$refs.popupPya.close()
|
this.$refs.popupPya.close()
|
||||||
},
|
},
|
||||||
//选择播放
|
//选择播放
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue