index.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .product {
  2. display: flex;
  3. width: 100vw;
  4. padding: 20rpx 30rpx;
  5. background: #fff;
  6. border-bottom: 1rpx solid #ddd;
  7. box-sizing: border-box;
  8. overflow: hidden;
  9. .image-box {
  10. font-size: 0;
  11. width: 176rpx;
  12. height: 176rpx;
  13. border-radius: 16rpx;
  14. overflow: hidden;
  15. margin-right: 30rpx;
  16. flex-shrink: 0;
  17. .text {
  18. display: inline-block;
  19. width: 176rpx;
  20. height: 176rpx;
  21. line-height: 172rpx;
  22. font-size: 24rpx;
  23. text-align: center;
  24. color: #666;
  25. border: 1rpx solid #ddd;
  26. border-radius: 16rpx;
  27. box-sizing: border-box;
  28. }
  29. }
  30. .right-box {
  31. width: 480rpx;
  32. .title {
  33. height: 40rpx;
  34. line-height: 40rpx;
  35. font-size: 28rpx;
  36. font-weight: 600;
  37. color: #333333;
  38. }
  39. .type {
  40. height: 34rpx;
  41. line-height: 34rpx;
  42. font-size: 24rpx;
  43. color: #888888;
  44. }
  45. .tags {
  46. display: flex;
  47. height: 32rpx;
  48. margin-top: 6rpx;
  49. width: 100%;
  50. >view {
  51. flex-shrink: 0;
  52. height: 32rpx;
  53. line-height: 32rpx;
  54. padding: 0 10rpx;
  55. font-size: 20rpx;
  56. color: #FFFFFF;
  57. margin-right: 8rpx;
  58. border-radius: 6rpx;
  59. }
  60. }
  61. .price {
  62. display: flex;
  63. width: 100%;
  64. height: 40rpx;
  65. align-items: center;
  66. justify-content: space-between;
  67. .view {
  68. font-size: 28rpx;
  69. font-family: PingFang SC-Medium, PingFang SC;
  70. font-weight: 550;
  71. color: #3874F6;
  72. }
  73. .punit {
  74. font-size: 20rpx;
  75. color: #888888;
  76. margin-left: 12rpx;
  77. margin-top: 8rpx;
  78. }
  79. .shopping {
  80. font-size: 24rpx;
  81. .iconfont {
  82. color: #F29C37;
  83. }
  84. }
  85. }
  86. }
  87. }
  88. .line-1 {
  89. overflow: hidden;
  90. white-space: nowrap;
  91. text-overflow: ellipsis;
  92. word-break: break-all;
  93. }