details.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. /* pages/details/details.wxss */
  2. .comment_swiper {
  3. position: absolute;
  4. bottom: 90rpx;
  5. left: 19rpx;
  6. background: rgba(140, 140, 140, 0.5);
  7. max-width: 430rpx;
  8. height: 50rpx;
  9. line-height: 50rpx;
  10. overflow: hidden;
  11. white-space: nowrap;
  12. text-overflow: ellipsis;
  13. border-radius: 30rpx;
  14. padding: 0 21rpx;
  15. box-sizing: border-box;
  16. color: #fff;
  17. font-size: 24rpx;
  18. }
  19. .comment_content {
  20. max-width: 220rpx;
  21. display: inline-block;
  22. vertical-align: middle;
  23. }
  24. .nickname {
  25. display: inline-block;
  26. vertical-align: middle;
  27. }
  28. .comment_swiper image {
  29. width: 40rpx;
  30. height: 40rpx;
  31. border-radius: 50rpx;
  32. display: inline-block;
  33. vertical-align: middle;
  34. }
  35. .details_collection {
  36. position: absolute;
  37. bottom: 96rpx;
  38. right: 19rpx;
  39. color: #fff;
  40. padding: 10rpx 30rpx;
  41. background: #7e7e7e;
  42. border-radius: 50rpx;
  43. font-size: 24rpx;
  44. }
  45. .goods_content {
  46. text-align: center;
  47. position: relative;
  48. }
  49. .goods_content::after {
  50. position: absolute;
  51. content: "";
  52. bottom: 0;
  53. left: 0;
  54. width: 100%;
  55. height: 1px;
  56. background: #dadada;
  57. }
  58. .goods_name_title {
  59. font-size: 34rpx;
  60. color: rgb(0, 0, 0);
  61. }
  62. .bonus_price {
  63. font-size: 36rpx;
  64. color: #ef524d;
  65. overflow: hidden;
  66. }
  67. .goods_price {
  68. color: #9b9b9b;
  69. font-size: 22rpx;
  70. }
  71. .goods_desc {
  72. font-size: 24rpx;
  73. display: -webkit-box;
  74. -webkit-box-orient: vertical;
  75. -webkit-line-clamp: 2;
  76. overflow: hidden;
  77. color: #7e7e7e;
  78. min-height: 56rpx;
  79. line-height: 28rpx;
  80. }
  81. .congratulation_text {
  82. position: relative;
  83. padding: 16rpx 0;
  84. margin-left: 25rpx;
  85. color: rgb(167, 167, 167);
  86. font-size: 24rpx;
  87. }
  88. .congratulation_text::after {
  89. content: " ";
  90. position: absolute;
  91. left: 0;
  92. bottom: 1rpx;
  93. right: 0;
  94. height: 1rpx;
  95. border-bottom: 1px solid #c7c7c7;
  96. color: #c7c7c7;
  97. -webkit-transform-origin: 0 100%;
  98. transform-origin: 0 100%;
  99. -webkit-transform: scaleY(0.5);
  100. transform: scaleY(0.5);
  101. }
  102. .details_stamps {
  103. /* height: 166rpx; */
  104. padding-top: 40rpx;
  105. padding-bottom: 30rpx;
  106. box-sizing: border-box;
  107. display: flex;
  108. flex-direction: row;
  109. flex-wrap: wrap;
  110. }
  111. .stamps_item {
  112. width: 50%;
  113. display: flex;
  114. align-items: center;
  115. padding-left: 90rpx;
  116. color: #a7a7a7;
  117. font-size: 24rpx;
  118. height: 46rpx;
  119. box-sizing: border-box;
  120. }
  121. .goods_logo {
  122. width: 30rpx;
  123. height: 30rpx;
  124. margin-right: 22rpx;
  125. }
  126. .place-bac247 {
  127. background: rgb(247, 247, 247);
  128. height: 20rpx;
  129. }
  130. .comments_block {
  131. position: relative;
  132. display: flex;
  133. justify-content: space-between;
  134. align-items: center;
  135. height: 70rpx;
  136. margin: 0 24rpx;
  137. color: #a7a7a7;
  138. font-size: 28rpx;
  139. }
  140. .comments_block::after {
  141. content: " ";
  142. position: absolute;
  143. bottom: 0;
  144. right: 0;
  145. left: 0;
  146. width: 726px;
  147. height: 1px;
  148. border-bottom: 1px solid #c7c7c7;
  149. color: #c7c7c7;
  150. -webkit-transform-origin: 0 100%;
  151. transform-origin: 0 100%;
  152. -webkit-transform: scaleY(0.5);
  153. transform: scaleY(0.5);
  154. }
  155. .comment {
  156. position: relative;
  157. color: #a7a7a7;
  158. padding-top: 28rpx;
  159. padding-bottom: 20rpx;
  160. }
  161. .user {
  162. overflow: hidden;
  163. margin-bottom: 18rpx;
  164. padding: 0 24rpx;
  165. line-height: 1.6;
  166. }
  167. .member_avatar {
  168. margin-right: 20rpx;
  169. }
  170. .member_avatar image {
  171. width: 72rpx;
  172. height: 72rpx;
  173. border-radius: 50%;
  174. display: block;
  175. }
  176. .flex-stars {
  177. display: flex;
  178. align-items: center;
  179. height: 44rpx;
  180. }
  181. .star {
  182. display: inline-block;
  183. width: 24rpx;
  184. height: 24rpx;
  185. margin-left: 4rpx;
  186. vertical-align: middle;
  187. }
  188. .comment_time {
  189. text-align: right;
  190. font-size: 20rpx;
  191. }
  192. .spec {
  193. padding: 0 24rpx;
  194. margin-bottom: 10rpx;
  195. font-size: 20rpx;
  196. }
  197. .content {
  198. padding: 0 24rpx;
  199. margin-bottom: 0;
  200. font-size: 22rpx;
  201. color: #000;
  202. line-height: 36rpx;
  203. padding-bottom: 10rpx;
  204. }
  205. .attr_list_item {
  206. display: flex;
  207. justify-content: space-between;
  208. align-items: center;
  209. line-height: 70rpx;
  210. padding: 0 25rpx;
  211. overflow: hidden;
  212. font-size: 24rpx;
  213. color: rgb(167, 167, 167);
  214. }