视频抽奖次数显示修改

This commit is contained in:
GaoHao
2024-12-07 15:46:08 +08:00
parent ff96875de7
commit 3ecd48231f
7 changed files with 39 additions and 12 deletions

View File

@@ -140,11 +140,16 @@
<text class="list-title-lss">
当前视频 没有播放权限
</text>
</view>
<view class="list-title-r" @click="closePay()">
<image class="list-title-rs" src="../../static/images/me/closeIconss.png" mode=""></image>
</view>
</view>
<text class="" style="font-size: 24rpx;color: #999;padding: 0 34rpx;margin: 20rpx 0; auto;text-align: left;width: 100%;">
{{getRedEnvelopeTips}}
</text>
<view class="pay-content">
<!-- <view class="pay-content-item" @click="payVideo(1)" v-if="zhengbu === '是'">
<image class="pay-content-item-icon" src="../../static/images/me/rmIcon.png" mode=""></image>
@@ -383,7 +388,8 @@
},
isShowVideo: '',
noBuyVideoIndex:null,
playFlag: false
playFlag: false,
getRedEnvelopeTips: ''
};
},
onUnload() {
@@ -475,6 +481,12 @@
if(this.courseId){
this.getDataList(this.courseId, this.courseDetailsId);
}
httpsRequest.getT('app/course/getRedEnvelopeTips').then(res => {
console.log(res)
if (res.code == 0) {
this.getRedEnvelopeTips= res.data
}
})
},
onLoad(e) {
//是开启整部购买

View File

@@ -194,9 +194,7 @@
<!-- <u-icon name="lock" class="list-title-icon" color="#efbb6b" size="40"></u-icon> -->
当前视频 没有播放权限
</view>
<view class="" style="font-size: 24rpx;color: #999;padding: 0 34rpx;margin-bottom: 20rpx;">
每日前三次付款均可获取抽奖机会抽奖保底抽中等额现金红包当前为第x次付款
</view>
<view class="" style="font-size: 24rpx;color: #999;padding: 0 34rpx;margin-bottom: 20rpx;">{{getRedEnvelopeTips}}</view>
<!-- <view class="list-item" v-if="zhengbu === '是' && isWxIosPay == true">
<view class="list-item-box flex align-center justify-center" @click="payVideo(1)">
@@ -431,6 +429,7 @@
countPrice: 0, //单集价格
isWxIosPay: true,
playFlag: false,
getRedEnvelopeTips: ''
};
},
onShareAppMessage(res) {
@@ -682,6 +681,11 @@
if(this.courseId){
this.getDataList(this.courseId, this.courseDetailsId);
}
this.$Request.getT('app/course/getRedEnvelopeTips').then(res => {
if (res.code == 0) {
this.getRedEnvelopeTips= res.data
}
})
// uni.$on('back', (data) => {
// if (data.flag == true) {

View File

@@ -143,6 +143,9 @@
<image class="list-title-rs" src="../../static/images/me/closeIconss.png" mode=""></image>
</view>
</view>
<text class="" style="font-size: 24rpx;color: #999;padding: 0 34rpx;margin: 20rpx 0; auto;text-align: left;width: 100%;">
{{getRedEnvelopeTips}}
</text>
<view class="pay-content">
<!-- <view class="pay-content-item" @click="payVideo(1)" v-if="zhengbu === '是'">
<image class="pay-content-item-icon" src="../../static/images/me/rmIcon.png" mode=""></image>
@@ -361,6 +364,7 @@
iosPayId: '',
isCollect: false,
playFlag: false,
getRedEnvelopeTips: ''
};
},
@@ -465,6 +469,11 @@
this.getDataList(this.courseId, this.courseDetailsId);
}
httpsRequest.getT('app/course/getRedEnvelopeTips').then(res => {
if (res.code == 0) {
this.getRedEnvelopeTips= res.data
}
})
},
onLoad(e) {
let that = this