comment.wxss 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. .noComments {
  2. height: 100%;
  3. background: #fff;
  4. }
  5. .noComments .noCommentsCon {
  6. display: flex;
  7. justify-content: center;
  8. align-items: center;
  9. flex-direction: column;
  10. }
  11. .noComments .noCommentsCon .noCommentsImg {
  12. width: 218rpx;
  13. height: 218rpx;
  14. margin-top: 260rpx;
  15. margin-bottom: 30rpx;
  16. }
  17. .noComments .noCommentsCon .noCommentsTit {
  18. font-size: 30rpx;
  19. color: #666;
  20. }
  21. .comments {
  22. padding-bottom: 40rpx;
  23. }
  24. .comments .commentsDetail {
  25. padding: 0 20rpx;
  26. margin-top: 30rpx;
  27. margin-bottom: 120rpx;
  28. }
  29. .comments .commentsDetail .commentsList {
  30. margin-bottom: 20rpx;
  31. }
  32. .comments .commentsDetail .commentsList .commentsListInfo {
  33. padding: 30rpx;
  34. }
  35. .comments .commentsDetail .commentsList .commentsListInfo .commentsCon {
  36. font-size: 28rpx;
  37. color: #666;
  38. line-height: 44rpx;
  39. margin-bottom: 10rpx;
  40. word-wrap: break-word;
  41. }
  42. .comments .commentsDetail .commentsList .commentsListInfo .doubleHidden {
  43. display: -webkit-box;
  44. -webkit-box-orient: vertical;
  45. -webkit-line-clamp: 3;
  46. overflow: hidden;
  47. text-overflow: initial;
  48. white-space: normal;
  49. }
  50. .comments .commentsDetail .commentsList .commentsListInfo .commentsOpen {
  51. height: 22rpx;
  52. font-size: 22rpx;
  53. color: #444;
  54. font-weight: bold;
  55. margin-bottom: 20rpx;
  56. display: flex;
  57. align-items: center;
  58. }
  59. .comments .commentsDetail .commentsList .commentsListInfo .commentsOpen .commentsOpenImg {
  60. width: 16rpx;
  61. height: 8rpx;
  62. margin-left: 6rpx;
  63. }
  64. .comments .commentsDetail .commentsList .commentsListInfo .commentsOpen .down {
  65. transform: rotate(180deg);
  66. }
  67. .comments .commentsDetail .commentsList .commentsListInfo .commentsImgCon {
  68. display: flex;
  69. justify-content: flex-start;
  70. overflow-x: auto;
  71. }
  72. ::-webkit-scrollbar {
  73. width: 0;
  74. height: 0;
  75. color: transparent;
  76. }
  77. .comments .commentsDetail .commentsList .commentsListInfo .commentsImgCon .commentsImg {
  78. margin-right: 16rpx;
  79. display: flex;
  80. }
  81. .comments .commentsDetail .commentsList .commentsListInfo .commentsImgCon .commentsImg .goodsImg {
  82. width: 150rpx;
  83. }
  84. .comments .commentsDetail .commentsList .commentsListInfo .commentsImgCon .commentsImg .goodsImg .img-class {
  85. width: 150rpx;
  86. height: 150rpx;
  87. border-radius: 4rpx;
  88. }
  89. .comments .commentsDetail .commentsList .commentsListInfo .commentsImgCon .commentsImg:last-child {
  90. margin: 0;
  91. }
  92. .comments .commentsDetail .commentsList .commentsListInfo .commentsTime {
  93. font-size: 22rpx;
  94. color: #aaa;
  95. line-height: 22rpx;
  96. margin-top: 20rpx;
  97. display: flex;
  98. justify-content: flex-end;
  99. }
  100. .canvas-img {
  101. position: absolute;
  102. top: -20000rpx;
  103. }
  104. button::after {
  105. border: none;
  106. }
  107. .goodsInfo {
  108. background: #fff;
  109. padding: 30rpx;
  110. border-top: 0.1rpx solid #efefef;
  111. border-bottom: 0.1rpx solid #efefef;
  112. display: flex;
  113. justify-content: space-between;
  114. }
  115. .goodsInfo .goodsImg {
  116. width: 180rpx;
  117. margin-right: 30rpx;
  118. }
  119. .goodsInfo .goodsImg .img-class {
  120. width: 180rpx;
  121. height: 180rpx;
  122. }
  123. .goodsInfo .goodsDetail {
  124. width: 480rpx;
  125. min-height: 180rpx;
  126. }
  127. .goodsInfo .goodsDetail .detailTop {
  128. min-height: 120rpx;
  129. display: flex;
  130. justify-content: space-between;
  131. }
  132. .goodsInfo .goodsDetail .detailTop .detailTopInfo {
  133. width: 380rpx;
  134. padding-right: 20rpx;
  135. border-right: 2rpx dashed #aaa;
  136. }
  137. .goodsInfo .goodsDetail .detailTop .detailTopInfo .goodsName {
  138. width: 380rpx;
  139. font-size: 26rpx;
  140. color: #444;
  141. font-weight: bold;
  142. line-height: 32rpx;
  143. margin-bottom: 6rpx;
  144. display: -webkit-box;
  145. -webkit-box-orient: vertical;
  146. -webkit-line-clamp: 2;
  147. overflow: hidden;
  148. text-overflow: initial;
  149. white-space: normal;
  150. }
  151. .goodsInfo .goodsDetail .detailTop .detailTopInfo .purchasing,
  152. .goodsInfo .goodsDetail .detailTop .detailTopInfo .saleNum {
  153. font-size: 22rpx;
  154. color: #aaa;
  155. }
  156. .goodsInfo .goodsDetail .detailTop .shareBtn {
  157. display: flex;
  158. justify-content: center;
  159. align-items: center;
  160. background: #fff;
  161. padding: 0;
  162. margin-right: 4rpx;
  163. }
  164. .goodsInfo .goodsDetail .detailTop .shareBtn .shareImg {
  165. width: 42rpx;
  166. height: 36rpx;
  167. }
  168. .goodsInfo .goodsDetail .detailBottom {
  169. margin-top: 10rpx;
  170. display: flex;
  171. align-items: center;
  172. justify-content: space-between;
  173. }
  174. .goodsInfo .goodsDetail .detailBottom .price {
  175. font-size: 20rpx;
  176. color: #ff5344;
  177. }
  178. .goodsInfo .goodsDetail .detailBottom .price text {
  179. font-size: 36rpx;
  180. font-weight: bold;
  181. }
  182. .goodsInfo .goodsDetail .detailBottom .time {
  183. width: 290rpx;
  184. font-size: 26rpx;
  185. color: #444;
  186. white-space: nowrap;
  187. display: flex;
  188. align-items: center;
  189. justify-content: flex-end;
  190. }
  191. .goodsInfo .goodsDetail .detailBottom .time .countdown {
  192. display: flex;
  193. justify-content: center;
  194. align-items: center;
  195. }
  196. .goodsInfo .goodsDetail .detailBottom .time .countdown .itemTime {
  197. width: 38rpx;
  198. height: 32rpx;
  199. background: #444;
  200. border-radius: 4rpx;
  201. font-size: 26rpx;
  202. color: #fff;
  203. display: flex;
  204. justify-content: center;
  205. align-items: center;
  206. }
  207. /***商品底部按钮begin **/
  208. .goods-bottom-bar {
  209. height: 96rpx;
  210. display: flex;
  211. }
  212. .goods-bottom-bar .leftBtn {
  213. height: 94rpx;
  214. display: flex;
  215. border-top: 2rpx solid #efefef;
  216. }
  217. .goods-bottom-bar .leftBtn .bar-item {
  218. display: flex;
  219. justify-content: center;
  220. align-items: center;
  221. flex-direction: column;
  222. }
  223. .goods-bottom-bar .leftBtn .back-to-index {
  224. width: 132rpx;
  225. height: 94rpx;
  226. font-size: 20rpx;
  227. color: #707070;
  228. }
  229. .goods-bottom-bar .leftBtn .back-to-index image {
  230. width: 54rpx;
  231. height: 54rpx;
  232. }
  233. .goods-bottom-bar .leftBtn .shop-cart {
  234. width: 132rpx;
  235. height: 96rpx;
  236. font-size: 20rpx;
  237. color: #707070;
  238. position: relative;
  239. }
  240. .goods-bottom-bar .leftBtn .shop-cart .icon {
  241. width: 54rpx;
  242. height: 54rpx;
  243. position: relative;
  244. }
  245. .goods-bottom-bar .leftBtn .shop-cart .icon image {
  246. width: 100%;
  247. height: 100%;
  248. }
  249. .goods-bottom-bar .leftBtn .shop-cart .icon .cart-num {
  250. position: absolute;
  251. right: -16rpx;
  252. top: -4rpx;
  253. width: 36rpx;
  254. height: 36rpx;
  255. background: #ff384a;
  256. border-radius: 36rpx;
  257. color: #fff;
  258. font-size: 22rpx;
  259. display: flex;
  260. justify-content: center;
  261. align-items: center;
  262. }
  263. .goods-bottom-bar .goodsStatus {
  264. width: 100%;
  265. height: 96rpx;
  266. background: #dcdcdc;
  267. font-size: 30rpx;
  268. color: #fff;
  269. display: flex;
  270. justify-content: center;
  271. align-items: center;
  272. }
  273. .goods-bottom-bar .gobuy {
  274. flex: 1;
  275. display: flex;
  276. align-items: center;
  277. justify-content: space-between;
  278. font-weight: bold;
  279. }
  280. .goods-bottom-bar .gobuy .add-to-cart {
  281. width: 240rpx;
  282. height: 96rpx;
  283. background: linear-gradient(270deg, #f9c706 0%, #feb600 100%);
  284. color: #fff;
  285. font-size: 30rpx;
  286. display: flex;
  287. justify-content: center;
  288. align-items: center;
  289. }
  290. .goods-bottom-bar .gobuy .btn {
  291. width: 208rpx;
  292. height: 96rpx;
  293. position: absolute;
  294. opacity: 0;
  295. z-index: 9;
  296. top: 0;
  297. padding: 0;
  298. margin: 0;
  299. }
  300. .goods-bottom-bar .gobuy .balanceBtn {
  301. display: flex;
  302. flex: 1;
  303. }
  304. .goods-bottom-bar .gobuy .balanceBtn .balance {
  305. height: 96rpx;
  306. flex: 1;
  307. background: linear-gradient(90deg, #ff5041 0%, #ff695c 100%);
  308. color: #fff;
  309. font-size: 30rpx;
  310. display: flex;
  311. justify-content: center;
  312. align-items: center;
  313. }
  314. .i-fixed-bottom {
  315. position: fixed;
  316. bottom: 0px;
  317. z-index: 100;
  318. width: 100%;
  319. background-color: #fff;
  320. }
  321. /***商品底部按钮end **/
  322. .comment-user {
  323. line-height: 60rpx;
  324. display: flex;
  325. margin-bottom: 10rpx
  326. }
  327. .comment-user image {
  328. width: 60rpx;
  329. height: 60rpx;
  330. border-radius: 50%;
  331. margin-right: 14rpx;
  332. background-color: #f0f0f0;
  333. }
  334. .comment-user text {
  335. font-size: 26rpx;
  336. }