Преглед изворни кода

课件播放和去练习 去掉list和返回按钮

黄琪勇 пре 4 месеци
родитељ
комит
f62f7377ff

+ 1 - 1
src/views/coursewarePlay/component/musicScore.tsx

@@ -50,7 +50,7 @@ export default defineComponent({
     const origin = /(localhost|192)/.test(location.host)
           ? 'https://test.gym.lexiaoya.cn/'
           : location.origin;
-    const src = `${origin}/gym-music-score/?id=${props.music.content}&Authorization=${Authorization}&systemType=${ state.platformType === 'TEACHER' ? 'teacher' : 'student'}`
+    const src = `${origin}/gym-music-score/?id=${props.music.content}&Authorization=${Authorization}&isHideBack=true&isHideMusicList=true&systemType=${ state.platformType === 'TEACHER' ? 'teacher' : 'student'}`
 
     const checkView = () => {
       fetch(src)

+ 1 - 1
src/views/coursewarePlay/component/video-play.tsx

@@ -336,7 +336,7 @@ export default defineComponent({
     const origin = /(localhost|192)/.test(location.host)
           ? 'https://test.gym.lexiaoya.cn/'
           : location.origin;
-    const src = `${origin}/gym-music-score/?id=${item.value.materialMusicId}&Authorization=${Authorization}&systemType=${ state.platformType === 'TEACHER' ? 'teacher' : 'student'}`
+    const src = `${origin}/gym-music-score/?id=${item.value.materialMusicId}&Authorization=${Authorization}&isHideMusicList=true&systemType=${ state.platformType === 'TEACHER' ? 'teacher' : 'student'}`
 
       postMessage({
         api: 'openAccompanyWebView',

+ 1 - 1
src/views/coursewarePlay/index.tsx

@@ -1120,7 +1120,7 @@ export default defineComponent({
                             const origin = /(localhost|192)/.test(location.host)
                               ? 'https://test.gym.lexiaoya.cn/'
                               : location.origin;
-                            const src = `${origin}/gym-music-score/?id=${m.materialMusicId}&Authorization=${Authorization}&systemType=${ state.platformType === 'TEACHER' ? 'teacher' : 'student'}`
+                            const src = `${origin}/gym-music-score/?id=${m.materialMusicId}&Authorization=${Authorization}&isHideMusicList=true&systemType=${ state.platformType === 'TEACHER' ? 'teacher' : 'student'}`
                             postMessage({
                               api: 'openAccompanyWebView',
                               content: {