自动化立体仓库 - WMS系统
#
zjj
2024-09-23 539d9ffc477d28a23a923b41fdeabc8c37c99ce6
src/main/webapp/views/login.html
@@ -53,7 +53,7 @@
                    z-index: 100;
                    top: 22px;
                    left: 20px;">
        <img src="../static/image/logo.png" alt="" style="width: 20%">
        <img src="../static/image/logo.png" alt="" style="width: 10%">
      </div>
      <div class="p-sketch-outline">
        <h2 class="p-sketch-outline__title">Automatic Storage and Retrieval System</h2>
@@ -68,7 +68,6 @@
      <div class="login-contain">
        <div class="login-box">
          <img src="../static/image/logo.png" alt="" style="width: 80%">
          <span class="login100-form-title p-t-20 p-b-45">浙江中扬</span>
          <span class="login100-form-title p-t-20 p-b-45" style="margin: 15px 0;color: #868686;font-size: 24px">WMS</span>
          <div class="wrap-input100 validate-input m-b-10" data-validate="请输入用户名">
            <input id="username" class="input100" type="text" name="username" placeholder="username" autocomplete="off">
@@ -121,13 +120,14 @@
        if (password === "") {
          layer.tips('请输入密码', '#password', {tips: [4, '#ff0000']});
          return;
        }else {
          if(!checkPassword(password)){
            //密码必须包含字符和数字
            layer.tips('密码必须包含字符和数字长度不能少于8位,且不能包含连续数字和四位重复数字', '#password', {tips: [4, '#ff0000']});
            return ;
          }
        }
        // else {
        //   if(!checkPassword(password)){
        //     //密码必须包含字符和数字
        //     layer.tips('密码必须包含字符和数字长度不能少于8位,且不能包含连续数字和四位重复数字', '#password', {tips: [4, '#ff0000']});
        //     return ;
        //   }
        // }
        $.ajax({
          url: baseUrl+"/login.action",
          data: {