index.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. @import "/icon.wxss";
  2. @import "/common.wxss";
  3. .pin-spec {
  4. position: relative;
  5. background: #fff;
  6. margin: 20rpx;
  7. border-radius: 10rpx;
  8. overflow: hidden;
  9. }
  10. .pin-spec-img {
  11. width: 100%;
  12. vertical-align: top;
  13. border-radius: 10rpx 10rpx 0 0;
  14. }
  15. .pin-spec-scroll {
  16. max-height: 380rpx;
  17. }
  18. .pin-spec-wrap {
  19. position: relative;
  20. display: flex;
  21. flex-direction: row;
  22. flex-wrap: nowrap;
  23. }
  24. .pin-spec-item {
  25. position: relative;
  26. width: 240rpx;
  27. box-sizing: border-box;
  28. padding: 20rpx;
  29. font-size: 28rpx;
  30. }
  31. .pin-spec-item .pin-img {
  32. width: 200rpx;
  33. height: 200rpx;
  34. margin-bottom: 20rpx;
  35. }
  36. .pin-spec-item .title {
  37. overflow: hidden;
  38. text-overflow: ellipsis;
  39. white-space: nowrap;
  40. }
  41. .pin-spec-item .new-bot {
  42. margin-top: 10rpx;
  43. display: flex;
  44. align-items: center;
  45. }
  46. .pin-spec-item .price {
  47. color: #ff5041;
  48. }
  49. .pin-spec-item .act-end {
  50. position: absolute;
  51. height: 60rpx;
  52. border-radius: 10rpx;
  53. background: rgba(0, 0, 0, 0.5);
  54. color: #fff;
  55. font-size: 28rpx;
  56. text-align: center;
  57. line-height: 60rpx;
  58. left: 50%;
  59. top: 80rpx;
  60. padding: 0 12rpx;
  61. transform: translateX(-50%);
  62. }
  63. .pin-spec-item .market-price {
  64. text-decoration: line-through;
  65. color: #999;
  66. font-size: 22rpx;
  67. margin-left: 10rpx;
  68. }
  69. .pin-spec-item .pin-tag {
  70. display: inline-block;
  71. font-size: 22rpx;
  72. padding: 0 6rpx;
  73. margin-right: 10rpx;
  74. border: 0.1rpx solid #ff5344;
  75. vertical-align: middle;
  76. color: #ff5344;
  77. border-radius: 4rpx;
  78. }
  79. /* 标签 */
  80. .pin-spec .item-tag {
  81. position: absolute;
  82. left: 20rpx;
  83. top: 20rpx;
  84. width: 54rpx;
  85. height: 62rpx;
  86. z-index: 1;
  87. color: #fff;
  88. text-align: center;
  89. }
  90. .item-tag-bg {
  91. position: absolute;
  92. left: 0;
  93. top: 0;
  94. width: 54rpx;
  95. height: 62rpx;
  96. z-index: 0;
  97. }
  98. .pin-spec .item-tag .tag-name {
  99. position: relative;
  100. padding-top: 6rpx;
  101. font-size: 20rpx;
  102. line-height: 1;
  103. font-weight: 600;
  104. z-index: 1;
  105. }
  106. .pin-spec .item-tag .tag-name.two-word {
  107. font-size: 22rpx;
  108. padding-top: 14rpx;
  109. }
  110. .pin-s2-tit {
  111. width: 240rpx;
  112. height: 70rpx;
  113. line-height: 70rpx;
  114. }
  115. .pin-s2 .pin-img {
  116. width: 200rpx;
  117. height: 200rpx;
  118. margin-bottom: 0;
  119. }
  120. .pin-s2 .act-end {
  121. position: absolute;
  122. height: 60rpx;
  123. border-radius: 10rpx;
  124. background: rgba(0, 0, 0, 0.5);
  125. color: #fff;
  126. font-size: 24rpx;
  127. text-align: center;
  128. line-height: 60rpx;
  129. left: 50%;
  130. top: 80rpx;
  131. padding: 0 12rpx;
  132. transform: translateX(-50%);
  133. }
  134. .pin-s2 .title {
  135. height: 64rpx;
  136. }
  137. .pin-s2 .label {
  138. padding: 4rpx 12rpx 6rpx;
  139. line-height: 1;
  140. font-size: 75%;
  141. font-weight: 700;
  142. color: #fff;
  143. text-align: center;
  144. white-space: nowrap;
  145. }
  146. .pin-s2 .label .tag {
  147. height: 30rpx;
  148. line-height: 30rpx;
  149. border: 1rpx solid #FF4544;
  150. border-radius: 4rpx;
  151. margin-right: 10rpx;
  152. }
  153. .pin-s2 .label .tag.label-person .iconfont {
  154. display: inline-block;
  155. width: 30rpx;
  156. height: 30rpx;
  157. background-color: #FF4544;
  158. font-size: 18rpx;
  159. color: #FFFFFF;
  160. text-align: center;
  161. }
  162. .pin-s2 .label .label-name {
  163. font-size: 20rpx;
  164. padding: 0 10rpx;
  165. color: #FF4544;
  166. }
  167. .pin-s2 .bot {
  168. line-height: 1;
  169. }
  170. .pin-s2 .bot .content-price {
  171. display: flex;
  172. align-items: flex-end;
  173. font-size: 24rpx;
  174. color: #FF4544;
  175. margin-top: 20rpx;
  176. height: 32rpx;
  177. font-weight: 600;
  178. }
  179. .content-num {
  180. font-weight: 500;
  181. margin-top: 0;
  182. font-size: 24rpx;
  183. line-height: 24rpx;
  184. color: #909399;
  185. text-decoration: line-through;
  186. }
  187. .pin-s2-item-r {
  188. display: flex;
  189. flex-direction: column;
  190. justify-content: space-between;
  191. border-bottom: 1rpx solid #EEEEEE;
  192. }
  193. .pin-s2 .pin-s2-item:last-child .pin-s2-item-r {
  194. border-bottom: 0;
  195. }
  196. .pin-s2-btn {
  197. background-color: #FF4544;
  198. width: 160rpx;
  199. height: 50rpx;
  200. line-height: 50rpx;
  201. text-align: center;
  202. border-radius: 50rpx;
  203. font-size: 28rpx;
  204. color: #FFFFFF;
  205. }
  206. .pin-s3-tit {
  207. width: 348rpx;
  208. height: 74rpx;
  209. text-align: center;
  210. line-height: 74rpx;
  211. }