| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <!DOCTYPE html>
- <html>
- <head>
- {include file="common/meta" /}
- <style type="text/css">
- body {
- width: 100%;
- height: 100vh;
- background-image: url("http://xh-erp.7in6.com/img/bg1.jpg");
- background-size: cover; /* 等比例放大或缩小背景图以完全覆盖容器 */
- background-repeat: no-repeat;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin: 0;
- position: relative;
- background-position: center;
- filter: brightness(1.2); /* 调整亮度 */
- }
- a {
- color: #444;
- }
- .login-wrapper {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- padding: 20px;
- box-sizing: border-box;
- position: relative;
- }
- .login-screen {
- width: 100%;
- max-width: 600px;
- display: flex;
- flex-direction: column;
- align-items: center;
- border-radius: 3px;
- box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
- padding: 20px;
- box-sizing: border-box;
- }
- .profile-img-card {
- width: 100px;
- height: 100px;
- border-radius: 50%;
- margin: -50px auto 30px;
- border: 5px solid #fff;
- }
- .profile-name-card {
- text-align: center;
- }
- .login-form {
- width: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 20px;
- box-sizing: border-box;
- }
- #login-form {
- width: 100%;
- }
- #login-form .btn {
- background-color: rgb(34, 60, 212);
- height: 50px;
- width: 100%;
- }
- #login-form .input-group {
- margin-bottom: 15px;
- width: 100%;
- }
- #login-form .form-control {
- font-size: 13px;
- width: 100%;
- }
- .head {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- padding: 10px;
- box-sizing: border-box;
- position: absolute;
- top: 0;
- left: 0;
- }
- .head .head-title {
- font-size: 24px;
- margin: 0;
- text-align: center;
- color: whitesmoke;
- font-family: 'Songti', '宋体', serif;
- }
- .head-title-logo {
- text-align: center;
- color: whitesmoke;
- font-family: 'Songti', '宋体', serif;
- font-size: 36px;
- font-weight: bold;
- margin: 20px 0;
- }
- .title {
- color: white;
- }
- .footer {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- padding: 10px;
- color: white;
- text-align: center;
- font-family: 'Songti', '宋体', serif;
- position: absolute;
- bottom: 0;
- left: 0;
- }
- @media (max-width: 768px) {
- .head .head-title {
- font-size: 16px;
- }
- }
- @media (max-width: 480px) {
- .head .head-title {
- font-size: 12px;
- }
- }
- @media (max-width: 1920px) {
- .head .head-title {
- font-size: 30px;
- }
- }
- </style>
- <!--@formatter:off-->
- {if $background}
- <style type="text/css">
- body {
- background-image: url('{$background}');
- background-image: url("./img/bg.jpg");
- filter: brightness(1.2); /* 调整亮度 */
- }
- </style>
- {/if}
- <!--@formatter:on-->
- <script>
- // 禁止页面缩放
- document.addEventListener('wheel', function(e) {
- if (e.ctrlKey) {
- e.preventDefault();
- }
- }, { passive: false });
- // 禁止触摸缩放
- document.addEventListener('gesturestart', function(e) {
- e.preventDefault();
- });
- document.addEventListener('gesturechange', function(e) {
- e.preventDefault();
- });
- document.addEventListener('gestureend', function(e) {
- e.preventDefault();
- });
- </script>
- </head>
- <body>
- <div class="head">
- <p class="head-title">浙江新华数码印务有限公司</p>
- </div>
- <div class="login-wrapper">
- <div class="login-screen">
- <p class="head-title-logo">生产经营驾驶舱系统</p>
- <div>
- <div class="login-form">
- <p id="profile-name" class="profile-name-card"></p>
- <form action="" method="post" id="login-form">
- <!--@AdminLoginFormBegin-->
- <div id="errtips" class="hide"></div>
- {:token()}
- <div class="input-group">
- <div class="input-group-addon">
- <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
- </div>
- <input type="text" class="form-control" id="pd-form-username" placeholder="{:__('Username')}" name="username" autocomplete="off" value="" data-rule="{:__('Username')}:required;username"/>
- </div>
- <div class="input-group">
- <div class="input-group-addon">
- <span class="glyphicon glyphicon-lock" aria-hidden="true"></span>
- </div>
- <input type="password" class="form-control" id="pd-form-password" placeholder="{:__('Password')}" name="password" autocomplete="off" value="" data-rule="{:__('Password')}:required;password"/>
- </div>
- {if $Think.config.fastadmin.login_captcha}
- <div class="input-group">
- <div class="input-group-addon">
- <span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span>
- </div>
- <input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length({$Think.config.captcha.length})" autocomplete="off"/>
- <span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">
- <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>
- </span>
- </div>
- {/if}
- <div class="form-group">
- <button type="submit" class="btn btn-success btn-lg btn-block" style="margin-top: 6px;">登录</button>
- </div>
- <!--@AdminLoginFormEnd-->
- </form>
- </div>
- </div>
- </div>
- </div>
- <div class="footer">
- <p>Copyright @ 浙江易盒包装科技有限公司 2023-{:date('Y',time())} 版权所有 <a href="https://beian.miit.gov.cn" target="_blank">{$site.beian|htmlentities}</a></p>
- </div>
- {include file="common/script" /}
- </body>
- </html>
|