소스 검색

fix:sk大屏幕修改

chenzhen2 2 년 전
부모
커밋
29af9c3f32
3개의 변경된 파일7개의 추가작업 그리고 12개의 파일을 삭제
  1. 1 1
      src/styles/index.scss
  2. 1 1
      src/views/home/index.vue
  3. 5 10
      src/views/home/tiantan.vue

+ 1 - 1
src/styles/index.scss

@@ -29,7 +29,7 @@ body {
   // left: 955px;
   // top:180px;
   left: 49.7%;
-  top: 16.6vh;
+  top: 16vh;
 
   img {
     display: block;

+ 1 - 1
src/views/home/index.vue

@@ -323,7 +323,7 @@ export default defineComponent({
       updateStyle() {
         let ani1 = document.getElementById("ani1");
         let ani2 = document.getElementById("ani2");
-        ani2.style.top = ani1.offsetHeight - 30 + "px";
+        ani2.style.top = ani1.offsetHeight - 20 + "px";
         let line = document.getElementById("line");
         let text = document.getElementById("text");
         line.style.height = logoLeft.offsetHeight + "px";

+ 5 - 10
src/views/home/tiantan.vue

@@ -318,6 +318,7 @@ export default defineComponent({
                 // query: { showSpaceTip: 'true' }
               });
             }, 30000);
+            // 30000
           }, 30000);
         });
       },
@@ -403,7 +404,8 @@ export default defineComponent({
   opacity: 0;
 }
 .logoRight img {
-  height: 400px;
+  // height: 400px;
+  width: 26vw;
 }
 .logoRightAni {
   opacity: 1;
@@ -439,9 +441,6 @@ export default defineComponent({
 .line {
   opacity: 0;
   position: absolute;
-  // top: 25vh;
-  // left: 960px;
-  // height: 400px;
   top: 20vh;
   left: 54vw;
   height: 41vh;
@@ -461,11 +460,6 @@ export default defineComponent({
 }
 
 .text {
-  // opacity: 0;
-  // position: absolute;
-  // height: 200px;
-  // top: 65vh;
-  // left: 600px;
   opacity: 0;
   position: absolute;
   // height: 18.5vh;
@@ -890,7 +884,8 @@ export default defineComponent({
   left: 0px;
   position: absolute;
   opacity: 0;
-  width: 1920px;
+  // width: 1920px;
+  width: 100%;
 }
 .ani83Active {
   animation: ani82Active 5s ease-in-out forwards;