소스 검색

适配能力优化

任一存 1 년 전
부모
커밋
1a1a06307f
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      src/views/PaintingDetailForZhuQin.vue

+ 1 - 5
src/views/PaintingDetailForZhuQin.vue

@@ -209,13 +209,9 @@ function showBigPainting() {
   >.right-text{
     position: absolute;
     top: calc(310px / v-bind('windowHeightDesign') * v-bind('windowHeight'));;
-    left: calc(50% + 504px / v-bind('windowHeightDesign') * v-bind('windowHeight'));
+    left: calc(50% + 405px / v-bind('windowHeightDesign') * v-bind('windowHeight') + 5vw);
     display: flex;
     align-items: center;
-    @media (max-width: calc(1420px / v-bind('windowHeightDesign') * v-bind('windowHeight'))) {
-      left: initial;
-      right: calc(10px / v-bind('windowHeightDesign') * v-bind('windowHeight'));
-    }
     >img.title{
       height: calc(302px / v-bind('windowHeightDesign') * v-bind('windowHeight'));
     }