list.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /* 游戏列表 */
  2. .wrap {
  3. }
  4. .wrap_cell {
  5. padding: 0 40rpx;
  6. overflow: hidden;
  7. position: relative;
  8. }
  9. .wrap_cell::before {
  10. content: '';
  11. width: 548rpx;
  12. height: 1px;
  13. background-color: #e6e6e6;
  14. position: absolute;
  15. bottom: 0;
  16. right: 34rpx;
  17. }
  18. .wrap_main {
  19. padding: 34rpx 0;
  20. overflow: hidden;
  21. }
  22. .wrap_icon {
  23. width: 130rpx;
  24. height: 130rpx;
  25. overflow: hidden;
  26. border-radius: 24rpx;
  27. margin-right: 22rpx;
  28. float: left;
  29. }
  30. .wrap_icon image {
  31. width: 100%;
  32. height: 100%;
  33. display: block;
  34. }
  35. .wrap_info {
  36. float: left;
  37. width: 380rpx;
  38. height: 130rpx;
  39. display: flex;
  40. align-items: flex-start;
  41. justify-content: space-between;
  42. flex-direction: column;
  43. }
  44. .wrap_info .reward {
  45. padding: 0 10rpx;
  46. height: 36rpx;
  47. background: #FF1A19;
  48. border-radius: 18rpx 18rpx 18rpx 0;
  49. font-size: 19rpx;
  50. font-weight: 400;
  51. color: #FFFFFF;
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. margin-left: 15rpx;
  56. }
  57. .wrap_info .name {
  58. font-size: 32rpx;
  59. font-weight: 700;
  60. color: #333;
  61. line-height: 45rpx;
  62. display: flex;
  63. align-items: center;
  64. }
  65. .wrap_info .des {
  66. width: 370rpx;
  67. overflow: hidden;
  68. text-overflow: ellipsis;
  69. white-space: nowrap;
  70. font-size: 26rpx;
  71. color: #8b8b8b;
  72. line-height: 37rpx;
  73. }
  74. .wrap_info .num {
  75. font-size: 24rpx;
  76. color: #e05b10;
  77. line-height: 33rpx;
  78. }
  79. .wrap_btn {
  80. position: absolute;
  81. right: 49rpx;
  82. width: 134RPX;
  83. height: 130rpx;
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. }
  88. .reward {
  89. overflow: hidden;
  90. position: relative;
  91. }
  92. .reward::after {
  93. animation: lights 1.5s ease-in 0s infinite;
  94. background-color: rgba(255, 255, 255, 0.5);
  95. content: '';
  96. filter: blur(4rpx);
  97. height: 360%;
  98. left: -20rpx;
  99. position: absolute;
  100. top: -30%;
  101. transform: rotate(-30deg) translateX(-14rpx);
  102. width: 14rpx;
  103. }
  104. @keyframes lights {
  105. from {
  106. transform: rotate(-30deg) translateX(-14rpx);
  107. }
  108. to {
  109. transform: rotate(-30deg) translateX(90rpx);
  110. }
  111. }