视频抽奖次数显示修改

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

@ -1,10 +1,10 @@
// const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; //
// const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名
// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; //
const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名
const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; //
const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名
const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
// const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; //
// const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名
// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
module.exports = {
APIHOST: ROOTPATH,

View File

@ -41,7 +41,9 @@ module.exports = {
title: '用户信息失效,请重新登录!',
icon: 'none'
})
uni.navigateTo({
url: "/pages/login/login"
})
},
post: function(url, data, header) {
let that = this;

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

View File

@ -175,7 +175,7 @@
<!-- 追剧悬浮 -->
<drag-button v-if="shodrag && shodrags" @clickClose="clickClose" :videoInfo="videoInfo" :isDock="true"
:existTabBar="true" @btnClick="btnClick" />
<u-image @click="goMsg('/me/choujiang/choujiang')" :src="`../../static/images/draw/draw_${draw}.png`"
<u-image @click="goMsg('/me/choujiang/choujiang')" :src="`../../static/images/draw/draw.gif`"
style="width: 110rpx;height: 110rpx;position: fixed;right: 30rpx;bottom: 180rpx;"
></u-image>
</view>

BIN
static/images/draw/draw.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 KiB