Ver código fonte

适配能力优化

任一存 1 ano atrás
pai
commit
1a1a06307f
1 arquivos alterados com 1 adições e 5 exclusões
  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'));
     }