production.wxss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. @import "../../app.wxss";
  2. page {
  3. background: #f4f4f4;
  4. }
  5. .prod-items {
  6. width: 345rpx;
  7. display: inline-block;
  8. background: #fff;
  9. padding: 20rpx;
  10. box-sizing: border-box;
  11. margin-left: 20rpx;
  12. margin-bottom: 20rpx;
  13. border-radius: 10rpx;
  14. }
  15. .hot-imagecont .hotsaleimg {
  16. width: 100%;
  17. height: 100%;
  18. border-radius: 10rpx;
  19. }
  20. .hot-text .hotprod-text {
  21. height: 76rpx;
  22. line-height: 38rpx;
  23. font-size: 28rpx;
  24. display: -webkit-box;
  25. word-break: break-all;
  26. overflow: hidden;
  27. text-overflow: ellipsis;
  28. display: -webkit-box;
  29. -webkit-line-clamp: 2;
  30. -webkit-box-orient: vertical;
  31. color: #000;
  32. }
  33. .prod-items .hot-imagecont {
  34. text-align: center;
  35. font-size: 0;
  36. width: 305rpx;
  37. height: 305rpx;
  38. }
  39. .prod-items .hot-text {
  40. margin-top: 20rpx;
  41. }
  42. .prod-items .hot-text .prod-info {
  43. font-size: 20rpx;
  44. color: #777;
  45. margin-top: 8rpx;
  46. margin-left: 15rpx;
  47. }
  48. .prod-items .hot-text .prod-text-info {
  49. position: relative;
  50. height: 40rpx;
  51. line-height: 40rpx;
  52. font-family: Arial;
  53. margin-top: 20rpx;
  54. }
  55. .collection-row {
  56. display: flex;
  57. justify-content: space-between;
  58. }
  59. .prod-items .hot-text .prod-text-info .price {
  60. color: #e43130;
  61. }
  62. .prod-items .hot-text .prod-text-info .collection-btn{
  63. color: #04358D;
  64. }
  65. .deadline-price{
  66. font-size: 22rpx;
  67. margin-right: 5rpx;
  68. }