page.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <template>
  2. <div class="jbd-login-page-bg">
  3. <el-container class="login-container" @keyup.enter="handleLogin">
  4. <div class="official">
  5. <a href="https://www.mingjiantech.com" target="_blank">官网首页</a>
  6. </div>
  7. <el-main style="width: 80%; height: 100%; overflow: hidden; border: 0px">
  8. <div class="login-border">
  9. <div class="login-main animated fadeIn jbd-login-page-main">
  10. <!-- <span>{{ $t('login.userLogin') }}</span> -->
  11. <div class="logo-box" style="width: 100%; margin: -0.0625rem">
  12. <p>
  13. <img src="../../../assets/images/login/bg.png" style="height: 80px; width: 387px; background-size: 100% 100%" />
  14. </p>
  15. <p class="txt">欢迎登录·明鉴细胞检测实验室信息管理系统</p>
  16. </div>
  17. <ibps-api-base-url-controller v-if="$nodeEnv === 'development'">
  18. <el-tooltip effect="dark" :content="$t('navbar.switchEnvironment')" placement="bottom">
  19. <el-button type="text" class="ibps-fr ibps-mr-5 btn-text can-hover">
  20. <ibps-icon name="wifi" style="font-size: 18px" />
  21. </el-button>
  22. </el-tooltip>
  23. </ibps-api-base-url-controller>
  24. <user-login />
  25. <login-bottom />
  26. </div>
  27. </div>
  28. </el-main>
  29. <el-footer style="width: 100%" height="40px">
  30. <div class="footer">
  31. <hr />
  32. <span style="display: flex; justify-content: space-between">
  33. <a><i class="el-icon-s-platform" /> 深圳市金源信通科技有限公司开发</a>
  34. <a href="https://beian.miit.gov.cn" target="_blank">粤ICP备2022077950号</a>
  35. <a></a>
  36. </span>
  37. </div>
  38. </el-footer>
  39. </el-container>
  40. </div>
  41. </template>
  42. <script>
  43. import '@/assets/styles/pages/login.scss'
  44. import LoginBottom from './login-bottom'
  45. import UserLogin from './user-login'
  46. import IbpsPluginLanguage from '@/plugins/language'
  47. import IbpsApiBaseUrlController from '@/plugins/api-base-url'
  48. export default {
  49. name: 'login',
  50. components: {
  51. LoginBottom,
  52. UserLogin,
  53. IbpsPluginLanguage,
  54. IbpsApiBaseUrlController
  55. },
  56. data() {
  57. const date = new Date()
  58. return {
  59. activeName: 'user',
  60. year: date.getFullYear()
  61. }
  62. },
  63. methods: {
  64. handleLogin() {}
  65. }
  66. }
  67. </script>
  68. <style lang="scss">
  69. .jbd-login-page-bg {
  70. margin-top: 0px;
  71. height: 100%;
  72. width: 100%;
  73. background-color: #f0f3f5;
  74. //background-image: url("../../../assets/images/login/MJ02.jpg");
  75. //background-repeat:no-repeat;
  76. //background-size:100% ;
  77. }
  78. .jbd-login-page-main {
  79. //margin-top: 140px;
  80. //margin-right: 40%;
  81. margin-bottom: 20px;
  82. //box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
  83. padding: 30px;
  84. height: 400px;
  85. width: 460px;
  86. //background-image: url('../../../assets/images/login/03.png');
  87. background-size: 100%;
  88. background-repeat: no-repeat;
  89. //border-radius: 5%;
  90. //box-sizing: border-box;
  91. // border: solid black;
  92. //opacity:0.9;
  93. }
  94. .logo-box {
  95. width: 460px;
  96. height: 120px;
  97. margin: 0;
  98. //margin: 150px auto;
  99. position: relative;
  100. }
  101. .txt {
  102. font-family: '微软雅黑';
  103. font-size: 20px;
  104. line-height: 24px;
  105. font-weight: bold;
  106. color: grey;
  107. text-align: center;
  108. }
  109. .backindex {
  110. text-align: right;
  111. padding-right: 45px;
  112. }
  113. .backindexText {
  114. font-family: '微软雅黑';
  115. font-size: 16px;
  116. line-height: 16px;
  117. font-weight: bold;
  118. color: #a73a3a;
  119. }
  120. // .jbd-login-page-main-img {
  121. // /* box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); */
  122. // margin-top: 70px;
  123. // height: 520px;
  124. // width: 650px;
  125. // margin-right: 3%;
  126. // background-image: url('../../../assets/images/login/MJ_login0.jpg');
  127. // background-size: 100%;
  128. // background-repeat: no-repeat;
  129. // }
  130. .footer {
  131. font-size: 12px;
  132. text-align: center;
  133. a {
  134. // color: #000;
  135. width: 200px;
  136. color: #8c92a4;
  137. }
  138. }
  139. .official {
  140. margin-left: 10px;
  141. font-size: 26px;
  142. font-weight: bold;
  143. position: fixed;
  144. left: 0;
  145. top: 0;
  146. a {
  147. // color: #8c92a4;
  148. color: black;
  149. }
  150. }
  151. </style>