index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /* nova-shop/pages/shopping-cart/index.wxss */
  2. page {
  3. background: #f6f6f6;
  4. }
  5. .collect .collect_info {
  6. width: 93%;
  7. background: #ffffff;
  8. border-radius: 12rpx;
  9. margin: 20rpx auto;
  10. display: flex;
  11. }
  12. .collect .collect_info .left_info {
  13. width: 38%;
  14. display: flex;
  15. align-items: center;
  16. }
  17. .collect .collect_info .left_info .image {
  18. width: 240rpx;
  19. height: 240rpx;
  20. border-radius: 16rpx;
  21. }
  22. .collect .collect_info .right_info {
  23. width: 58%;
  24. }
  25. .collect .collect_info .right_info .title {
  26. font-size: 28rpx;
  27. margin: 20rpx 0;
  28. font-weight: 700;
  29. overflow: hidden;
  30. display: -webkit-box;
  31. -webkit-box-orient: vertical;
  32. -webkit-line-clamp: 1;
  33. }
  34. .collect .collect_info .right_info .desc {
  35. font-size: 24rpx;
  36. margin-bottom: 20rpx;
  37. color: #c2c2c2;
  38. overflow: hidden;
  39. display: -webkit-box;
  40. -webkit-box-orient: vertical;
  41. -webkit-line-clamp: 2;
  42. }
  43. .collect .collect_info .right_info .down_info {
  44. padding: 16rpx 0;
  45. display: flex;
  46. align-items: center;
  47. justify-content: space-between;
  48. }
  49. .collect .collect_info .right_info .down_info .price {
  50. font-size: 34rpx;
  51. color: #fd3030;
  52. font-weight: 700;
  53. }
  54. .collect .delete {
  55. background: #e42929;
  56. color: #fff;
  57. height: 100%;
  58. padding: 100rpx 34rpx;
  59. }
  60. .collect .bottom {
  61. width: 100%;
  62. height: 100rpx;
  63. }
  64. .collect .box {
  65. width: 93%;
  66. margin: 20rpx auto;
  67. background: #ffffff;
  68. display: flex;
  69. border-radius: 20rpx;
  70. position: relative;
  71. }
  72. .collect .box .image {
  73. width: 240rpx;
  74. height: 240rpx;
  75. margin-right: 20rpx;
  76. border-radius: 20rpx;
  77. }
  78. .collect .box .right {
  79. width: 65%;
  80. }
  81. .collect .box .right .title {
  82. margin-top: 20rpx;
  83. overflow: hidden;
  84. text-overflow: ellipsis;
  85. display: -webkit-box;
  86. -webkit-line-clamp: 1;
  87. -webkit-box-orient: vertical;
  88. }
  89. .collect .box .right .price {
  90. color: red;
  91. margin-top: 20rpx;
  92. }
  93. .collect .box .right .time {
  94. color: #c1bcbc;
  95. margin-top: 10rpx;
  96. overflow: hidden;
  97. text-overflow: ellipsis;
  98. display: -webkit-box;
  99. -webkit-line-clamp: 2;
  100. -webkit-box-orient: vertical;
  101. }
  102. .collect .box .right .lecturer {
  103. font-size: 28rpx;
  104. margin-top: 20rpx;
  105. }
  106. .collect .box .right .collection {
  107. position: absolute;
  108. right: 30rpx;
  109. top: 160rpx;
  110. padding: 10rpx 20rpx;
  111. background: red;
  112. color: #ffffff;
  113. border-radius: 20rpx;
  114. }