|
|
@ -262,7 +262,7 @@ |
|
|
|
console.log(this.detail.id) |
|
|
|
console.log(this.detail.id) |
|
|
|
return { |
|
|
|
return { |
|
|
|
title: this.detail.courseName, |
|
|
|
title: this.detail.courseName, |
|
|
|
imageUrl:this.detail.imageArr[0], |
|
|
|
imageUrl:this.detail.coverImg, |
|
|
|
path: '/pages/course/detail?id=' + this.detail.id, |
|
|
|
path: '/pages/course/detail?id=' + this.detail.id, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -381,7 +381,7 @@ |
|
|
|
let roomId = this.detail.roomId; |
|
|
|
let roomId = this.detail.roomId; |
|
|
|
let customParams = encodeURIComponent(JSON.stringify({ path: 'pages/index/index', pid: 1 })) |
|
|
|
let customParams = encodeURIComponent(JSON.stringify({ path: 'pages/index/index', pid: 1 })) |
|
|
|
wx.navigateTo({ |
|
|
|
wx.navigateTo({ |
|
|
|
url: `plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${roomId}&custom_params=${customParams}` |
|
|
|
url: `plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${roomId}&custom_params=${customParams}` |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else{ |
|
|
|
} else{ |
|
|
|
this.sign() |
|
|
|
this.sign() |
|
|
@ -430,7 +430,7 @@ |
|
|
|
signType: 'MD5', |
|
|
|
signType: 'MD5', |
|
|
|
package:orderInfo.packageValue, |
|
|
|
package:orderInfo.packageValue, |
|
|
|
success: success => { |
|
|
|
success: success => { |
|
|
|
if(this.detail.courseType == 1){ //直播课程弹出引导下载小程序 |
|
|
|
if(this.detail.courseType == 1){ //直播课程弹出引导下载app |
|
|
|
this.showSignUp = true |
|
|
|
this.showSignUp = true |
|
|
|
this.getDetail() |
|
|
|
this.getDetail() |
|
|
|
} else{ |
|
|
|
} else{ |
|
|
|