瀏覽代碼

样式修改

zpf 11 月之前
父節點
當前提交
ec41675267

+ 1 - 1
src/components/Viewer/smViewer.vue

@@ -272,7 +272,7 @@ export default {
 
   },
   mounted() {
-    // this.init();
+    this.init();
 
     // 临时加载影像和地形,方便测试开发
 

+ 1 - 1
src/views/cockpit/bjxm.vue

@@ -396,7 +396,7 @@ export default {
   width: 430px;
   height: 310px;
   top: 43rem;
-  left: 28.5rem;
+  left: 31.5rem;
   border-radius: 0px;
   -webkit-box-shadow: none;
   box-shadow: none;

+ 4 - 0
src/views/cockpit/common/DialWatch.vue

@@ -389,4 +389,8 @@ export default {
         color: #68f4fb;
     }
 }
+
+.hysy_box {
+    margin: 1px;
+}
 </style>

+ 8 - 7
src/views/cockpit/hysy.vue

@@ -4,9 +4,11 @@
             <div class="icon"></div>
             <span>海域使用权出让</span>
         </div>
-        <DialWatch class="hysy_dial_watch" :dial_watch_info="dial_watch_info" ref="hysy_dial_watch" />
-        <BarGraph3D class="hysy_bar_graph" ref="hysy_bar_graph" />
+        <div class="hysy_box">
+            <DialWatch class="hysy_dial_watch" :dial_watch_info="dial_watch_info" ref="hysy_dial_watch" />
+            <BarGraph3D class="hysy_bar_graph" ref="hysy_bar_graph" />
 
+        </div>
     </div>
 </template>
 
@@ -332,9 +334,9 @@ export default {
 <style lang="scss"  scoped>
 .hysy {
     position: relative;
-    left: 57rem;
+    left: 62rem;
     top: 43rem;
-    width: 559px;
+    width: 430px;
     height: 310px;
     z-index: 100;
 }
@@ -360,7 +362,7 @@ export default {
         font-weight: bold;
         position: relative;
         top: 0.3rem;
-        left: -25.5rem;
+        left: 18rem;
     }
 }
 
@@ -392,7 +394,7 @@ export default {
 
 .hysy_bar_graph {
     margin-left: 5rem;
-    left: 1rem !important;
+    left: -5rem !important;
     top: -12rem !important;
     height: 10rem !important;
 }
@@ -400,7 +402,6 @@ export default {
 .hysy_dial_watch {
     position: relative;
     top: -2.5rem;
-    left: 4rem;
 
 }
 </style>