819527061@qq.com
2024-01-15 53463931c4bd9ac826f268844e76d2bc40baa2cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
 
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="js/jquery-1.11.1.min.js"></script> 
  <style>
    body {
      background: url('https://cdn.pixabay.com/photo/2018/08/14/13/23/ocean-3605547_1280.jpg') no-repeat;
      background-size: 100% 130%;
    }
 
    #login_box {
      width: 20%;
      height: 400px;
      background-color: #00000060;
      margin: auto;
      margin-top: 10%;
      text-align: center;
      border-radius: 10px;
      padding: 50px 50px;
    }
 
    h2 {
      color: #ffffff90;
      margin-top: 5%;
    }
 
    #input-box {
      margin-top: 5%;
    }
 
    span {
      color: #fff;
    }
 
    input {
      border: 0;
      width: 60%;
      font-size: 15px;
      color: #fff;
      background: transparent;
      border-bottom: 2px solid #fff;
      padding: 5px 10px;
      outline: none;
      margin-top: 10px;
    }
 
    button {
      margin-top: 50px;
      width: 60%;
      height: 30px;
      border-radius: 10px;
      border: 0;
      color: #fff;
      text-align: center;
      line-height: 30px;
      font-size: 15px;
      background-image: linear-gradient(to right, #30cfd0, #330867);
    }
 
    #sign_up {
      margin-top: 45%;
      margin-left: 60%;
    }
 
    a {
      color: #b94648;
    }
  </style>
</head>
 
<body>
  <div id="login_box">
    <h2>唐山烟草大屏统计</h2>
    <div id="input_box">
      <input type="text" placeholder="请输入用户名" id="name">
    </div>
    <div class="input_box">
      <input type="password" placeholder="请输入密码" id="passWord">
    </div>
    <button onclick='login()'>登录</button><br>
  </div>
</body>
<script>
  function login(){
      /* let d = {
        username:$('#name').val(),
        password:$('#passWord').val(),
        loginUrl:"http://111.63.178.115:9091/xboot/login"
      }
      $.ajax({
            type: "get",
            url: "http://111.63.178.115:9091/xboot/common/swagger/login",
            dataType: "json",
            data:d,
            success: function (res) {
                if(res.code==200){
                    sessionStorage.setItem("token",res.token);
                }else{
                    alert(res.message);
                }
            }
        }); */
      alert(fromCode("OF5MX2GNS"));
  }
  
  
 
</script>
</html>