解锁视频优化

This commit is contained in:
GaoHao 2024-12-26 20:35:11 +08:00
parent a413d150ae
commit d5059305e7
1 changed files with 5 additions and 3 deletions

View File

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