浏览代码

zzy + 样式修改、图层接入

zhiyuan-007 10 月之前
父节点
当前提交
7a8f8d6d5b
共有 3 个文件被更改,包括 5 次插入6 次删除
  1. 1 1
      src/views/c-cpns/Map.vue
  2. 0 1
      src/views/c-cpns/ServiceTree.vue
  3. 4 4
      src/views/c-cpns/VisualizationHeader.vue

+ 1 - 1
src/views/c-cpns/Map.vue

@@ -19,7 +19,7 @@ export default {
     onMounted(()=>{
       myBridge.bridgeContent =  bridge = new CityGis.Bridge({
         id: "i_map",
-        url: 'https://cimweb.zjw.sh.cegn.cn:2007/VUE-Map-Tool-Widget/#/jk_map?theme=light&type=3D', //建科发布
+        url: 'https://cimweb.zjw.sh.cegn.cn:2007/VUE-Map-Tool-Widget/#/jk_map?theme=dark&type=3D', //建科发布
         //url: 'http://localhost:8081/#/jk_map?theme=light&type=3D',
         onReady: function () {
           console.log("地图创建完成")

+ 0 - 1
src/views/c-cpns/ServiceTree.vue

@@ -124,7 +124,6 @@ export default {
   .tree-content{
     width: 100%;
     height: 500px;
-
   }
 }
 </style>

+ 4 - 4
src/views/c-cpns/VisualizationHeader.vue

@@ -66,7 +66,7 @@ export default {
   left: 0;
   z-index: 2;
   background: url("../../assets/imgs/dbtbj.png") no-repeat;
-  background-size: cover;
+  background-size: 100% 200%;
   display: flex;
   .left-title{
     padding-left: 29px;
@@ -91,10 +91,10 @@ export default {
     height: 80px;
     display: flex;
     justify-content: space-around;
-    align-items: center;
+    align-items: flex-start;
     .single{
       width: 163px;
-      height: 59px;
+      height: 76px;
       display: flex;
       justify-content: center;
       align-items: center;
@@ -109,7 +109,7 @@ export default {
     }
     .single_chosen{
       background: url("../../assets/imgs/mkxz.png") no-repeat;
-      background-size: cover;
+      background-size: 100% 100%;
       span{
         color: #BBCDE6;
         opacity: 1;