From a55625f79b5bea88a04dc5cebf264a61cd594547 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期五, 30 十二月 2022 18:02:18 +0800
Subject: [PATCH] 管道分析,IE判斷,上传Loading

---
 public/LfSKyline/js/index.js |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/public/LfSKyline/js/index.js b/public/LfSKyline/js/index.js
index 62b06dd..573160c 100644
--- a/public/LfSKyline/js/index.js
+++ b/public/LfSKyline/js/index.js
@@ -4,7 +4,17 @@
     treePlay: 'PS\\鍏ㄥ浗绠$綉涓撻鍥惧睍绀�',
     objTypes: [19, 23, 26, 29, 34, 36, 38, 39, 40],
     init: function () {
+        var flag = Detect.detectIE();
+        if (!flag) {
+            this.showDownload();
+            return;
+        }
         this.initSG();
+    },
+    // 鏄剧ず涓嬭浇
+    showDownload: function () {
+        $("#mapView").hide();
+        $("#download").show();
     },
     initSG: function () {
         SG = TEWinEx.CreateInstance("TerraExplorerX.SGWorld74"); // SGWorld74,SGWorld71,SGWorld66
@@ -17,9 +27,9 @@
         Index.getLayers("", layers);
         Index.ininTrees("layers", layers);
         // Index.flyToStart();
-      
+
     },
-   
+
     getLayers: function (pid, layers) {
         var next = SG.ProjectTree.GetNextItem(pid, 11);
         while (next) {
@@ -79,7 +89,7 @@
                 SG.Command.Execute(1028, null)
                 break;
             case 2:
-                SG.Command.Execute(2314,0);
+                SG.Command.Execute(2314, 0);
                 break;
             case 3:
                 var model_ID = SG.ProjectTree.FindItem(this.treePlay);

--
Gitblit v1.9.3