Rap 原分销系统代码Web
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

226 lignes
4.9KB

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