Parcourir la source

修改一张图地块详情展示窗口大小及默认位置

zhourj il y a 8 mois
Parent
commit
1fd7308067
1 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 5 3
      src/components/OneMap/widgets/QueryInfo.vue

+ 5 - 3
src/components/OneMap/widgets/QueryInfo.vue

@@ -308,15 +308,17 @@ export default {
 .detail {
   display: flex;
   position: fixed;
-  top: calc(50% - 300px);
-  right: calc(50% - 540px);
+  width:calc(60% - 0px);
+  height: calc(60% - 0px);
+  top: calc(22% - 0px);
+  right: calc(20% - 0px);
   user-select: none;
 }
 
 .detail .ant-card-body {
   padding: 4px;
   width: calc(100% - 0px);
-  max-height: 600px;
+  max-height: calc(100% - 60px);
   overflow-y: auto;
   /*  box-shadow: 0 0 5px #357ee5;*/
 }