list.wxss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. page {
  2. background-color: #f8f8f8;
  3. }
  4. .topic {
  5. padding-bottom: 30rpx;
  6. margin-bottom: 20rpx;
  7. background-color: #fff;
  8. }
  9. .topic-img {
  10. width: 100%;
  11. }
  12. .new-comers {
  13. position: relative;
  14. }
  15. .new-comers-scroll {
  16. max-height: 320rpx;
  17. }
  18. .new-comers-wrap {
  19. position: relative;
  20. display: flex;
  21. flex-direction: row;
  22. flex-wrap: nowrap;
  23. }
  24. .new-comers-item {
  25. width: 240rpx;
  26. box-sizing: border-box;
  27. padding: 20rpx;
  28. font-size: 28rpx;
  29. }
  30. .new-comers-item .new-img {
  31. width: 200rpx;
  32. height: 180rpx;
  33. margin-bottom: 20rpx;
  34. }
  35. .new-comers-item .title {
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. white-space: nowrap;
  39. }
  40. .new-comers-item .new-bot {
  41. display: flex;
  42. justify-content: space-between;
  43. align-items: center;
  44. margin-top: 10rpx;
  45. }
  46. .new-comers-item .add-cart {
  47. width: 44rpx;
  48. height: 44rpx;
  49. padding: 0;
  50. margin: 0;
  51. }
  52. .new-comers-item .add-cart .img {
  53. width: 44rpx;
  54. height: 44rpx;
  55. display: block;
  56. }
  57. .new-comers-item .price {
  58. color: #ff5041;
  59. }
  60. .new-comers-item {
  61. position: relative;
  62. }
  63. .new-comers-item .act-end {
  64. position: absolute;
  65. height: 60rpx;
  66. border-radius: 10rpx;
  67. background: rgba(0, 0, 0, 0.5);
  68. color: #fff;
  69. font-size: 28rpx;
  70. text-align: center;
  71. line-height: 60rpx;
  72. left: 50%;
  73. top: 80rpx;
  74. padding: 0 12rpx;
  75. transform: translateX(-50%);
  76. }