home.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. .special {
  2. min-height: 100vh;
  3. }
  4. .topic-img {
  5. width: 100%;
  6. }
  7. .like {
  8. padding-bottom: 100rpx;
  9. }
  10. .like-list {
  11. position: relative;
  12. padding: 20rpx;
  13. display: flex;
  14. justify-content: space-between;
  15. flex-wrap: wrap;
  16. z-index: 0;
  17. }
  18. .new-comers-item {
  19. background-color: #fff;
  20. width: 345rpx;
  21. box-sizing: border-box;
  22. padding: 30rpx;
  23. border-radius: 10px;
  24. font-size: 28rpx;
  25. margin-bottom: 20rpx;
  26. }
  27. .new-comers-item .new-img {
  28. width: 285rpx;
  29. height: 240rpx;
  30. margin-bottom: 20rpx;
  31. }
  32. .new-comers-item .title {
  33. overflow: hidden;
  34. text-overflow: ellipsis;
  35. white-space: nowrap;
  36. }
  37. .new-comers-item .new-bot {
  38. display: flex;
  39. justify-content: space-between;
  40. align-items: center;
  41. margin-top: 10rpx;
  42. }
  43. .new-comers-item .add-cart {
  44. height: 48rpx;
  45. line-height: 48rpx;
  46. padding: 0 20rpx;
  47. color: #fff;
  48. border-radius: 22rpx;
  49. margin: 0;
  50. background: linear-gradient(270deg, #ff5041 0%, #ff695c 100%);
  51. font-size: 24rpx;
  52. }
  53. .new-comers-item .add-cart.disabled {
  54. background: #ccc;
  55. }
  56. .new-comers-item .price {
  57. color: #ff5041;
  58. }
  59. .new-comers-item {
  60. position: relative;
  61. }
  62. .new-comers-item .act-end {
  63. position: absolute;
  64. height: 60rpx;
  65. border-radius: 10rpx;
  66. background: rgba(0, 0, 0, 0.5);
  67. color: #fff;
  68. font-size: 28rpx;
  69. text-align: center;
  70. line-height: 60rpx;
  71. left: 50%;
  72. top: 120rpx;
  73. padding: 0 12rpx;
  74. transform: translateX(-50%);
  75. }
  76. .none-rush-list {
  77. display: flex;
  78. flex-direction: column;
  79. align-items: center;
  80. justify-content: center;
  81. padding-bottom: 140rpx;
  82. padding-top: 140rpx;
  83. }
  84. .none-rush-list .img-block {
  85. width: 240rpx;
  86. height: 240rpx;
  87. margin-bottom: 30rpx;
  88. }
  89. .none-rush-list .h1 {
  90. font-size: 32rpx;
  91. line-height: 32rpx;
  92. color: #444;
  93. margin-bottom: 20rpx;
  94. }
  95. .none-rush-list .h2 {
  96. font-size: 24rpx;
  97. line-height: 24rpx;
  98. color: #aaa;
  99. }
  100. /* 数量加减 */
  101. .like-list .index-input-number {
  102. position: absolute;
  103. right: 20rpx;
  104. bottom: 0;
  105. display: flex;
  106. justify-content: center;
  107. align-items: center;
  108. }
  109. .like-list .index-input-number .i-input-number-view {
  110. width: 80rpx;
  111. height: 80rpx;
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. }
  116. .like-list .index-input-number .i-input-number-view .img{
  117. width: 40rpx;
  118. height: 40rpx;
  119. }
  120. .like-list .index-input-number .i-input-number-minus {
  121. justify-content: flex-end;
  122. }
  123. .like-list .index-input-number .i-input-number-plus {
  124. justify-content: flex-start;
  125. }
  126. .like-list .index-input-number .input-number-text {
  127. height: 88rpx;
  128. line-height: 88rpx;
  129. font-size: 24rpx;
  130. color: #333;
  131. width: 58rpx;
  132. }