404.vue 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <template>
  2. <div class="wscn-http404-container">
  3. <div class="wscn-http404">
  4. 404
  5. </div>
  6. </div>
  7. </template>
  8. <script>
  9. export default {
  10. name: 'Page404',
  11. computed: {
  12. message() {
  13. return 'The webmaster said that you can not enter this page...'
  14. }
  15. }
  16. }
  17. </script>
  18. <style lang="scss" scoped>
  19. .wscn-http404-container{
  20. transform: translate(-50%,-50%);
  21. position: absolute;
  22. top: 40%;
  23. left: 50%;
  24. }
  25. .wscn-http404 {
  26. position: relative;
  27. width: 1200px;
  28. padding: 0 50px;
  29. overflow: hidden;
  30. .pic-404 {
  31. position: relative;
  32. float: left;
  33. width: 600px;
  34. overflow: hidden;
  35. &__parent {
  36. width: 100%;
  37. }
  38. &__child {
  39. position: absolute;
  40. &.left {
  41. width: 80px;
  42. top: 17px;
  43. left: 220px;
  44. opacity: 0;
  45. animation-name: cloudLeft;
  46. animation-duration: 2s;
  47. animation-timing-function: linear;
  48. animation-fill-mode: forwards;
  49. animation-delay: 1s;
  50. }
  51. &.mid {
  52. width: 46px;
  53. top: 10px;
  54. left: 420px;
  55. opacity: 0;
  56. animation-name: cloudMid;
  57. animation-duration: 2s;
  58. animation-timing-function: linear;
  59. animation-fill-mode: forwards;
  60. animation-delay: 1.2s;
  61. }
  62. &.right {
  63. width: 62px;
  64. top: 100px;
  65. left: 500px;
  66. opacity: 0;
  67. animation-name: cloudRight;
  68. animation-duration: 2s;
  69. animation-timing-function: linear;
  70. animation-fill-mode: forwards;
  71. animation-delay: 1s;
  72. }
  73. @keyframes cloudLeft {
  74. 0% {
  75. top: 17px;
  76. left: 220px;
  77. opacity: 0;
  78. }
  79. 20% {
  80. top: 33px;
  81. left: 188px;
  82. opacity: 1;
  83. }
  84. 80% {
  85. top: 81px;
  86. left: 92px;
  87. opacity: 1;
  88. }
  89. 100% {
  90. top: 97px;
  91. left: 60px;
  92. opacity: 0;
  93. }
  94. }
  95. @keyframes cloudMid {
  96. 0% {
  97. top: 10px;
  98. left: 420px;
  99. opacity: 0;
  100. }
  101. 20% {
  102. top: 40px;
  103. left: 360px;
  104. opacity: 1;
  105. }
  106. 70% {
  107. top: 130px;
  108. left: 180px;
  109. opacity: 1;
  110. }
  111. 100% {
  112. top: 160px;
  113. left: 120px;
  114. opacity: 0;
  115. }
  116. }
  117. @keyframes cloudRight {
  118. 0% {
  119. top: 100px;
  120. left: 500px;
  121. opacity: 0;
  122. }
  123. 20% {
  124. top: 120px;
  125. left: 460px;
  126. opacity: 1;
  127. }
  128. 80% {
  129. top: 180px;
  130. left: 340px;
  131. opacity: 1;
  132. }
  133. 100% {
  134. top: 200px;
  135. left: 300px;
  136. opacity: 0;
  137. }
  138. }
  139. }
  140. }
  141. .bullshit {
  142. position: relative;
  143. float: left;
  144. width: 300px;
  145. padding: 30px 0;
  146. overflow: hidden;
  147. &__oops {
  148. font-size: 32px;
  149. font-weight: bold;
  150. line-height: 40px;
  151. color: #1482f0;
  152. opacity: 0;
  153. margin-bottom: 20px;
  154. animation-name: slideUp;
  155. animation-duration: 0.5s;
  156. animation-fill-mode: forwards;
  157. }
  158. &__headline {
  159. font-size: 20px;
  160. line-height: 24px;
  161. color: #222;
  162. font-weight: bold;
  163. opacity: 0;
  164. margin-bottom: 10px;
  165. animation-name: slideUp;
  166. animation-duration: 0.5s;
  167. animation-delay: 0.1s;
  168. animation-fill-mode: forwards;
  169. }
  170. &__info {
  171. font-size: 13px;
  172. line-height: 21px;
  173. color: grey;
  174. opacity: 0;
  175. margin-bottom: 30px;
  176. animation-name: slideUp;
  177. animation-duration: 0.5s;
  178. animation-delay: 0.2s;
  179. animation-fill-mode: forwards;
  180. }
  181. &__return-home {
  182. display: block;
  183. float: left;
  184. width: 110px;
  185. height: 36px;
  186. background: #1482f0;
  187. border-radius: 100px;
  188. text-align: center;
  189. color: #ffffff;
  190. opacity: 0;
  191. font-size: 14px;
  192. line-height: 36px;
  193. cursor: pointer;
  194. animation-name: slideUp;
  195. animation-duration: 0.5s;
  196. animation-delay: 0.3s;
  197. animation-fill-mode: forwards;
  198. }
  199. @keyframes slideUp {
  200. 0% {
  201. transform: translateY(60px);
  202. opacity: 0;
  203. }
  204. 100% {
  205. transform: translateY(0);
  206. opacity: 1;
  207. }
  208. }
  209. }
  210. }
  211. </style>