home.html 4.42 KB
<style>
    .system_change_log{
        background: #fff;
        color: #666;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        height: calc(100% + 10px);
        margin-top: -10px;
        font-size: 14px;
        padding: 10px 0 0 15px;
        overflow: auto;
    }
    .system_change_log>ul{
        margin:0px;
        list-style:none;
    }

    .system_change_log>ul>li.sub_title{
        text-indent: 0;
    }

    .system_change_log>ul>li.sub_title>h6{
        font-size: 12px;
        font-family: 微软雅黑;
        color: #000;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .system_change_log>ul>li{
        margin: 5px 0;
        text-indent: 25px;
    }

    .system_change_log .label{
        width: 55px;
        display: inline-block;
        padding: 0 10px;
        line-height: 1.5;
        font-size: 12px;
        color: #fff;
        vertical-align: middle;
        white-space: nowrap;
        border-radius: 2px !important;
        text-transform: uppercase;
        text-align: center;
        text-indent: 3px;
        margin-right: 15px;
    }
    .system_change_log .label.s_c_add{
        background-color: #32d296;
    }

    .system_change_log .label.s_c_change{
        background-color: #1e87f0;
    }

    .system_change_log .label.s_c_remove{
        background-color: #faa05a;
    }
</style>
<div class="system_change_log">
    <h2 style="text-indent: 35px;margin: 10px 0 5px;">2025-09-15</h2>
    <br><br>
    <ul >
        <li class="sub_title"><h6>嘉定示范线调度</h6></li>
        <li><span class="label s_c_change">试运行</span>
    </ul>

</div>

<script type="text/javascript">
    if(window.localStorage.getItem('system_style')=='dark'){
        document.querySelector('.system_change_log').style.background = '#3D4258';
        document.querySelector('.system_change_log').style.color = '#e3e3e3';
        document.querySelector('.system_change_log>ul>li.sub_title>h6').style.color = '#e3e3e3';
    }else {
        document.querySelector('.system_change_log').style.background = '#fff';
        document.querySelector('.system_change_log').style.color = '#666';
        document.querySelector('.system_change_log>ul>li.sub_title>h6').style.color = '#000';
    }
    /*$.ajax({
        url: '/eci/validate_get_destroy_info',
        dataType: "json",
        success: function(rs) {
            if (rs && rs.status === "SUCCESS") {
                if (rs.data && rs.data.length && rs.data.length > 0) {
                    var htmlText = "";
                    var wrapData = [];
                    if (rs.data.length > 8) {
                        htmlText = "<span style='font-weight: bold; font-style: italic; '>部分停用信息如下:</span></br>";
                        wrapData = rs.data.slice(0, 8);
                    } else {
                        htmlText = "<span style='font-weight: bold; font-style: italic; '>所有停用信息如下:</span></br>";
                        wrapData = rs.data;
                    }
                    $.each(wrapData, function(index, value) {
                        wrapData[index] = "<span style='font-size: 14px;'>" + value + "</span>";
                    });

                    htmlText += wrapData.join("</br>");

                    swal({
                        title: "排班人员停用信息",
                        text: htmlText,
                        html: true,
                        type: "warning",
                        showCancelButton: true,
                        cancelButtonText: "关闭",
                        confirmButtonColor: "#3598dc",
                        confirmButtonText: "下载所有停用信息",
                        closeOnConfirm: false

                    }, function() {
                        window.location.href = "/eci/validate_get_destroy_info/download";
                    });
                }
            }
        }
    });*/

    $.get("/user/validPWDExpired", function(msg) {
        if ("ok" === msg) {
            return;
        }

        var htmlText = [];
        htmlText.push("<span style='font-weight: bold; font-style: italic; '>" + msg + "</span></br>");
        swal({
            title: "账户密码提示",
            text: htmlText.join("</br>"),
            html: true,
            type: "warning",
            showCancelButton: true,
            cancelButtonText: "关闭",
            confirmButtonColor: "#3598dc",
            closeOnConfirm: false
        });
    });

</script>