Browse Source

'附加数据样式调整'

zhangyu 4 năm trước cách đây
mục cha
commit
93d15a881b
3 tập tin đã thay đổi với 9 bổ sung9 xóa
  1. 1 1
      package.json
  2. 3 4
      src/components/Legend/src/legend.vue
  3. 5 4
      src/views/equipment/index.vue

+ 1 - 1
package.json

@@ -11,7 +11,7 @@
     },
     "dependencies": {
         "@mapbox/geojson-merge": "^1.1.1",
-        "@saga-web/base": "2.1.25",
+        "@saga-web/base": "2.1.22",
         "@saga-web/big": "1.0.86",
         "@saga-web/draw": "2.1.102",
         "@saga-web/feng-map": "1.0.24",

+ 3 - 4
src/components/Legend/src/legend.vue

@@ -612,10 +612,8 @@ export default {
         right: 47px;
         .legend-table {
             padding: 16px;
-            // height: 460px;
-            max-height: 768px;
             width: 385px;
-            // width: 420px;
+            max-height: 700px;
             overflow: auto;
             overflow-y: auto;
             position: relative;
@@ -629,7 +627,8 @@ export default {
         }
         .legend-table2 {
             padding: 16px;
-            height: 356px;
+            // height: 356px;
+            max-height: 700px;
             width: 385px;
             // width: 420px;
             overflow: auto;

+ 5 - 4
src/views/equipment/index.vue

@@ -449,8 +449,8 @@ export default {
                             box-shadow: 0px 2px 15px 0px rgba(31, 36, 41, 0.08);
                         }
                         .add-img-container {
-                            width: 560px;
-                            max-height: 768px;
+                            width: 898px;
+                            max-height: 674px;
                             overflow-y: auto;
                             background: #ffffff;
                             -webkit-box-shadow: 0px 2px 8px 0px rgba(31, 36, 41, 0.06);
@@ -460,7 +460,7 @@ export default {
                             position: absolute;
                             right: 48px;
                             bottom: 0;
-                            padding: 20px;
+                            padding: 24px 20px;
                             &::-webkit-scrollbar {
                                 display: none;
                             }
@@ -487,7 +487,8 @@ export default {
         margin-left: 0 !important;
     }
     #equipment .eq-bottom .eq-right .eq-right-bottom .eq-content .additional-box .add-img-container {
-        max-height: 546px;
+        width: 640px;
+        max-height: 480px;
     }
 }
 </style>