zjj
2024-12-23 937798fcb19161d9f266c0f661e4fa0858b7fe3d
src/main/webapp/views/login.html
@@ -4,7 +4,7 @@
    <meta charset="UTF-8">
    <title>系统登录</title>
    <link rel="stylesheet" href="../static/layui/css/layui.css" media="all">
    <link rel="icon" type="image/x-icon" href="../static/image/wcs_logo.png" />
    <link rel="icon" type="image/x-icon" href="../static/images/wcs_logo.png" />
    <link rel="stylesheet" href="../static/css/animate.min.css">
    <script type="text/javascript" src="../static/layui/layui.js"></script>
    <script type="text/javascript" src="../static/js/common.js"></script>
@@ -17,7 +17,7 @@
            height: 100%;
            /*background-image: linear-gradient(to right, #ff9569 0%, #e92758 100%);*/
            /*background-image: linear-gradient(-90deg, #a2e7f3 0%, #98baee 100%);*/
            background-image: url("../static/image/login.png");
            background-image: url("../static/images/login.png");
            /*background: -webkit-linear-gradient(red, blue); !* Safari 5.1 - 6.0 *!;*/
            /*background-image: url("../static/image/login_bg.jpg");*/
            /*background-repeat: no-repeat;*/
@@ -105,7 +105,7 @@
        }
    </style>
</head>
<body class="login-bg">
<body class="login-bg animsition">
<div id="login-wrapper" class="animate__animated animate__bounceInDown">
    <header>
@@ -212,7 +212,11 @@
                    if (res.code === 200){
                        localStorage.setItem("token", res.data.token);
                        localStorage.setItem("username", res.data.username);
                        window.location.href = "index.html";
                        if (res.data.username==="dsj1"){
                            window.location.href = "indexTV.html";
                        }else {
                            window.location.href = "index.html";
                        }
                    } else {
                        layer.msg(res.msg, {offset: '150px'});
                    }
@@ -229,4 +233,5 @@
    });
</script>
<script type></script>
</html>