loading.wxss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .oout-view{
  2. width:100%;
  3. position:fixed;
  4. z-index:99999;
  5. top:0;
  6. left:0;
  7. bottom:0;
  8. right:0;
  9. }
  10. .out-view{
  11. background-color:#333333;
  12. position:fixed;
  13. top:36%;
  14. width:260rpx;
  15. height:260rpx;
  16. z-index:999999;
  17. margin-left:calc((100% - 260rpx)/ 2);
  18. border-radius: 0.7rem;
  19. text-align: center;
  20. opacity:1;
  21. }
  22. /* load1 */
  23. .load1 {
  24. width: 100%;
  25. display: block;
  26. }
  27. .load1 > div {
  28. /* background-color: red; */
  29. height: 100rpx;
  30. opacity:1;
  31. width: 12rpx;
  32. margin-left: 0.3rem;
  33. margin-top: calc((100% - 100rpx)/2 - 36rpx);
  34. display: inline-block;
  35. -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
  36. animation: stretchdelay 1.2s infinite ease-in-out;
  37. }
  38. .load1 .rect1{
  39. margin-left: 0;
  40. background-color:#d9001b;
  41. }
  42. .load1 .rect2 {
  43. background-color:#d9001b;
  44. -webkit-animation-delay: -1.1s;
  45. animation-delay: -1.1s;
  46. }
  47. .load1 .rect3 {
  48. background-color:#d9001b;
  49. -webkit-animation-delay: -1.0s;
  50. animation-delay: -1.0s;
  51. }
  52. .load1 .rect4 {
  53. background-color:#d9001b;
  54. -webkit-animation-delay: -0.9s;
  55. animation-delay: -0.9s;
  56. }
  57. .load1 .rect5 {
  58. background-color:#d9001b;
  59. -webkit-animation-delay: -0.8s;
  60. animation-delay: -0.8s;
  61. }
  62. .load1 .rect6 {
  63. background-color:#d9001b;
  64. -webkit-animation-delay: -0.7s;
  65. animation-delay: -0.7s;
  66. }
  67. .load1 .rect7 {
  68. background-color:#d9001b;
  69. -webkit-animation-delay: -0.6s;
  70. animation-delay: -0.6s;
  71. }
  72. .load1 .rect8 {
  73. background-color:#d9001b;
  74. -webkit-animation-delay: -0.5s;
  75. animation-delay: -0.5s;
  76. }
  77. @-webkit-keyframes stretchdelay {
  78. 0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
  79. 20% { -webkit-transform: scaleY(1.0) }
  80. }
  81. @keyframes stretchdelay {
  82. 0%, 40%, 100% {
  83. transform: scaleY(0.4);
  84. -webkit-transform: scaleY(0.4);
  85. } 20% {
  86. transform: scaleY(1.0);
  87. -webkit-transform: scaleY(1.0);
  88. }
  89. }