home-skeleton.wxss 993 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .home-skeleton {
  2. position: fixed;
  3. background: white;
  4. height: 100%;
  5. height: 100%;
  6. z-index: 1000000000000;
  7. }
  8. .home-skeleton.hidden {
  9. z-index: 0;
  10. }
  11. .home-page {
  12. position: relative;
  13. z-index: 1;
  14. }
  15. .home-skeleton view{
  16. margin: 20rpx;
  17. background: #eeeeee;
  18. /* position: absolute; */
  19. border-radius: 8rpx;
  20. animation-duration: 2s;
  21. animation-name: shine;
  22. animation-iteration-count: infinite;
  23. }
  24. @keyframes shine {
  25. 0% {
  26. opacity: .4;
  27. }
  28. 50% {
  29. opacity: 1;
  30. }
  31. 100% {
  32. opacity: .4;
  33. }
  34. }
  35. .home-skeleton-swiper {
  36. height: 150px;
  37. }
  38. .home-skeleton-magic {
  39. display: flex;
  40. flex-wrap: wrap;
  41. justify-content: space-around;
  42. }
  43. .home-skeleton .home-skeleton-magic {
  44. background: transparent;
  45. }
  46. .home-skeleton-magic .jgc {
  47. width: 100rpx;
  48. height: 100rpx;
  49. flex-wrap: wrap;
  50. }
  51. .home-skeleton-img {
  52. height: 100rpx;
  53. }
  54. .home-skeleton-magic .hd {
  55. flex: 1;
  56. height: 140rpx;
  57. margin: 0;
  58. }
  59. .home-skeleton-magic .hd:first-child {
  60. margin-right: 20rpx;
  61. }