|
@@ -443,11 +443,11 @@ export default {
|
|
|
onLoad() {
|
|
|
// 1668873600 ,2022.11.20的时间戳
|
|
|
this.leftDays = 1668873600 - parseInt(curTime/1000)
|
|
|
- // this.sysTime = +this.$method.timest()
|
|
|
+ this.sysTime = +this.$method.timest()
|
|
|
},
|
|
|
async onShow() {
|
|
|
this.getCourseLiveQues()
|
|
|
- await this.commonSystemTime()
|
|
|
+ // await this.commonSystemTime()
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
this.getCourseLiveQues()
|
|
@@ -497,7 +497,6 @@ export default {
|
|
|
// 查询直播课
|
|
|
getCourseLiveQues() {
|
|
|
this.allLoading = true
|
|
|
- // this.$api.listUserFreeUnionBuyGoodsList(this.paramQ), // 查询用户拥有免费+自购题库商品 /bank/question/listUserFreeUnionBuyGoodsList
|
|
|
let arrs = [
|
|
|
this.$api.listUserVideoLive(this.paramC), // 查询用户拥有视频+直播商品 /goods/listUserVideoLive
|
|
|
this.$api.getgoodsLiveList({
|
|
@@ -528,13 +527,13 @@ export default {
|
|
|
this.allLoading = false
|
|
|
})
|
|
|
},
|
|
|
- commonSystemTime() {
|
|
|
- return new Promise(resolve => {
|
|
|
- this.$api.commonSystemTime().then(res => {
|
|
|
- this.sysTime = res.data.data;
|
|
|
- })
|
|
|
- })
|
|
|
- },
|
|
|
+ // commonSystemTime() {
|
|
|
+ // return new Promise(resolve => {
|
|
|
+ // this.$api.commonSystemTime().then(res => {
|
|
|
+ // this.sysTime = res.data.data;
|
|
|
+ // })
|
|
|
+ // })
|
|
|
+ // },
|
|
|
// 看直播
|
|
|
toLiveLook(item) {
|
|
|
let moduleId = item.moduleId || 0
|