Browse Source

修改报价框位置

yangc 7 years ago
parent
commit
0d709714a2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      components/applyPurchase/SayPrice.vue

+ 2 - 1
components/applyPurchase/SayPrice.vue

@@ -347,8 +347,9 @@
     width: 476px;
     top: 50%;
     left: 50%;
-    margin-top: -162px;
+    margin-top: calc(((80vh - 113px) - 133px - 100vh) / 2);
     margin-left: -238px;
+    max-height: calc(80vh - 113px);
     overflow-y: auto;
     /*-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);*/
     /*-moz-box-shadow: 0 5px 15px rgba(0,0,0,.5);*/