浏览代码

适配能力优化

任一存 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'));
     }