|
|
@@ -68,12 +68,16 @@ import "@/static/public.css";
|
|
|
scene: "", // 场景
|
|
|
mainPosition: "player", // 用于记录当前主屏幕是文档还是播放器
|
|
|
},
|
|
|
+ buyCourse: 1, // 是否购买课程:1是 0否
|
|
|
+ identification: '', // 标识
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
|
|
|
- console.log(this.$route.query)
|
|
|
- console.log(999)
|
|
|
+ console.log('直播间参数',this.$route.query)
|
|
|
+ const { buyCourse, ident } = this.$route.query
|
|
|
+ this.buyCourse = buyCourse
|
|
|
+ this.identification = ident
|
|
|
this.sectionId = this.$route.query.sectionId;
|
|
|
this.goodsId = this.$route.query.goodsId;
|
|
|
this.courseId = this.$route.query.courseId;
|
|
|
@@ -155,6 +159,8 @@ import "@/static/public.css";
|
|
|
load:false,
|
|
|
url:'/study/record',
|
|
|
data:{
|
|
|
+ buyCourse: this.buyCourse,
|
|
|
+ identification: this.identification,
|
|
|
sectionId: parseInt(this.sectionId),
|
|
|
goodsId: parseInt(self.goodsId),
|
|
|
courseId: parseInt(self.courseId),
|