lex 1 год назад
Родитель
Сommit
9176e7ef45

+ 3 - 3
src/views/attend-class/component/musicScore.tsx

@@ -36,9 +36,9 @@ export default defineComponent({
     const renderError = ref(false);
     const renderSuccess = ref(false);
     const origin = /(localhost|192)/.test(location.host)
-      ? // ? 'https://test.lexiaoya.cn'
-        'http://localhost:3000/instrument.html'
-      : location.origin + '/instrument';
+      ? 'https://test.lexiaoya.cn/instrument'
+      : // 'http://localhost:3000/instrument.html'
+        location.origin + '/instrument';
     const src = `${origin}?showGuide=true&platform=pc&zoom=1.2&modelType=practise&id=${props.music.content}&Authorization=${userStore.getToken}`;
     const checkView = () => {
       fetch(src)

+ 11 - 1
src/views/prepare-lessons/components/lesson-main/train/index.module.less

@@ -116,7 +116,17 @@
   display: flex;
   flex-flow: row wrap;
   justify-content: flex-start;
-  gap: 20px;
+  gap: 20px 2%;
+
+  &>div {
+    width: 49% !important;
+  }
+
+  .itemBlock {
+    &>div {
+      width: 100% !important;
+    }
+  }
 }
 
 .trainEditModal {