loginRegister.vue 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. <template>
  2. <div class="login-register">
  3. <div class="login-register-box">
  4. <div class="title">
  5. <div class="title-logo">
  6. <img src="https://file-node.oss-cn-shanghai.aliyuncs.com/youji/3156449b8a1a4874981b2a76d5947721"
  7. alt="logo.png">
  8. <div>
  9. <div class="title-name">有极物业管理平台</div>
  10. <div class="title-sub-name">SMART BUILDING ASSET OPERATION PLATFORM</div>
  11. </div>
  12. </div>
  13. </div>
  14. <div class="content">
  15. <div class="content-left">
  16. <div class="content-title">
  17. <div class="sub-title">有极物业管理平台</div>
  18. <div class="small-title">
  19. <span>运营维护</span>
  20. <span class="line"></span>
  21. <span>招商引资</span>
  22. </div>
  23. </div>
  24. <div class="content-image"></div>
  25. </div>
  26. <div class="content-right">
  27. <transition name="slide-fade" mode="out-in">
  28. <router-view :key="key" />
  29. </transition>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </template>
  35. <script>
  36. export default {
  37. name: 'login',
  38. data() {
  39. return {};
  40. },
  41. created() {},
  42. methods: {},
  43. computed: {
  44. key() {
  45. return this.$route.path;
  46. }
  47. }
  48. };
  49. </script>
  50. <style lang="scss">
  51. .login-register {
  52. width: 100%;
  53. height: 100%;
  54. background: url(https://file-node.oss-cn-shanghai.aliyuncs.com/youji/8ead21d2c7464ae99745e93f5a17e4d3) no-repeat;
  55. background-size: 100% 100%;
  56. overflow: auto;
  57. .login-register-box {
  58. width: 100%;
  59. height: 100%;
  60. display: flex;
  61. flex-direction: column;
  62. min-width: 1300px;
  63. min-height: 800px;
  64. }
  65. .title {
  66. height: 64px;
  67. background: rgba(255, 255, 255, 0.36);
  68. box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
  69. padding-left: 46px;
  70. display: flex;
  71. align-items: center;
  72. .title-logo {
  73. width: 245px;
  74. height: 34px;
  75. margin-right: 74px;
  76. display: flex;
  77. align-items: center;
  78. color: #484B50;
  79. }
  80. .title-sub-name {
  81. font-size: 12px;
  82. transform: scale(0.68) translateX(-66px);
  83. width: 282px;
  84. opacity: 0.75;
  85. }
  86. .title-name {
  87. font-family: hanyiyaku;
  88. font-size: 16px;
  89. line-height: 22px;
  90. }
  91. .title-logo img {
  92. width: 34px;
  93. height: 34px;
  94. margin-right: 10px;
  95. border-radius: 5px;
  96. }
  97. }
  98. .content {
  99. flex: 1;
  100. height: 0;
  101. width: 100%;
  102. overflow: auto;
  103. display: flex;
  104. align-items: center;
  105. justify-content: center;
  106. .content-image {
  107. width: 640px;
  108. height: 440px;
  109. background: url(https://file-node.oss-cn-shanghai.aliyuncs.com/youji/2fdedc8660e146b7bb003ce85dedea5f) no-repeat;
  110. background-size: 100% 100%;
  111. }
  112. .content-left {
  113. width: 910px;
  114. display: flex;
  115. flex-direction: column;
  116. padding-left: 90px;
  117. }
  118. .content-right {
  119. width: 400px;
  120. display: flex;
  121. align-items: center;
  122. }
  123. .content-title {
  124. margin-bottom: 64px;
  125. }
  126. .sub-title {
  127. font-weight: 600;
  128. font-size: 31px;
  129. color: #484B50;
  130. line-height: 44px;
  131. text-align: left;
  132. font-style: normal;
  133. margin-bottom: 10px;
  134. }
  135. .small-title {
  136. font-weight: 400;
  137. font-size: 16px;
  138. color: #333E4D;
  139. line-height: 22px;
  140. text-align: left;
  141. font-style: normal;
  142. display: flex;
  143. align-items: center;
  144. .line {
  145. margin: 0 20px;
  146. width: 1px;
  147. height: 16px;
  148. background: #CBE0FF;
  149. }
  150. }
  151. }
  152. }
  153. .login-box {
  154. width: 440px;
  155. background: #FFFFFF;
  156. box-shadow: 0px 4px 16px 0px rgba(164, 178, 203, 0.15);
  157. border-radius: 8px;
  158. border: 0px solid #FFFFFF;
  159. .get-code-btn {
  160. position: absolute;
  161. font-size: 16px;
  162. color: #3371FF;
  163. height: 52px;
  164. line-height: 52px;
  165. top: 0;
  166. right: 16px;
  167. padding: 0 16px;
  168. cursor: pointer;
  169. }
  170. .get-code-btn-disabled {
  171. color: #BEBEBE;
  172. }
  173. .login-title {
  174. padding: 62px 52px 48px 52px;
  175. }
  176. .register {
  177. text-align: center;
  178. color: #333E4D;
  179. line-height: 20px;
  180. padding: 20px;
  181. span {
  182. cursor: pointer;
  183. color: $--color-primary;
  184. }
  185. }
  186. .login-title-value {
  187. font-weight: 600;
  188. font-size: 28px;
  189. color: #333E4D;
  190. line-height: 40px;
  191. text-align: left;
  192. font-style: normal;
  193. margin-bottom: 16px;
  194. }
  195. .login-title-line {
  196. width: 80px;
  197. height: 5px;
  198. background: #E3E7EE;
  199. }
  200. .login-form {
  201. padding: 0 52px;
  202. border-bottom: 1px solid #EDEFF2;
  203. input:-webkit-autofill {
  204. box-shadow: 0 0 0 30px #fff inset !important;
  205. -webkit-text-fill-color: #333E4D !important;
  206. background-color: #fff !important;
  207. transition: background-color 5000s ease-in-out 0s;
  208. }
  209. .el-form {
  210. display: block;
  211. .el-form-item {
  212. width: 100%;
  213. padding: 0;
  214. margin-bottom: 28px;
  215. position: relative;
  216. }
  217. .el-input__inner {
  218. border-radius: 4px;
  219. border: 1px solid #EDEFF2;
  220. background: transparent;
  221. color: #333E4D;
  222. padding: 15px 15px 15px 63px;
  223. height: 52px;
  224. line-height: 52px;
  225. font-size: 16px;
  226. }
  227. .el-form-item.is-error .el-input__inner,
  228. .el-form-item.is-error .el-input__inner:focus,
  229. .el-form-item.is-error .el-textarea__inner,
  230. .el-form-item.is-error .el-textarea__inner:focus {
  231. border-color: $--color-red;
  232. }
  233. .el-form-item__error {
  234. color: $--color-red;
  235. }
  236. .el-input__inner::placeholder,
  237. .el-range-input::placeholder,
  238. .el-textarea__inner::placeholder {
  239. color: $--color-common;
  240. }
  241. .el-input__icon,
  242. .el-range-separator {
  243. line-height: 52px;
  244. font-size: 16px;
  245. }
  246. .el-input__prefix {
  247. left: 16px;
  248. }
  249. .el-input__prefix::before {
  250. content: '';
  251. top: 16px;
  252. right: -16px;
  253. height: 21px;
  254. width: 1px;
  255. background-color: #EDEFF2;
  256. position: absolute;
  257. }
  258. .el-input__icon.iconfont {
  259. font-size: 20px;
  260. color: #4d5e79;
  261. }
  262. .el-input__icon.huifont-mima {
  263. opacity: 0.95;
  264. margin-left: 2px;
  265. }
  266. }
  267. .forget-box {
  268. width: 100%;
  269. display: flex;
  270. justify-content: space-between;
  271. align-items: center;
  272. margin-bottom: 50px;
  273. .forget {
  274. color: #5D6C82;
  275. cursor: pointer;
  276. }
  277. .forget:hover {
  278. color: $--color-primary;
  279. }
  280. .el-checkbox__inner {
  281. border-color: #EDEFF2;
  282. }
  283. .el-checkbox__label {
  284. color: #333E4D;
  285. padding-left: 8px;
  286. }
  287. .el-checkbox.is-checked .el-checkbox__inner {
  288. border-color: $--color-primary;
  289. }
  290. .el-checkbox:hover {
  291. .el-checkbox__label {
  292. color: $--color-primary;
  293. }
  294. .el-checkbox__inner {
  295. border-color: $--color-primary;
  296. }
  297. }
  298. }
  299. .el-button {
  300. width: 100%;
  301. margin-bottom: 60px;
  302. font-weight: 600;
  303. font-size: 20px;
  304. color: #FFFFFF;
  305. line-height: 28px;
  306. }
  307. }
  308. .image-item {
  309. .el-form-item__content {
  310. display: flex;
  311. }
  312. .el-input {
  313. width: 190px;
  314. margin-right: 12px;
  315. }
  316. .code-image {
  317. width: 131px;
  318. height: 50px;
  319. cursor: pointer;
  320. }
  321. }
  322. }
  323. .login-register::-webkit-scrollbar-thumb {
  324. background: #d4d4d4;
  325. }
  326. </style>