loadAnimation.wxss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /* components/template/loadAnimation/loadAnimation.wxss */
  2. .t20 {
  3. margin-top: 20rpx;
  4. }
  5. .t36 {
  6. margin-top: 36rpx;
  7. }
  8. .t50 {
  9. margin-top: 50rpx;
  10. }
  11. .t60 {
  12. margin-top: 60rpx;
  13. }
  14. .bacf7f8fa {
  15. background: #f7f8fa;
  16. }
  17. .load-container {
  18. position: fixed;
  19. left: 0;
  20. right: 0;
  21. top: 0;
  22. bottom: 0;
  23. z-index: 998;
  24. background: #fff;
  25. }
  26. .big-img {
  27. height: 750rpx;
  28. }
  29. .content-wrap {
  30. padding: 0 30rpx;
  31. margin-top: 50rpx;
  32. }
  33. .full-line {
  34. height: 70rpx;
  35. }
  36. .normal-line {
  37. height: 70rpx;
  38. margin-right: 130rpx;
  39. }
  40. .short-line {
  41. height: 30rpx;
  42. }
  43. .large-line {
  44. height: 120rpx;
  45. }
  46. .animation_line {
  47. animation-duration: 1s;
  48. animation-fill-mode: forwards;
  49. animation-iteration-count: infinite;
  50. animation-name: placeHolderShimmer;
  51. animation-timing-function: linear;
  52. background: #f7f7f7;
  53. background: -webkit-gradient(linear, left top, right top, color-stop(8%, #f7f7f7), color-stop(18%, #DEE3E5), color-stop(33%, #f7f7f7));
  54. background: linear-gradient(to right, #f7f7f7 8%, #DEE3E5 18%, #f7f7f7 33%);
  55. background-size: 900px 4px;
  56. position: relative;
  57. overflow: hidden;
  58. }
  59. @keyframes placeHolderShimmer {
  60. 0% {
  61. background-position: -468px 0;
  62. }
  63. 100% {
  64. background-position: 468px 0;
  65. }
  66. }
  67. .animation_shopcart {
  68. display: flex;
  69. height: 160rpx;
  70. padding: 20rpx 30rpx;
  71. }
  72. .left_shopcart {
  73. width: 160rpx;
  74. height: 160rpx;
  75. margin-right: 30rpx;
  76. }
  77. .right_shopcart {
  78. flex: 1;
  79. }