|
@@ -925,7 +925,7 @@ export default {
|
|
|
this.courseDetail();
|
|
|
this.getGoodsDetail();
|
|
|
this.getAnswerList();
|
|
|
- this.studyRecordMenuAllList();
|
|
|
+ // this.studyRecordMenuAllList();
|
|
|
// this.answerTimer = setInterval(() => {
|
|
|
// this.getAnswerList();
|
|
|
// }, 5000);
|
|
@@ -1142,7 +1142,7 @@ export default {
|
|
|
let sectionId = item.sectionId || item.menuId;
|
|
|
let uuid = new Date().valueOf() + ""
|
|
|
// buyCourse 是否购买课程:1是 0否
|
|
|
- let encode = encodeURIComponent(this.config.hostLive+'pages/live/index?token='+uni.getStorageSync('token')+'&userInfo='+JSON.stringify(this.userInfo)+'&channelId='+
|
|
|
+ let encode = encodeURIComponent(this.config.hostLive+'/pages/live/index?token='+uni.getStorageSync('token')+'&userInfo='+(JSON.stringify(this.userInfo) || "")+'&channelId='+
|
|
|
item.liveUrl+'&gradeId='+this.gradeId+'&courseId='+this.courseId+'&goodsId='+this.goodsId+'&orderGoodsId='+this.orderGoodsId+'§ionId='+sectionId+
|
|
|
'&chapterId='+chapterId+'&moduleId='+moduleId+'&buyCourse=1'+'&ident='+uuid)
|
|
|
uni.navigateTo({
|
|
@@ -1159,7 +1159,7 @@ export default {
|
|
|
// this.livingItem = res.data.data[0]
|
|
|
if (res.data.data) {
|
|
|
this.livingItem = res.data.data.find(item => item.liveStartTime<=nowTime&&item.liveEndTime>nowTime);
|
|
|
- let isShowNotice = res.data.data.every(e => e.studyStatus == -1)
|
|
|
+ let isShowNotice = this.goodsData.buyNote && res.data.data.every(e => e.studyStatus == -1)
|
|
|
if (this.CountTo == 30 && isShowNotice) { // studyStatus 全部等于-1的时候就是没有看过
|
|
|
this.noticeShow = true
|
|
|
var timer = setInterval(() => {
|
|
@@ -2380,6 +2380,7 @@ export default {
|
|
|
self.photoNum = self.goodsPhotographConfig.photoNum;
|
|
|
}
|
|
|
}
|
|
|
+ this.studyRecordMenuAllList();
|
|
|
});
|
|
|
},
|
|
|
startVideo() {
|