aBulkList.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /* pages/aBulkList/aBulkList.wxss */
  2. page {
  3. background: #f7f7f7;
  4. }
  5. image {
  6. width: 100%;
  7. height: 100%;
  8. border-radius: 10rpx;
  9. }
  10. .banner {
  11. position: relative;
  12. width: 750rpx;
  13. height: 284rpx;
  14. padding-top: 24rpx;
  15. }
  16. .banner .bg {
  17. position: absolute;
  18. top: 0;
  19. left: 0;
  20. font-size: 0;
  21. width: 750rpx;
  22. height: 220rpx;
  23. }
  24. .banner .img {
  25. font-size: 0;
  26. width: 710rpx;
  27. height: 280rpx;
  28. margin: 0 auto;
  29. position: relative;
  30. }
  31. .banner image {
  32. border-radius: 0;
  33. }
  34. .abulk-list {
  35. display: flex;
  36. flex-wrap: wrap;
  37. margin-top: 20rpx;
  38. }
  39. .abulk-list-item {
  40. width: 345rpx;
  41. background: #fff;
  42. padding: 20rpx;
  43. box-sizing: border-box;
  44. margin-left: 20rpx;
  45. margin-bottom: 20rpx;
  46. border-radius: 10rpx;
  47. }
  48. .prod-img {
  49. width: 305rpx;
  50. height: 305rpx;
  51. font-size: 0;
  52. }
  53. .prod-msg {
  54. margin-top: 20rpx;
  55. }
  56. .prod-title {
  57. height: 76rpx;
  58. line-height: 38rpx;
  59. font-size: 28rpx;
  60. word-break: break-all;
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. display: -webkit-box;
  64. -webkit-line-clamp: 2;
  65. -webkit-box-orient: vertical;
  66. color: #000;
  67. }
  68. .prod-title .prod-describe {
  69. font-size: 18rpx;
  70. color: white;
  71. background: #e43130;
  72. padding: 6rpx 12rpx;
  73. border-radius: 20rpx;
  74. line-height: 18rpx;
  75. display: inline-block;
  76. margin-right: 6rpx;
  77. vertical-align: top;
  78. margin-top: 4rpx;
  79. }
  80. .prod-price {
  81. position: relative;
  82. height: 40rpx;
  83. line-height: 40rpx;
  84. font-family: Arial;
  85. margin-top: 20rpx;
  86. }
  87. .pic {
  88. font-family: Arial;
  89. display: inline-block;
  90. color: #e43130;
  91. }
  92. .symbol {
  93. font-size: 24rpx;
  94. }
  95. .big-num {
  96. font-size: 32rpx;
  97. }
  98. .small-num {
  99. font-size: 24rpx;
  100. }
  101. .original-price {
  102. display: inline-block;
  103. color: #999;
  104. font-size: 24rpx;
  105. text-decoration: line-through;
  106. margin-left: 10rpx;
  107. }
  108. .cart {
  109. position: absolute;
  110. right: 0;
  111. display: inline-block;
  112. width: 50rpx;
  113. height: 50rpx;
  114. bottom: 7rpx;
  115. padding: 8rpx;
  116. }
  117. /* 列表为空 */
  118. .empty {
  119. margin-top: 100rpx;
  120. text-align: cneter;
  121. }
  122. .empty-icon {
  123. display: block;
  124. width: 80rpx;
  125. height: 80rpx;
  126. margin: 0 auto;
  127. margin-bottom: 20rpx;
  128. }
  129. .empty-icon > image {
  130. width: 100%;
  131. height: 100%;
  132. }
  133. .empty-text {
  134. font-size: 28rpx;
  135. text-align: center;
  136. color: #999;
  137. line-height: 2em;
  138. }