index.html 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {extend name="index/index"}
  2. {block name="body"}
  3. <style>
  4. .login-container{
  5. background: linear-gradient(135deg, #393D4A 0%, #282B33 100%);
  6. }
  7. .login-container form{
  8. padding: 50px;
  9. margin-left: -200px;
  10. background: #FFFFFF;
  11. border-radius: 20px;
  12. }
  13. .login-container form ul li button{
  14. background: #DC0619 !important;
  15. border-radius: 33px !important;
  16. color: #fff !important;
  17. }
  18. .login-container form ul li input{
  19. background: #FFFFFF;
  20. border-radius: 2px;
  21. border: 2px solid #D1D1D1;
  22. text-shadow:none !important;
  23. letter-spacing:0px !important;
  24. color: #ccc !important;
  25. -webkit-text-fill-color:#000 !important;
  26. box-shadow:none !important;
  27. color: #000 !important;
  28. }
  29. .lo{
  30. width: 100%;
  31. }
  32. h3{
  33. text-align: center;
  34. font-size: 16px;
  35. margin: 30px 0;
  36. }
  37. input[placeholder], [placeholder], *[placeholder] { color:#ccc !important; }
  38. </style>
  39. <div class="login-container" data-supersized="__ROOT__/static/theme/img/login/bg1.jpg,__ROOT__/static/theme/img/login/bg2.jpg">
  40. <div class="header notselect layui-hide-xs">
  41. {notempty name='devmode'}
  42. <a class="pull-right layui-anim layui-anim-fadein" href='https://gitee.com/zoujingli/ThinkAdmin'>
  43. <img src='https://gitee.com/zoujingli/ThinkAdmin/widgets/widget_1.svg' alt='Fork me on Gitee'>
  44. </a>
  45. {/notempty}
  46. </div>
  47. <form data-login-form onsubmit="return false" method="post" class="layui-anim layui-anim-upbit" autocomplete="off">
  48. <img src="__ROOT__/static/cc.png" class="lo"/>
  49. <h3>目标成本分析系统</h3>
  50. <h3>登录</h3>
  51. <ul>
  52. <li class="username">
  53. <label>
  54. <i class="layui-icon layui-icon-username" style="text-shadow:none !important;color: #D1D1D1 !important;"></i>
  55. <input class="layui-input" required pattern="^\S{4,}$" name="username" autofocus autocomplete="off" placeholder="登录账号" title="请输入登录账号" style="-webkit-text-fill-color:#000 !important;box-shadow:none !important; ">
  56. </label>
  57. </li>
  58. <li class="password">
  59. <label>
  60. <i class="layui-icon layui-icon-password" style="text-shadow:none !important;color: #D1D1D1 !important;"></i>
  61. <input class="layui-input" required pattern="^\S{4,}$" name="password" maxlength="32" type="password" autocomplete="off" placeholder="登录密码" title="请输入登录密码" style="-webkit-text-fill-color:#000 !important;box-shadow:none !important; ">
  62. </label>
  63. </li>
  64. <li class="verify layui-hide">
  65. <label class="inline-block relative">
  66. <i class="layui-icon layui-icon-picture-fine"></i>
  67. <input class="layui-input" required pattern="^\S{4,}$" name="verify" maxlength="4" autocomplete="off" placeholder="验证码" title="请输入验证码">
  68. </label>
  69. <label data-captcha="{:url('admin/login/captcha',[],false)}" data-field-verify="verify" data-field-uniqid="uniqid" data-captcha-type="{$captcha_type}" data-captcha-token="{$captcha_token}"></label>
  70. </li>
  71. <li class="text-center padding-top-20">
  72. <button type="submit" class="layui-btn layui-disabled full-width" data-form-loaded="登录">正在载入</button>
  73. </li>
  74. </ul>
  75. </form>
  76. <div class="footer notselect">
  77. <p class="layui-hide-xs"><a target="_blank" href="#">鲁ICP备2021010683号-1</a></p>
  78. </div>
  79. </div>
  80. {/block}
  81. {block name='style'}
  82. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
  83. <script>if (location.href.indexOf('#') > -1) location.replace(location.href.split('#')[0])</script>
  84. <link rel="stylesheet" href="__ROOT__/static/theme/css/login.css">
  85. {/block}
  86. {block name='script'}
  87. <script src="__ROOT__/static/login.js"></script>
  88. <script src="__ROOT__/static/plugs/supersized/supersized.3.2.7.min.js"></script>
  89. {/block}