From 95a1c8ca00f42eb9887b7bc04661595bd7ff518b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 24 Dec 2021 09:56:20 +0800
Subject: [PATCH] 图片及部分样式更改

---
 src/components/map/index.vue |   35 ++++++++++++++++++++++++++++-------
 1 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index 416e290..5a134fc 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -6,17 +6,24 @@
         <left-nav ref="leftNav"></left-nav>
 
         <mapPopup />
+
+        <!-- <campusBuildingSearch /> -->
+        <div class="keep-out">
+            智慧校园
+        </div>
     </div>
 </template>
 <script>
 
 import { mapGetters } from 'vuex'
-import mapPopup from './component/mapPopup.vue'
+import mapPopup from './components/mapPopup.vue'
+import campusBuildingSearch from './components/campusBuildingSearch.vue'
 
 export default {
     name: 'mapBox',
     components: {
-        mapPopup
+        mapPopup,
+        campusBuildingSearch
     },
     data () {
         return {
@@ -232,13 +239,14 @@
             )
             wall.setStyle({
                 material: new that.DC.WallTrailMaterialProperty({
-                    color: that.DC.Color.DEEPSKYBLUE,
-                    speed: 4
+                    color: that.DC.Namespace.Cesium.Color.fromBytes(0, 142, 255, 150),
+                    // color: that.DC.Color.CYAN,
+                    speed: 10
                 })
             })
             wallLayer.addOverlay(wall)
 
-            viewer.use(new that.DC.Measure())
+            // viewer.use(new that.DC.Measure())
 
             // viewer.flyTo(wallLayer)
 
@@ -248,8 +256,8 @@
 
             viewer.compass.enable = true
             viewer.zoomController.enable = true
-            viewer.locationBar.enable = true
-            viewer.distanceLegend.enable = true
+            // viewer.locationBar.enable = true
+            // viewer.distanceLegend.enable = true
         }
 
         that.DC.ready(initViewer)
@@ -261,4 +269,17 @@
 </script>
 
 <style lang='scss' scope>
+.keep-out {
+    position: fixed;
+    left: 6px;
+    bottom: 2px;
+    z-index: 11;
+    width: 72px;
+    height: 30px;
+    line-height: 30px;
+    text-align: center;
+    background: rgba(0, 0, 0, 0.8);
+    color: #fff;
+    border-radius: 8px;
+}
 </style>

--
Gitblit v1.9.3