page.vue 7.0 KB

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