home.html 2.3 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;">主页</h2>
    <br><br>
    <ul ></ul>

</div>

<script type="text/javascript">
    $.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) {
                    swal({
                        title: "人员配置停用信息",
                        text: rs.data.join("</br>"),
                        html: true,
                        type: "warning",
                        showCancelButton: true,
                        confirmButtonColor: "RED",
                        confirmButtonText: "是",
                        cancelButtonText: "取消"
                    });
                }
            }
        }
    });

</script>