Selaa lähdekoodia

Merge branch 'startLogin'

mo 1 vuosi sitten
vanhempi
commit
cf6cfae19f

+ 3 - 1
src/custom-plugins/guide-page/home-guide.tsx

@@ -174,8 +174,9 @@ export default defineComponent({
     const getStepELe = () => {
 
       const ele: HTMLElement = document.getElementById(`home-${data.step}`)!;
-      console.log(`coai-${data.step}`,data.steps[data.step].eleRectPadding);
+
       if (ele) {
+        ele.style.visibility= 'hidden'
         const eleRect = ele.getBoundingClientRect();
         const left = data.steps[data.step].eleRectPadding?.left || 0;
         const top = data.steps[data.step].eleRectPadding?.top || 0;
@@ -187,6 +188,7 @@ export default defineComponent({
           width: eleRect.width + width+'px',
           height: eleRect.height +height+ 'px'
         };
+        ele.style.visibility= 'visible'
       }else{
         handleNext()
       }

+ 1 - 1
src/custom-plugins/guide-page/index.module.less

@@ -58,7 +58,7 @@
 .box {
   position: fixed;
   box-shadow: rgba(33, 33, 33, 0.7) 0px 0px 0px 5000px;
-  transition: all 0.25s;
+  // transition: all 0.25s;
   // transform: scale(1.2);
   border-radius: 8px;
   z-index: 100;

+ 1 - 1
src/views/studentList/index.module.less

@@ -272,7 +272,7 @@
   position: relative;
   width: 378px;
   height: 631px;
-  margin: 130px auto 0;
+  margin: 100px auto 0;
 
   .studentCLose {
     cursor: pointer;