404.vue 5.1 KB

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