CzRger 1 year ago
parent
commit
45b4e24c08

+ 8 - 9
src/views/gis/business/enterprise/index.vue

@@ -1,8 +1,11 @@
 <template>
-  企业一张图
-<!--  <div class="main">-->
-<!---->
-<!--  </div>-->
+  <div class="__gis-content-main __box-shadow">
+    <div class="__gis-content-main_head">
+      <div class="__gis-content-main_head-title"></div>
+      <SvgIcon name="close_2" color="#0096FF" size="18"/>
+    </div>
+    企业一张图
+  </div>
 </template>
 
 <script lang="ts">
@@ -42,9 +45,5 @@ export default defineComponent({
 </script>
 
 <style scoped lang="scss">
-.main {
-  width: 200px;
-  height: 500px;
-  background-color: red;
-}
+@import "../main";
 </style>

+ 8 - 0
src/views/gis/business/main.scss

@@ -0,0 +1,8 @@
+.__gis-content-main {
+  position: fixed;
+  left: 10px;
+  top: 10px;
+  width: 410px;
+  height: calc(100% - 20px);
+  background-color: #FFFFFF;
+}

+ 0 - 3
src/views/gis/layout/index.vue

@@ -408,10 +408,7 @@ export default defineComponent({
     }
   }
   .gis-content {
-    position: absolute;
     z-index: 4;
-    top: 0;
-    left: 0;
   }
 }
 </style>