sgj
3 天以前 241d327e57cbfe504aa806c61aa22e6205706098
fzzy-igdss-web/src/main/resources/static/common/igds-common.js
@@ -58,7 +58,8 @@
    // 发生了错误事件
    socket.onerror = function () {
        alert("Socket error……");
        // alert("Socket error……");
        console.log("Socket error……");
    };
    $(window).unload(function () {
@@ -229,6 +230,9 @@
    if ("gis" == pageTag) {
        url = "/group/gis";
    }
    if ("gis_modeling" == pageTag) {
        url = "/group/gis_modeling";
    }
    if ("video" == pageTag) {
        url = "/group/video";
    }
@@ -238,6 +242,24 @@
    window.location.href = url;
}
/**
 * 初始标语数据
 */
function initDicSlogan() {
    if (dicSlogan) {
        if (dicSlogan.color == "red") {
            $("#sloganText").css({
                color: "#DE2910"
            });
        } else {
            $("#sloganText").css({
                color: "#7ddfff"
            });
        }
        $("#sloganText").text(dicSlogan.content);
    }
}
//浏览器全屏
var fullscreen = false;