Browse Source

Merge branch 'hqyDev' of http://git.dayaedu.com/huangqiyong/pptList into online

黄琪勇 2 months ago
parent
commit
9b11bd8d3f

+ 1 - 1
src/views/components/element/cloudCoachElement/BaseCloudCoachElement.vue

@@ -49,7 +49,7 @@ const scale = inject(injectKeySlideScale) || ref(1)
     overflow: hidden;
     text-overflow: ellipsis;
     padding: 0 40px;
-    color: #fff;
+    color: #333333;
   }
 }
 </style>

BIN
src/views/components/element/cloudCoachElement/cloudCoachList/imgs/musicBg.png


+ 5 - 2
src/views/components/element/cloudCoachElement/cloudCoachPlayer/cloudCoachPlayer.vue

@@ -37,7 +37,11 @@ const props = withDefaults(
   }
 )
 const url = computed(() => {
-  return `${YJL_URL_API}?v=${Date.now()}&showGuide=true&showWebGuide=false&platform=pc&imagePos=right&zoom=0.8&modelType=practise&instrumentId=${queryParams.instrumentId}&iscurseplay=play&id=${props.id}&Authorization=${getToken()}`
+  if (queryParams.fromType === "CLASS") {
+    return `${YJL_URL_API}?v=${Date.now()}&Authorization=${getToken()}&id=${props.id}&iscurseplay=play&modelType=practise&showCourseMember=true&showGuide=true&showWebGuide=false&instrumentId=${queryParams.instrumentId}&zoom=0.8`
+  } else {
+    return `${YJL_URL_API}?v=${Date.now()}&showGuide=true&showWebGuide=false&platform=pc&imagePos=right&zoom=0.8&modelType=practise&instrumentId=${queryParams.instrumentId}&iscurseplay=play&id=${props.id}&Authorization=${getToken()}`
+  }
 })
 
 // 先关闭这个功能
@@ -56,7 +60,6 @@ function handleIframeLoad() {
   user-select: none;
   line-height: 1;
   transform-origin: 0 0;
-  background-color: #213793;
   .musicIframe {
     width: 100%;
     height: 100%;

+ 1 - 1
vite.config.ts

@@ -28,7 +28,7 @@ export default defineConfig({
     proxy: {
       // 正则表达式写法
       "^/pptApi/.*": {
-        target: "https://dev.kt.colexiu.com",
+        target: "https://test.kt.colexiu.com",
         changeOrigin: true,
         rewrite: path => path.replace(/^\/pptApi/, "")
       }