1
13693261870
2024-04-03 45db95a3b29c2f899703ac0ed033690cc184ba0b
1
已修改4个文件
45 ■■■■ 文件已修改
Terra.YaoGan.Web/Terra.YaoGan.Web/checkbox.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/menu.js 39 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Terra.YaoGan.Web/Terra.YaoGan.Web/img.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Terra.YaoGan.Web/Terra.YaoGan.Web/mp4.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Terra.YaoGan.Web/Terra.YaoGan.Web/checkbox.html
@@ -17,6 +17,7 @@
            padding: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
    </style>
    <script>
@@ -60,7 +61,6 @@
        <option>2019年</option>
        <option>2015年</option>
        <option>2010年</option>
    </select>
    <object id="SGWorld" classid="CLSID:3a4f9199-65a8-11d5-85c1-0001023952c1"></object>
    </select><object id="SGWorld" classid="CLSID:3a4f9199-65a8-11d5-85c1-0001023952c1"></object>
</body>
</html>
Terra.YaoGan.Web/Terra.YaoGan.Web/html/tooljs/menu.js
@@ -150,21 +150,52 @@
}
//双球对比
var dd = true
var dd = true, globe;
function sqdb() {
    globe = window.external.createMultScreen();
    //globe.Open("http://118.213.95.34/SG/projects/init.434250");
    globe.open(sqFly);
    var title = "多期数据";
    if (!globe) {
        globe = window.external.createMultScreen();
        //globe.Open("http://118.213.95.34/SG/projects/init.434250");
        globe.open(sqFly);
    }
    var mode = window.external.setShowMode(7);
    if (mode) {
        sgworld.Application.Multiple3DWindows.SetAsLeader();
        sgworld.Application.Multiple3DWindows.LinkPosition(globe);
        var width = 125, height = 25;
        var left = 1920 / 2 - 20 - width - 20;
        showHtmlBySG(sgworld, title, location.origin + "/checkbox.html", left, 200, width, height, false);
        showHtmlBySG(globe, title, location.origin + "/checkbox.html", 20, 200, width, height, false);
    } else {
        if (sgworld.Window.GetPopupByCaption(title) != null) {
            sgworld.Window.RemovePopupByCaption(title);
        }
        if (globe.Window.GetPopupByCaption(title) != null) {
            globe.Window.RemovePopupByCaption(title);
        }
        sgworld.Application.Multiple3DWindows.UnlinkPosition();
    }
}
function showHtmlBySG(sg, title, url, left, top, width, height, showCaption) {
    if (sg.Window.GetPopupByCaption(title) != null) {
        sg.Window.RemovePopupByCaption(title);
    }
    var popup = sg.Creator.CreatePopupMessage(title, url, left, top, width, height);
    popup.AllowResize = true;
    popup.ShowCaption = true;
    popup.AllowDrag = true;
    popup.Width = width;
    popup.Height = height;
    popup.ShowCaption = showCaption;
    sg.Window.ShowPopup(popup);
}
//三维截面分析
var swjmfxStatus = true;
Terra.YaoGan.Web/Terra.YaoGan.Web/img.html
@@ -16,6 +16,7 @@
            padding: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
    </style>
    <script>
Terra.YaoGan.Web/Terra.YaoGan.Web/mp4.html
@@ -16,6 +16,7 @@
            padding: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
    </style>
    <script>