productList.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* 物料列表 */
  2. .product-list {
  3. display: flex;
  4. flex-wrap: wrap;
  5. background: none !important;
  6. .item {
  7. width: 336rpx;
  8. border-radius: 16rpx;
  9. overflow: hidden;
  10. border: 1rpx solid #DDDDDD;
  11. margin-bottom: 20rpx;
  12. .cover {
  13. padding: 0 !important;
  14. margin: 0 !important;
  15. }
  16. .details {
  17. width: 100%;
  18. background-color: #fff;
  19. margin-top: -8rpx;
  20. padding: 20rpx;
  21. box-sizing: border-box;
  22. border-bottom: 1rpx solid #eeeeee;
  23. font-family: PingFang SC-Regular, PingFang SC;
  24. .title {
  25. font-size: 24rpx;
  26. color: #333333;
  27. }
  28. .display-data {
  29. display: flex;
  30. justify-content: space-around;
  31. height: 28rpx;
  32. margin-top: 10rpx;
  33. font-size: 20rpx;
  34. color: #999999;
  35. text {
  36. margin-right: 6rpx;
  37. font-size: 28rpx;
  38. }
  39. }
  40. }
  41. .share-button {
  42. height: 60rpx;
  43. font-size: 24rpx;
  44. color: #3874F6;
  45. }
  46. }
  47. .item:nth-of-type(2n) {
  48. margin-left: 10rpx;
  49. }
  50. }