소스 검색

style: 老师端引导页修改

TIANYONG 1 년 전
부모
커밋
a49776c80d
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/page-instrument/custom-plugins/guide-page/student-top.tsx
  2. 5 1
      src/page-instrument/custom-plugins/guide-page/teacher-top.tsx

+ 1 - 1
src/page-instrument/custom-plugins/guide-page/student-top.tsx

@@ -229,7 +229,7 @@ export default defineComponent({
       setTimeout(() => {
         getStepELe();
         data.initDone = true;
-      }, 1000);
+      }, 1200);
     });
 
 

+ 5 - 1
src/page-instrument/custom-plugins/guide-page/teacher-top.tsx

@@ -311,7 +311,11 @@ export default defineComponent({
       }
     };
     onMounted(() => {
-      getStepELe();
+      // 底部栏有个动画过度效果,位置会移动,需要加个延迟时间计算其移动后的位置
+      setTimeout(() => {
+        getStepELe();
+        // data.initDone = true;
+      }, 1200);
     });