index.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. @import '../../../style/global.wxss';
  2. page {
  3. width: 100vw;
  4. }
  5. .goods-detail-page .goods-info {
  6. margin: 0 auto;
  7. padding: 26rpx 0 28rpx 30rpx;
  8. background-color: #fff;
  9. }
  10. .goods-detail-page .swipe-img {
  11. width: 100%;
  12. height: 750rpx;
  13. }
  14. .goods-detail-page .goods-info .goods-price {
  15. display: flex;
  16. align-items: baseline;
  17. }
  18. .goods-detail-page .goods-info .goods-price-up {
  19. color: #fa4126;
  20. font-size: 28rpx;
  21. position: relative;
  22. bottom: 4rpx;
  23. left: 8rpx;
  24. }
  25. .goods-detail-page .goods-info .goods-price .class-goods-price {
  26. font-size: 64rpx;
  27. color: #fa4126;
  28. font-weight: bold;
  29. font-family: DIN Alternate;
  30. }
  31. .goods-detail-page .goods-info .goods-price .class-goods-symbol {
  32. font-size: 36rpx;
  33. color: #fa4126;
  34. }
  35. .goods-detail-page .goods-info .goods-price .class-goods-del {
  36. position: relative;
  37. font-weight: normal;
  38. left: 16rpx;
  39. bottom: 2rpx;
  40. color: #999999;
  41. font-size: 32rpx;
  42. }
  43. .goods-detail-page .goods-info .goods-number {
  44. display: flex;
  45. align-items: center;
  46. justify-content: space-between;
  47. }
  48. .goods-detail-page .goods-info .goods-number .sold-num {
  49. font-size: 24rpx;
  50. color: #999999;
  51. display: flex;
  52. align-items: flex-end;
  53. margin-right: 32rpx;
  54. }
  55. .goods-detail-page .goods-info .goods-activity {
  56. display: flex;
  57. margin-top: 16rpx;
  58. justify-content: space-between;
  59. }
  60. .goods-detail-page .goods-info .goods-activity .tags-container {
  61. display: flex;
  62. }
  63. .goods-detail-page .goods-info .goods-activity .tags-container .goods-activity-tag {
  64. background: #ffece9;
  65. color: #fa4126;
  66. font-size: 24rpx;
  67. margin-right: 16rpx;
  68. padding: 4rpx 8rpx;
  69. border-radius: 4rpx;
  70. }
  71. .goods-detail-page .goods-info .goods-activity .activity-show {
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. color: #fa4126;
  76. font-size: 24rpx;
  77. padding-right: 32rpx;
  78. }
  79. .goods-detail-page .goods-info .goods-activity .activity-show-text {
  80. line-height: 42rpx;
  81. }
  82. .goods-detail-page .goods-info .goods-title {
  83. display: flex;
  84. justify-content: space-between;
  85. align-items: center;
  86. margin-top: 20rpx;
  87. }
  88. .goods-detail-page .goods-info .goods-title .goods-name {
  89. width: 600rpx;
  90. font-weight: 500;
  91. display: -webkit-box;
  92. -webkit-box-orient: vertical;
  93. -webkit-line-clamp: 2;
  94. overflow: hidden;
  95. font-size: 32rpx;
  96. word-break: break-all;
  97. color: #333333;
  98. }
  99. .goods-detail-page .goods-info .goods-title .goods-tag {
  100. width: 104rpx;
  101. margin-left: 26rpx;
  102. }
  103. .goods-detail-page .goods-info .goods-title .goods-tag .shareBtn {
  104. border-radius: 200rpx 0px 0px 200rpx;
  105. width: 100rpx;
  106. height: 96rpx;
  107. border: none;
  108. padding-right: 36rpx !important;
  109. }
  110. .goods-detail-page .goods-info .goods-title .goods-tag .shareBtn::after {
  111. border: none;
  112. }
  113. .goods-detail-page .goods-info .goods-title .goods-tag .btn-icon {
  114. font-size: 20rpx;
  115. display: flex;
  116. flex-direction: column;
  117. align-items: center;
  118. justify-content: center;
  119. height: 96rpx;
  120. color: #999;
  121. }
  122. .goods-detail-page .goods-info .goods-title .goods-tag .btn-icon .share-text {
  123. padding-top: 8rpx;
  124. font-size: 20rpx;
  125. line-height: 24rpx;
  126. }
  127. .goods-detail-page .goods-info .goods-intro {
  128. font-size: 26rpx;
  129. color: #888;
  130. line-height: 36rpx;
  131. word-break: break-all;
  132. padding-right: 30rpx;
  133. display: -webkit-box;
  134. -webkit-line-clamp: 2;
  135. -webkit-box-orient: vertical;
  136. white-space: normal;
  137. overflow: hidden;
  138. }
  139. .spu-select {
  140. height: 80rpx;
  141. background-color: #fff;
  142. margin-top: 20rpx;
  143. display: flex;
  144. align-items: center;
  145. padding: 30rpx;
  146. font-size: 28rpx;
  147. }
  148. .spu-select .label {
  149. margin-right: 30rpx;
  150. text-align: center;
  151. flex-shrink: 0;
  152. color: #999999;
  153. font-weight: normal;
  154. }
  155. .spu-select .content {
  156. display: flex;
  157. flex: 1;
  158. justify-content: space-between;
  159. align-items: center;
  160. }
  161. .spu-select .content .tintColor {
  162. color: #aaa;
  163. }
  164. .goods-detail-page .desc-content {
  165. margin-top: 20rpx;
  166. background-color: #fff;
  167. padding-bottom: 120rpx;
  168. }
  169. .goods-detail-page .desc-content__title {
  170. font-size: 28rpx;
  171. line-height: 36rpx;
  172. text-align: center;
  173. display: flex;
  174. justify-content: center;
  175. align-items: center;
  176. padding: 30rpx 20rpx;
  177. }
  178. .goods-detail-page .desc-content__title .img {
  179. width: 206rpx;
  180. height: 10rpx;
  181. }
  182. .goods-detail-page .desc-content__title--text {
  183. font-size: 26rpx;
  184. margin: 0 32rpx;
  185. font-weight: 600;
  186. }
  187. .goods-detail-page .desc-content__img {
  188. width: 100%;
  189. height: auto;
  190. }
  191. .goods-bottom-operation {
  192. position: fixed;
  193. left: 0;
  194. bottom: 0;
  195. width: 100%;
  196. background-color: #fff;
  197. padding-bottom: env(safe-area-inset-bottom);
  198. }
  199. .popup-sku-header .popup-sku-header__goods-info .popup-sku__price {
  200. display: flex;
  201. align-items: baseline;
  202. color: #fa4126;
  203. margin-top: 48rpx;
  204. }
  205. .popup-sku-header .popup-sku-header__goods-info .popup-sku__price .popup-sku__price-num {
  206. font-size: 64rpx;
  207. color: #fa4126;
  208. font-weight: bold;
  209. font-family: DIN Alternate;
  210. }
  211. .popup-sku-header .popup-sku-header__goods-info .popup-sku__price .popup-sku__price-del {
  212. position: relative;
  213. font-weight: normal;
  214. left: 12rpx;
  215. bottom: 2rpx;
  216. color: #999999;
  217. font-size: 32rpx;
  218. }
  219. .popup-sku-header .popup-sku-header__goods-info .popup-sku__price .popup-sku__price-symbol {
  220. font-size: 36rpx;
  221. color: #fa4126;
  222. }
  223. .popup-sku-header .popup-sku-header__goods-info .popup-sku__price .popup-sku__price-max-num {
  224. font-size: 48rpx;
  225. }
  226. .goods-detail-page .goods-head {
  227. --td-swiper-radius: 0;
  228. }
  229. .t-toast__content {
  230. z-index: 12000 !important;
  231. }
  232. .comments-wrap {
  233. margin-top: 20rpx;
  234. padding: 32rpx;
  235. background-color: #fff;
  236. }
  237. .comments-wrap .comments-head {
  238. display: flex;
  239. flex-direction: row;
  240. align-items: center;
  241. justify-content: space-between;
  242. }
  243. .comments-wrap .comments-head .comments-title-wrap {
  244. display: flex;
  245. }
  246. .comments-title-label,
  247. .comments-title-count {
  248. color: #333333;
  249. font-size: 32rpx;
  250. font-weight: 500;
  251. line-height: 48rpx;
  252. }
  253. .comments-rate-wrap {
  254. display: flex;
  255. justify-content: center;
  256. align-items: center;
  257. font-size: 24rpx;
  258. }
  259. .comments-rate-wrap .comments-good-rate {
  260. color: #999999;
  261. font-size: 26rpx;
  262. font-weight: 400;
  263. font-style: normal;
  264. line-height: 36rpx;
  265. }
  266. .comment-item-wrap .comment-item-head {
  267. display: flex;
  268. flex-direction: row;
  269. align-items: center;
  270. margin-top: 32rpx;
  271. }
  272. .comment-item-wrap .comment-item-head .comment-item-avatar {
  273. width: 64rpx;
  274. height: 64rpx;
  275. border-radius: 64rpx;
  276. }
  277. .comment-item-wrap .comment-item-head .comment-head-right {
  278. margin-left: 24rpx;
  279. }
  280. .comment-head-right .comment-username {
  281. font-size: 26rpx;
  282. color: #333333;
  283. line-height: 36rpx;
  284. font-weight: 400;
  285. }
  286. .comment-item-wrap .comment-item-content {
  287. margin-top: 20rpx;
  288. color: #333333;
  289. line-height: 40rpx;
  290. font-size: 28rpx;
  291. font-weight: 400;
  292. }