noPermission.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <template>
  2. <div class="wscn-http404-container">
  3. <div class="wscn-http404">
  4. <!-- <div class="pic-404">
  5. <img src="./midheaderlogo.png" alt="" />
  6. </div> -->
  7. <div class="bullshit">
  8. <div class="bullshit__oops">该账户无权登录!</div>
  9. <!-- <div class="bullshit__headline">该账户无权登录!</div> -->
  10. <div class="bullshit__info">对不起,您的账号无权登录系统。请联系系统管理员进行授权。</div>
  11. <div class="bullshit__btn">
  12. <div class="bullshit__btn-return-home" id="returnHomeBtn" @click="go">返回重新登陆</div>
  13. </div>
  14. </div>
  15. </div>
  16. </div>
  17. </template>
  18. <script setup>
  19. function go() {
  20. window.location.href = "https://cloud.qdpi.net.cn";
  21. }
  22. </script>
  23. <style lang="scss" scoped>
  24. .wscn-http404-container {
  25. transform: translate(-50%, -50%);
  26. position: absolute;
  27. top: 40%;
  28. left: 50%;
  29. }
  30. .wscn-http404 {
  31. position: relative;
  32. width: 1200px;
  33. padding: 0 50px;
  34. overflow: hidden;
  35. display: flex;
  36. flex-direction: column;
  37. align-items: center;
  38. }
  39. .wscn-http404 .pic-404 {
  40. position: relative;
  41. float: left;
  42. width: 600px;
  43. overflow: hidden;
  44. display: flex;
  45. justify-content: center;
  46. }
  47. .wscn-http404 .pic-404 img {
  48. width: 120px;
  49. height: 120px;
  50. }
  51. .wscn-http404 .pic-404__parent {
  52. width: 100%;
  53. }
  54. .wscn-http404 .pic-404__child {
  55. position: absolute;
  56. }
  57. .wscn-http404 .pic-404__child.left {
  58. width: 80px;
  59. top: 17px;
  60. left: 220px;
  61. opacity: 0;
  62. animation-name: cloudLeft;
  63. animation-duration: 2s;
  64. animation-timing-function: linear;
  65. animation-fill-mode: forwards;
  66. animation-delay: 1s;
  67. }
  68. .wscn-http404 .pic-404__child.mid {
  69. width: 46px;
  70. top: 10px;
  71. left: 420px;
  72. opacity: 0;
  73. animation-name: cloudMid;
  74. animation-duration: 2s;
  75. animation-timing-function: linear;
  76. animation-fill-mode: forwards;
  77. animation-delay: 1.2s;
  78. }
  79. .wscn-http404 .pic-404__child.right {
  80. width: 62px;
  81. top: 100px;
  82. left: 500px;
  83. opacity: 0;
  84. animation-name: cloudRight;
  85. animation-duration: 2s;
  86. animation-timing-function: linear;
  87. animation-fill-mode: forwards;
  88. animation-delay: 1s;
  89. }
  90. @keyframes cloudLeft {
  91. 0% {
  92. top: 17px;
  93. left: 220px;
  94. opacity: 0;
  95. }
  96. 20% {
  97. top: 33px;
  98. left: 188px;
  99. opacity: 1;
  100. }
  101. 80% {
  102. top: 81px;
  103. left: 92px;
  104. opacity: 1;
  105. }
  106. 100% {
  107. top: 97px;
  108. left: 60px;
  109. opacity: 0;
  110. }
  111. }
  112. @keyframes cloudMid {
  113. 0% {
  114. top: 10px;
  115. left: 420px;
  116. opacity: 0;
  117. }
  118. 20% {
  119. top: 40px;
  120. left: 360px;
  121. opacity: 1;
  122. }
  123. 70% {
  124. top: 130px;
  125. left: 180px;
  126. opacity: 1;
  127. }
  128. 100% {
  129. top: 160px;
  130. left: 120px;
  131. opacity: 0;
  132. }
  133. }
  134. @keyframes cloudRight {
  135. 0% {
  136. top: 100px;
  137. left: 500px;
  138. opacity: 0;
  139. }
  140. 20% {
  141. top: 120px;
  142. left: 460px;
  143. opacity: 1;
  144. }
  145. 80% {
  146. top: 180px;
  147. left: 340px;
  148. opacity: 1;
  149. }
  150. 100% {
  151. top: 200px;
  152. left: 300px;
  153. opacity: 0;
  154. }
  155. }
  156. .wscn-http404 .bullshit {
  157. position: relative;
  158. float: left;
  159. padding: 30px 0;
  160. overflow: hidden;
  161. text-align: center;
  162. }
  163. .wscn-http404 .bullshit__oops {
  164. font-size: 32px;
  165. font-weight: bold;
  166. line-height: 40px;
  167. color: #1482f0;
  168. opacity: 0;
  169. margin-bottom: 20px;
  170. animation-name: slideUp;
  171. animation-duration: 0.5s;
  172. animation-fill-mode: forwards;
  173. }
  174. .wscn-http404 .bullshit__headline {
  175. font-size: 20px;
  176. line-height: 24px;
  177. color: #222;
  178. font-weight: bold;
  179. opacity: 0;
  180. margin-bottom: 10px;
  181. animation-name: slideUp;
  182. animation-duration: 0.5s;
  183. animation-delay: 0.1s;
  184. animation-fill-mode: forwards;
  185. }
  186. .wscn-http404 .bullshit__info {
  187. font-size: 13px;
  188. line-height: 21px;
  189. color: grey;
  190. opacity: 0;
  191. margin-bottom: 30px;
  192. animation-name: slideUp;
  193. animation-duration: 0.5s;
  194. animation-delay: 0.2s;
  195. animation-fill-mode: forwards;
  196. }
  197. .wscn-http404 .bullshit__btn {
  198. display: flex;
  199. justify-content: center;
  200. }
  201. .wscn-http404 .bullshit__btn-return-home {
  202. display: block;
  203. width: 110px;
  204. height: 36px;
  205. background: #1482f0;
  206. border-radius: 100px;
  207. text-align: center;
  208. color: #ffffff;
  209. opacity: 0;
  210. font-size: 14px;
  211. line-height: 36px;
  212. cursor: pointer;
  213. animation-name: slideUp;
  214. animation-duration: 0.5s;
  215. animation-delay: 0.3s;
  216. animation-fill-mode: forwards;
  217. }
  218. @keyframes slideUp {
  219. 0% {
  220. transform: translateY(60px);
  221. opacity: 0;
  222. }
  223. 100% {
  224. transform: translateY(0);
  225. opacity: 1;
  226. }
  227. }
  228. </style>