From bcb686607ddff77f83b5e6d597f483b3d49e596e Mon Sep 17 00:00:00 2001
From: 少年 <1392120328@qq.com>
Date: 星期六, 20 一月 2024 21:26:31 +0800
Subject: [PATCH] youhua

---
 src/utils/poiKeys.js                             |   27 +-
 src/utils/store.js                               |    8 
 src/assets/App.css                               |   11 
 src/components/sideMenu/roamPanel/roamPanel.vue  |    2 
 src/components/sideMenu/sliderAlpha/alpha.vue    |   30 +++
 src/components/sideMenu/sliderAlpha/main.vue     |   20 ++
 static/config copy.json                          |   13 +
 src/components/leftMenu/sousuo.vue               |  344 ++++++++++++++++++++++------------
 src/utils/map.js                                 |   13 +
 src/components/viewer.vue                        |    4 
 src/main.js                                      |    1 
 src/components/sideMenu/layerMenu/layerPanel.vue |  100 +++++----
 static/SmartEarthSDK/Workers/path/Path.html      |   18 +
 13 files changed, 404 insertions(+), 187 deletions(-)

diff --git a/src/assets/App.css b/src/assets/App.css
index b1e9e16..96ff164 100644
--- a/src/assets/App.css
+++ b/src/assets/App.css
@@ -75,12 +75,15 @@
 .el-scrollbar {
   overflow: hidden;
   position: relative;
-  background-color: rgba(45,52,68,.9);
-  color: white;
+  /* background-color: rgba(45,52,68,.9); */
+  background-color: #ffffff;
+  color: #212e3e;
 }
 .el-scrollbar li{
-  border:1px solid rgba(45,52,68,.9);
-  color: white;
+  /* border:1px solid rgba(45,52,68,.9); */
+  color: #212e3e;
+
+  /* color: white; */
 }
 .el-scrollbar .hover{
   overflow: hidden;
diff --git a/src/components/leftMenu/sousuo.vue b/src/components/leftMenu/sousuo.vue
index 993092d..6adbe67 100644
--- a/src/components/leftMenu/sousuo.vue
+++ b/src/components/leftMenu/sousuo.vue
@@ -58,6 +58,14 @@
           @input="changeInput"
           clearable
         >
+          <el-select v-model="select" slot="prepend" placeholder="璇烽�夋嫨">
+            <el-option
+              v-for="(item, index) in options"
+              :key="index"
+              :label="item.label"
+              :value="item.value"
+            ></el-option>
+          </el-select>
           <el-button
             slot="append"
             icon="el-icon-search"
@@ -128,7 +136,10 @@
   height: 100%;
   top: 0;
   background-color: #f3f3f3;
-  z-index: 3000;
+  z-index: 99;
+}
+.el-select {
+  width: 80px;
 }
 
 /* 姣忔潯鎼滅储缁撴灉 */
@@ -178,8 +189,8 @@
 import axios from "axios";
 import store from "@/utils/store.js";
 import common from "@/components/common";
-let flyPoint;
-let flyLine;
+window.flyPoint = null;
+window.flyLine = null;
 let Allresults = [];
 
 export default {
@@ -193,25 +204,40 @@
       showList: false,
       total: 0,
       poiList: [],
+      select: "鍏ㄩ儴",
+      options: [
+        {
+          label: "鍏ㄩ儴",
+          value: "鍏ㄩ儴",
+        },
+        {
+          label: "POI",
+          value: "POI",
+        },
+        {
+          label: "鍦板潡",
+          value: "鍦板潡",
+        },
+      ],
     };
   },
   methods: {
     clearval() {
       this.syssval = "璇疯緭鍏ュ叧閿瘝鎼滅储鍦板浘";
-      flyPoint && Viewer.entities.remove(flyPoint);
-      flyPoint = undefined;
-      flyLine && sgworld.Creator.DeleteObject(flyLine);
-      flyLine = undefined;
+      window.flyPoint && Viewer.entities.remove(window.flyPoint);
+      window.flyPoint = undefined;
+      window.flyLine && sgworld.Creator.DeleteObject(window.flyLine);
+      window.flyLine = undefined;
       this.poi_text = "";
       this.ssjgxs = false;
     },
     changeInput() {
       if (this.poi_text === "") {
         this.ssjgxs = false;
-        flyPoint && Viewer.entities.remove(flyPoint);
-        flyPoint = undefined;
-        flyLine && sgworld.Creator.DeleteObject(flyLine);
-        flyLine = undefined;
+        window.flyPoint && Viewer.entities.remove(window.flyPoint);
+        window.flyPoint = undefined;
+        window.flyLine && sgworld.Creator.DeleteObject(window.flyLine);
+        window.flyLine = undefined;
       } else {
         clearTimeout(timers);
         timers = setTimeout(() => {
@@ -262,111 +288,189 @@
         this.ssjgxs = true;
         Allresults = [];
         this.poiList = [];
-        axios
-          .all([
-            // 115鎺ュ彛锛堝彲鏌ュ湴鍧楀悕锛�
-            axios.post(common.poiserve2, {
-              adcode: "110115",
-              address: {
-                name: "",
-                type: "",
-              },
-              adname: "澶у叴鍖�",
-              cityname: "鍖椾含甯�",
-              name: {
-                name: this.poi_text,
-                type: "",
-              },
-              page: 1,
-              perPageCount: 20,
-              pcode: "110000",
-              pname: "",
-              resType: "",
-            }),
-            // // 甯傜骇骞冲彴锛堢櫨搴︼細浼氭煡鍒板鍦帮級
-            // axios.get(common.poiserve, {
-            //   params: {
-            //     request: "bdPoi",
-            //     query: this.poi_text,
-            //     output: "json",
-            //     coord: "cgcs2000",
-            //     page_num: 0,
-            //     page_size: 20,
-            //   },
-            // }),
-            //  甯傜骇骞冲彴锛堥珮寰凤級
-            axios.get(common.poiserve, {
-              params: {
-                request: "GdPoi",
-                keywords: this.poi_text,
-                output: "json",
-                coord: "cgcs2000",
-                offset: 20,
-                page: 1,
-              },
-            }),
-          ])
-          .then(
-            (data) => {
-              // this.total = data.data.pois.length;
-              // this.poiList =
-              //   data.data && data.data.pois;
-              //115鎺ュ彛
-              if (data[0].status == 200) {
-                data[0].data.data.res
-                  .filter((item) => {
-                    return item.name.includes(this.poi_text);
-                  })
-                  .forEach((val) => {
-                    Allresults.push(val);
+        switch (this.select) {
+          case "鍏ㄩ儴":
+            axios
+              .all([
+                // 115鎺ュ彛锛堝彲鏌ュ湴鍧楀悕锛�
+                axios.post(common.poiserve2, {
+                  adcode: "110115",
+                  address: {
+                    name: "",
+                    type: "",
+                  },
+                  adname: "澶у叴鍖�",
+                  cityname: "鍖椾含甯�",
+                  name: {
+                    name: this.poi_text,
+                    type: "",
+                  },
+                  page: 1,
+                  perPageCount: 20,
+                  pcode: "110000",
+                  pname: "",
+                  resType: "",
+                }),
+                // // 甯傜骇骞冲彴锛堢櫨搴︼細浼氭煡鍒板鍦帮級
+                // axios.get(common.poiserve, {
+                //   params: {
+                //     request: "bdPoi",
+                //     query: this.poi_text,
+                //     output: "json",
+                //     coord: "cgcs2000",
+                //     page_num: 0,
+                //     page_size: 20,
+                //   },
+                // }),
+                //  甯傜骇骞冲彴锛堥珮寰凤級
+                axios.get(common.poiserve, {
+                  params: {
+                    request: "GdPoi",
+                    keywords: this.poi_text,
+                    output: "json",
+                    coord: "cgcs2000",
+                    offset: 20,
+                    page: 1,
+                  },
+                }),
+              ])
+              .then(
+                (data) => {
+                  // this.total = data.data.pois.length;
+                  // this.poiList =
+                  //   data.data && data.data.pois;
+                  //115鎺ュ彛
+                  if (data[0].status == 200) {
+                    data[0].data.data.res
+                      .filter((item) => {
+                        return item.name.includes(this.poi_text);
+                      })
+                      .forEach((val) => {
+                        Allresults.push(val);
+                      });
+                  }
+                  // 甯傜骇骞冲彴
+                  // // 鐧惧害
+                  // if (data[1].data.status == 0) {
+                  //   data[1].data.results.forEach((val) => {
+                  //     let obj = {
+                  //       address: val.address,
+                  //       adname: val.area,
+                  //       cityname: val.city,
+                  //       id: val.uid,
+                  //       lat: val.location.lat,
+                  //       lng: val.location.lng,
+                  //       name: val.name,
+                  //       pname: val.province,
+                  //     };
+                  //     Allresults.push(obj);
+                  //   });
+                  // }
+                  // 楂樺痉
+                  if (data[1].data.status == 1) {
+                    data[1].data.pois.forEach((val) => {
+                      let poiarr = val.location.split(",");
+                      let poi = {
+                        lon: parseFloat(poiarr[0]),
+                        lat: parseFloat(poiarr[1]),
+                      };
+                      let obj = {
+                        address: val.address,
+                        adname: val.area,
+                        cityname: val.city,
+                        id: val.uid,
+                        lat: poi.lat,
+                        lng: poi.lon,
+                        name: val.name,
+                        pname: val.province,
+                      };
+                      Allresults.push(obj);
+                    });
+                  }
+                  this.total = Allresults.length;
+                  this.poiList = Allresults;
+                  this.showList = true;
+                },
+                (response) => {
+                  console.log("error");
+                }
+              );
+            break;
+          case "POI":
+            axios
+              .get(common.poiserve, {
+                params: {
+                  request: "GdPoi",
+                  keywords: this.poi_text,
+                  output: "json",
+                  coord: "cgcs2000",
+                  offset: 20,
+                  page: 1,
+                },
+              })
+              .then((res) => {
+                // 楂樺痉
+                if (res.data.status == 1) {
+                  res.data.pois.forEach((val) => {
+                    let poiarr = val.location.split(",");
+                    let poi = {
+                      lon: parseFloat(poiarr[0]),
+                      lat: parseFloat(poiarr[1]),
+                    };
+                    let obj = {
+                      address: val.address,
+                      adname: val.area,
+                      cityname: val.city,
+                      id: val.uid,
+                      lat: poi.lat,
+                      lng: poi.lon,
+                      name: val.name,
+                      pname: val.province,
+                    };
+                    Allresults.push(obj);
                   });
-              }
-              // 甯傜骇骞冲彴
-              // // 鐧惧害
-              // if (data[1].data.status == 0) {
-              //   data[1].data.results.forEach((val) => {
-              //     let obj = {
-              //       address: val.address,
-              //       adname: val.area,
-              //       cityname: val.city,
-              //       id: val.uid,
-              //       lat: val.location.lat,
-              //       lng: val.location.lng,
-              //       name: val.name,
-              //       pname: val.province,
-              //     };
-              //     Allresults.push(obj);
-              //   });
-              // }
-              // 楂樺痉
-              if (data[1].data.status == 1) {
-                data[1].data.pois.forEach((val) => {
-                  let poiarr = val.location.split(",");
-                  let poi = {
-                    lon: parseFloat(poiarr[0]),
-                    lat: parseFloat(poiarr[1]),
-                  };
-                  let obj = {
-                    address: val.address,
-                    adname: val.area,
-                    cityname: val.city,
-                    id: val.uid,
-                    lat: poi.lat,
-                    lng: poi.lon,
-                    name: val.name,
-                    pname: val.province,
-                  };
-                  Allresults.push(obj);
-                });
-              }
-              this.total = Allresults.length;
-              this.poiList = Allresults;
-              this.showList = true;
-            },
-            (response) => {
-              console.log("error");
-            }
-          );
+                }
+                this.total = Allresults.length;
+                this.poiList = Allresults;
+                this.showList = true;
+              });
+            break;
+          case "鍦板潡":
+            axios
+              .post(common.poiserve2, {
+                adcode: "110115",
+                address: {
+                  name: "",
+                  type: "",
+                },
+                adname: "澶у叴鍖�",
+                cityname: "鍖椾含甯�",
+                name: {
+                  name: this.poi_text,
+                  type: "",
+                },
+                page: 1,
+                perPageCount: 20,
+                pcode: "110000",
+                pname: "",
+                resType: "",
+              })
+              .then((res) => {
+                if (res.status == 200) {
+                  res.data.data.res
+                    .filter((item) => {
+                      return item.name.includes(this.poi_text);
+                    })
+                    .forEach((val) => {
+                      Allresults.push(val);
+                    });
+                }
+                this.total = Allresults.length;
+                this.poiList = Allresults;
+                this.showList = true;
+              });
+            break;
+        }
       }
     },
     getPosition(geo) {
@@ -380,8 +484,8 @@
       // let degrees = item.location.split(',');
       // let degrees = [item.location.lng, item.location.lat];
       let degrees = [item.lng, item.lat];
-      flyPoint && Viewer.entities.remove(flyPoint);
-      flyLine && sgworld.Creator.DeleteObject(flyLine);
+      window.flyPoint && Viewer.entities.remove(window.flyPoint);
+      window.flyLine && sgworld.Creator.DeleteObject(window.flyLine);
       sgworld.Navigate.flyToPointsInterest({
         destination: Cesium.Cartesian3.fromDegrees(
           degrees[0],
@@ -390,7 +494,7 @@
         ),
       });
       // 娣诲姞鐐逛綅
-      flyPoint = Viewer.entities.add({
+      window.flyPoint = Viewer.entities.add({
         position: Cesium.Cartesian3.fromDegrees(degrees[0], degrees[1]),
         billboard: {
           verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
@@ -399,7 +503,7 @@
           heightReference: 1,
           disableDepthTestDistance: Number.POSITIVE_INFINITY,
         },
-        properties:item
+        properties: item,
       });
       // 濡傛灉鏄湴鍧楋紝娣诲姞鑼冨洿绾�
       if (item.type == "澶у叴鐢ㄥ湴") {
@@ -428,7 +532,7 @@
                   z: 0,
                 });
               }
-              flyLine = sgworld.Creator.createPolyline(
+              window.flyLine = sgworld.Creator.createPolyline(
                 geometry,
                 "#ff0000",
                 1,
diff --git a/src/components/sideMenu/layerMenu/layerPanel.vue b/src/components/sideMenu/layerMenu/layerPanel.vue
index efcbde4..a07c5fb 100644
--- a/src/components/sideMenu/layerMenu/layerPanel.vue
+++ b/src/components/sideMenu/layerMenu/layerPanel.vue
@@ -252,6 +252,7 @@
       curZTIndex: -1,
       state: store.thematicLayer,
       basicMapChecked: store.basicMapChecked.val,
+      state1: store.tdglInfo,
     };
   },
   mounted() {
@@ -473,6 +474,32 @@
         //   // store.setThematicLayerItemId(result.id);
       }
     },
+    //鍔犺浇鍦板潡妯″瀷
+    loadLayer() {
+      window.tdglLayer = sgworld.Creator.createImageryProvider(
+        layers[8].name,
+        "tms",
+        {
+          id: layers[8].children[0].id,
+          url: layers[8].children[0].urls,
+          fileExtension: layers[8].children[0].img || "png",
+          enablePickFeatures: false,
+          level: layers[8].children[0].Level,
+          minimumLevel: layers[8].children[0].minimumLevel,
+          maximumLevel: layers[8].children[0].maximumLevel,
+          tilingScheme:
+            layers[8].children[0].tileType === "Geo"
+              ? new Cesium.GeographicTilingScheme()
+              : new Cesium.WebMercatorTilingScheme(),
+          // alpha: layers[8].children[0].alpha,
+          alpha: this.state1.alpha,
+        },
+        "0",
+        layers[8].children[0].zIndex,
+        true,
+        ""
+      );
+    },
     // 绗笁琛� 涓撻鍔熻兘 鐐瑰嚮
     handleFuncClick(index) {
       if (this.curFuncIndex == index) {
@@ -489,50 +516,29 @@
         if (window.tdglLayer) {
           sgworld.Creator.DeleteObject(window.tdglLayer);
         }
-      } else {
-        // 闅愯棌搴曢儴鍥惧眰闈㈢増
-        store.setLayerPanelShow(false);
-        // 闅愯棌鍙充笂瑙掕彍鍗曢潰鏉�
-        store.setMenuListShow(false);
-        // 闅愯棌搴曢儴婕父闈㈡澘
-        store.setRoamPanelShow(false);
-        this.curFuncIndex = index;
-        switch (index) {
-          case 0:
-            window.tdglLayer = sgworld.Creator.createImageryProvider(
-              layers[8].name,
-              "tms",
-              {
-                id: layers[8].children[0].id,
-                url: layers[8].children[0].urls,
-                fileExtension: layers[8].children[0].img || "png",
-                enablePickFeatures: false,
-                level: layers[8].children[0].Level,
-                minimumLevel: layers[8].children[0].minimumLevel,
-                maximumLevel: layers[8].children[0].maximumLevel,
-                tilingScheme:
-                  layers[8].children[0].tileType === "Geo"
-                    ? new Cesium.GeographicTilingScheme()
-                    : new Cesium.WebMercatorTilingScheme(),
-                alpha: layers[8].children[0].alpha,
-              },
-              "0",
-              layers[8].children[0].zIndex,
-              true,
-              ""
-            );
-            store.setTdglFlag(true);
-            
-            break;
-          case 1:
-            this.curFuncIndex = -1;
-            store.setTdglFlag(false);
-            if (window.tdglLayer) {
-              sgworld.Creator.DeleteObject(window.tdglLayer);
-            }
-            store.setHistoryShow(true);
-            break;
-        }
+      }
+      // 闅愯棌搴曢儴鍥惧眰闈㈢増
+      store.setLayerPanelShow(false);
+      // 闅愯棌鍙充笂瑙掕彍鍗曢潰鏉�
+      store.setMenuListShow(false);
+      // 闅愯棌搴曢儴婕父闈㈡澘
+      store.setRoamPanelShow(false);
+      //鏄剧ず婊戝姩鏉�
+      store.setSliderShow(true);
+      this.curFuncIndex = index;
+      switch (index) {
+        case 0:
+          this.loadLayer();
+          store.setTdglFlag(true);
+          break;
+        case 1:
+          this.curFuncIndex = -1;
+          store.setTdglFlag(false);
+          if (window.tdglLayer) {
+            sgworld.Creator.DeleteObject(window.tdglLayer);
+          }
+          store.setHistoryShow(true);
+          break;
       }
     },
     showLayerTree() {
@@ -579,6 +585,12 @@
       immediate: true, //鍒锋柊鍔犺浇 绔嬮┈瑙﹀彂涓�娆andler
       deep: true, // 鍙互娣卞害妫�娴嬪埌 obj 瀵硅薄鐨勫睘鎬у�肩殑鍙樺寲
     },
+    "state1.alpha": {
+      handler: function (newVal) {
+        this.handleFuncClick(0);
+      },
+      deep: true,
+    },
   },
 };
 </script>
diff --git a/src/components/sideMenu/roamPanel/roamPanel.vue b/src/components/sideMenu/roamPanel/roamPanel.vue
index 97f3d4e..55e2417 100644
--- a/src/components/sideMenu/roamPanel/roamPanel.vue
+++ b/src/components/sideMenu/roamPanel/roamPanel.vue
@@ -115,7 +115,7 @@
           type: 2,
           title: result.name,
           shade: false,
-          area: ["100%", "210px"],
+          area: ["100%", "220px"],
           offset: "r",
           skin: "other-class",
           content: SmartEarthRootUrl + "Workers/path/Path.html",
diff --git a/src/components/sideMenu/sliderAlpha/alpha.vue b/src/components/sideMenu/sliderAlpha/alpha.vue
new file mode 100644
index 0000000..f4b48d8
--- /dev/null
+++ b/src/components/sideMenu/sliderAlpha/alpha.vue
@@ -0,0 +1,30 @@
+<template>
+  <div class="sliders">
+    <el-slider v-model="alpha" vertical height="200px" :max="1" :min="0" :step="0.01"  @input="changeSlider">
+    </el-slider>
+  </div>
+</template>
+
+<script>
+import store from "@/utils/store.js";
+export default {
+  data() {
+    return {
+      alpha: store.tdglInfo.alpha,
+    };
+  },
+  methods: {
+    changeSlider(val) {
+      store.setAlpha(val);
+    },
+  },
+};
+</script>
+
+<style scoped>
+.sliders {
+  position: absolute;
+  top: 2rem;
+  left: 0.15rem;
+}
+</style>
\ No newline at end of file
diff --git a/src/components/sideMenu/sliderAlpha/main.vue b/src/components/sideMenu/sliderAlpha/main.vue
new file mode 100644
index 0000000..5a7ea9f
--- /dev/null
+++ b/src/components/sideMenu/sliderAlpha/main.vue
@@ -0,0 +1,20 @@
+<template>
+    <div v-if="state.sliderShow">
+        <myAlpha></myAlpha>
+    </div>
+</template>
+
+<script>
+import myAlpha from './alpha.vue';
+import store from "@/utils/store.js";
+export default {
+    components: {
+        myAlpha
+    },
+    data() {
+        return {
+            state: store.tdglInfo,
+        }
+    }
+}
+</script>
\ No newline at end of file
diff --git a/src/components/viewer.vue b/src/components/viewer.vue
index 4bab285..673aaef 100644
--- a/src/components/viewer.vue
+++ b/src/components/viewer.vue
@@ -51,6 +51,7 @@
     <my-layer-tree-panel></my-layer-tree-panel>
     <!-- 鍦熷湴绠$悊寮圭獥 -->
     <my-land-admin-info></my-land-admin-info>
+    <my-slider></my-slider>
   </div>
 </template>
 <script>
@@ -76,7 +77,9 @@
 import layerTreePanel from "./sideMenu/layerTreePanel/main.vue";
 import history from "./poplayer/history.vue";
 import landAdminInfo from "./poplayer/landAdmin.vue";
+import sliderAlpha from "./sideMenu/sliderAlpha/main.vue";
 import Axios from "axios";
+
 export default {
   name: "viewer",
   components: {
@@ -98,6 +101,7 @@
     "my-layer-tree-panel": layerTreePanel,
     "my-history": history,
     "my-land-admin-info": landAdminInfo,
+    "my-slider":sliderAlpha
   },
   data() {
     return {
diff --git a/src/main.js b/src/main.js
index aa68505..36dd28b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -17,6 +17,7 @@
 Vue.use(animated);
 window.sgworld = null;
 window.viewer = null;
+window.alpha = 1;
 Vue.prototype.Layer = vueLayer(Vue);
 Vue.prototype.$global = _GLOBAL
 Vue.use(elementUI);
diff --git a/src/utils/map.js b/src/utils/map.js
index 048a329..185498f 100644
--- a/src/utils/map.js
+++ b/src/utils/map.js
@@ -615,6 +615,10 @@
             }
             let nPickFeature = sgworld.Viewer.scene.pick(event.position);
             console.log(nPickFeature);
+            if (nPickFeature == undefined) {
+                window.flyPoint && Viewer.entities.remove(window.flyPoint);
+                window.flyPoint = undefined;
+            }
             // console.log(event.position);//灞忓箷浣嶇疆
             if (!nPickFeature || !nPickFeature.id) {
                 return
@@ -661,7 +665,7 @@
                 nPickFeature.primitive.image =
                     window.SmartEarthRootUrl + "Workers/image/point.png";
                 //鐐瑰嚮寮规(閮ㄤ欢銆佷紒涓氥�佺洃鎺�)
-                if (nPickFeature.id.tag) {
+                if (nPickFeature.id.tag || nPickFeature.id.show) {
                     let properties = nPickFeature.id.properties;
                     let propertyNames = nPickFeature.id.properties.propertyNames;
                     if (propertyNames.indexOf("鐩戞帶鍚�") !== -1) {
@@ -740,6 +744,13 @@
                             lon: lon,
                             lat: lat,
                         }
+                    } else if (propertyNames.includes("id")) {
+                        objdata = {
+                            POITYPE: "POINT",
+                            name: properties["_name"]._value,
+                            lat: properties["_lat"]._value,
+                            lon: properties["_lng"]._value,
+                        }
                     }
                     divPoint3 && divPoint3.deleteObject();
                     store.setPoplayerShowAction(false);
diff --git a/src/utils/poiKeys.js b/src/utils/poiKeys.js
index ec8ff83..9144491 100644
--- a/src/utils/poiKeys.js
+++ b/src/utils/poiKeys.js
@@ -26,21 +26,26 @@
         // 寤虹瓚瀵嗗害: 'jzmd',
     },
     'NOTDGL': {
-        鍦板潡淇℃伅:"zwxx",
+        鍦板潡淇℃伅: "zwxx",
     },
     'SPJK': {
-        鐩戞帶鍚嶇О:"name",
-        鐩戞帶绫诲瀷:"type",
-        鐩戞帶鍔熻兘:"function",
-        鎵�鍦ㄥ尯鍩�:"area",
-        鐩戞帶缂栧彿:"number",
-        鐩戞帶鍐呯爜:"code",
+        鐩戞帶鍚嶇О: "name",
+        鐩戞帶绫诲瀷: "type",
+        鐩戞帶鍔熻兘: "function",
+        鎵�鍦ㄥ尯鍩�: "area",
+        鐩戞帶缂栧彿: "number",
+        鐩戞帶鍐呯爜: "code",
     },
     'CSBJ': {
-        閮ㄤ欢鍚嶇О:"name",
-        瀹夎鍦板潃:"address",
-        閮ㄤ欢缂栫爜:"code",
-        閮ㄤ欢绫诲瀷:"type",
+        閮ㄤ欢鍚嶇О: "name",
+        瀹夎鍦板潃: "address",
+        閮ㄤ欢缂栫爜: "code",
+        閮ㄤ欢绫诲瀷: "type",
     },
+    'POINT': {
+        鍚嶇О: 'name',
+        缁忓害: 'lon',
+        绾害: 'lat'
+    }
 }
 export default keys
\ No newline at end of file
diff --git a/src/utils/store.js b/src/utils/store.js
index 1cf3288..b5fcfde 100644
--- a/src/utils/store.js
+++ b/src/utils/store.js
@@ -131,8 +131,16 @@
     tdglInfo: {
         flag: false,
         show: false,
+        sliderShow: false,
+        alpha: 1,
         info: {}
     },
+    setAlpha(val) {
+        this.tdglInfo.alpha = val;
+    },
+    setSliderShow(val) {
+        this.tdglInfo.sliderShow = val;
+    },
     setTdglFlag(val) {
         this.tdglInfo.flag = val;
     },
diff --git a/static/SmartEarthSDK/Workers/path/Path.html b/static/SmartEarthSDK/Workers/path/Path.html
index 5ca36d9..60a914e 100644
--- a/static/SmartEarthSDK/Workers/path/Path.html
+++ b/static/SmartEarthSDK/Workers/path/Path.html
@@ -45,7 +45,7 @@
             /* width: 95%; */
             width: 97%;
             position: absolute;
-            bottom: 10px;
+            bottom: 8px;
             /* margin-top: 40px; */
         }
 
@@ -86,7 +86,8 @@
         }
 
         .layui-form-item {
-            border: 1px solid;
+            border: 1px dashed rgba(0, 0, 0, 0.1);
+            padding: 4px;
             margin-bottom: 0px !important;
             border-bottom: none;
         }
@@ -106,13 +107,17 @@
         }
 
         .bnt-box {
-            text-align: center;
-            height: 48px;
+            /* text-align: center; */
+            height: 60px;
+            display: flex;
+            justify-content: space-around;
+            align-items: center;
         }
 
         .bnt-box button {
-            margin-top: 5px;
+            margin-top: 15px;
         }
+
 
         .fly {
             display: none;
@@ -121,7 +126,8 @@
         #flySpeed {
             padding: 19px 0;
         }
-        .norline{
+
+        .norline {
             display: none !important;
         }
     </style>
diff --git a/static/config copy.json b/static/config copy.json
new file mode 100644
index 0000000..af2e525
--- /dev/null
+++ b/static/config copy.json
@@ -0,0 +1,13 @@
+锘縶
+  "username": "zjchy",
+  "password": "admin123",
+  "min_view_height": 40,
+  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjEyMyJ9.K8V0sPO_Y1CUunw4vGe6S899lDpsPixZ0b70KhP6O5M",
+  "traffic": "http://www.map.zj.cn:8899/geoserver/zjplatform/wms",
+  "poi_search11": "http://10.10.4.116:8085/yzAdapter/Navigation",
+  "poi_search22": "http://10.10.4.115:8022/poisearch/qgpoi/POIQuery",
+  "poi_search": "https://skyzt.bda.gov.cn/yzAdapter/Navigation",
+  "poi_search2": "https://skyzt.bda.gov.cn/yzxncsApi/poisearch/qgpoi/POIQuery",
+  "space_query": "http://10.20.55.133:3866/zjchys/query/list",
+  "gis_base_url": "https://skyzt.bda.gov.cn/"
+}
\ No newline at end of file

--
Gitblit v1.9.3