|
@@ -32,6 +32,7 @@ import iconplay from '../coursewarePlay/image/icon-play.svg'
|
|
|
import iconpause from '../coursewarePlay/image/icon-pause.svg'
|
|
|
import iconVideobg from '../coursewarePlay/image/icon-videobg.png'
|
|
|
import { browser, getSecondRPM } from '@/helpers/utils'
|
|
|
+import qs from 'query-string'
|
|
|
|
|
|
const materialType = {
|
|
|
视频: 'VIDEO',
|
|
@@ -278,7 +279,14 @@ export default defineComponent({
|
|
|
}
|
|
|
if (nextItem?.type === materialType.曲目) {
|
|
|
goback()
|
|
|
- let src = `${location.origin}/orchestra-music-score/?id=${nextItem.content}`
|
|
|
+ const parmas = qs.stringify({
|
|
|
+ id: nextItem.content,
|
|
|
+ courseScheduleId: query.courseScheduleId,
|
|
|
+ lessonTrainingId: query.lessonTrainingId,
|
|
|
+ materialId: nextItem.materialId
|
|
|
+ })
|
|
|
+ let src = `${location.origin}/orchestra-music-score/?` + parmas
|
|
|
+ // console.log("🚀 ~ src", src)
|
|
|
postMessage({
|
|
|
api: 'openAccompanyWebView',
|
|
|
content: {
|