loginLayout.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <template>
  2. <div class="login-register">
  3. <div class="title">
  4. <div class="title-logo">
  5. <img src="https://file-node.oss-cn-shanghai.aliyuncs.com/youji/2f7b4bfaf9e64817bc2cb46f3a632b01"
  6. alt="logo.png">
  7. <div class="title-name">WORKARK</div>
  8. </div>
  9. </div>
  10. <div class="content">
  11. <div class="content-left">
  12. <div class="content-title">
  13. <div class="sub-title">WORKARK</div>
  14. <div class="small-title">
  15. <span>项目申报</span>
  16. <span class="line"></span>
  17. <span>知识产权</span>
  18. <span class="line"></span>
  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. </template>
  34. <script>
  35. export default {
  36. name: 'loginLayout',
  37. data() {
  38. return {};
  39. },
  40. computed: {
  41. key() {
  42. return this.$route.path;
  43. }
  44. }
  45. };
  46. </script>
  47. <style lang="scss">
  48. .login-register {
  49. width: 100%;
  50. height: 100%;
  51. background: url(https://file-node.oss-cn-shanghai.aliyuncs.com/youji/8ead21d2c7464ae99745e93f5a17e4d3) no-repeat;
  52. background-size: 100% 100%;
  53. overflow: auto;
  54. display: flex;
  55. flex-direction: column;
  56. min-width: 1300px;
  57. min-height: 800px;
  58. .title {
  59. height: 64px;
  60. background: rgba(255, 255, 255, 0.36);
  61. box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
  62. padding-left: 46px;
  63. display: flex;
  64. align-items: center;
  65. .title-logo {
  66. width: 245px;
  67. height: 34px;
  68. margin-right: 74px;
  69. display: flex;
  70. align-items: center;
  71. color: #484B50;
  72. }
  73. .title-sub-name {
  74. font-size: 12px;
  75. transform: scale(0.68) translateX(-66px);
  76. width: 282px;
  77. opacity: 0.75;
  78. }
  79. .title-name {
  80. font-family: hanyiyaku;
  81. font-size: 16px;
  82. line-height: 22px;
  83. }
  84. .title-logo img {
  85. width: 34px;
  86. height: 34px;
  87. margin-right: 10px;
  88. border-radius: 5px;
  89. }
  90. }
  91. .content {
  92. flex: 1;
  93. height: 0;
  94. width: 100%;
  95. overflow: auto;
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. .content-image {
  100. width: 640px;
  101. height: 440px;
  102. background: url(https://file-node.oss-cn-shanghai.aliyuncs.com/youji/2fdedc8660e146b7bb003ce85dedea5f) no-repeat;
  103. background-size: 100% 100%;
  104. }
  105. .content-left {
  106. width: 910px;
  107. display: flex;
  108. flex-direction: column;
  109. padding-left: 90px;
  110. }
  111. .content-right {
  112. width: 400px;
  113. display: flex;
  114. align-items: center;
  115. }
  116. .content-title {
  117. margin-bottom: 64px;
  118. }
  119. .sub-title {
  120. font-weight: 600;
  121. font-size: 31px;
  122. color: #484B50;
  123. line-height: 44px;
  124. text-align: left;
  125. font-style: normal;
  126. margin-bottom: 10px;
  127. }
  128. .small-title {
  129. font-weight: 400;
  130. font-size: 16px;
  131. color: #333E4D;
  132. line-height: 22px;
  133. text-align: left;
  134. font-style: normal;
  135. display: flex;
  136. align-items: center;
  137. .line {
  138. margin: 0 20px;
  139. width: 1px;
  140. height: 16px;
  141. background: #CBE0FF;
  142. }
  143. }
  144. }
  145. }
  146. </style>