details.wxss 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  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. font-size: 24rpx;
  22. height: 40rpx;
  23. line-height: 40rpx;
  24. display: inline-block;
  25. vertical-align: middle;
  26. }
  27. .nickname {
  28. height: 40rpx;
  29. line-height: 40rpx;
  30. font-size: 24rpx;
  31. display: inline-block;
  32. vertical-align: middle;
  33. }
  34. .comment_swiper image {
  35. width: 40rpx;
  36. height: 40rpx;
  37. border-radius: 50rpx;
  38. display: inline-block;
  39. vertical-align: middle;
  40. }
  41. .details_collection {
  42. position: absolute;
  43. bottom: 96rpx;
  44. right: 19rpx;
  45. color: #fff;
  46. padding: 10rpx 30rpx;
  47. background: #7e7e7e;
  48. border-radius: 50rpx;
  49. font-size: 24rpx;
  50. }
  51. .goods_content {
  52. text-align: center;
  53. position: relative;
  54. }
  55. .goods_content::after {
  56. position: absolute;
  57. content: "";
  58. bottom: 0;
  59. left: 0;
  60. width: 100%;
  61. height: 1px;
  62. background: #dadada;
  63. }
  64. .goods_name_title {
  65. font-size: 34rpx;
  66. color: rgb(0, 0, 0);
  67. }
  68. .bonus_price {
  69. font-size: 36rpx;
  70. color: #ef524d;
  71. overflow: hidden;
  72. }
  73. .goods_price {
  74. color: #9b9b9b;
  75. font-size: 22rpx;
  76. }
  77. .goods_desc {
  78. font-size: 24rpx;
  79. display: -webkit-box;
  80. -webkit-box-orient: vertical;
  81. -webkit-line-clamp: 2;
  82. overflow: hidden;
  83. color: #7e7e7e;
  84. min-height: 56rpx;
  85. line-height: 28rpx;
  86. }
  87. .congratulation_text {
  88. position: relative;
  89. padding: 16rpx 0;
  90. margin-left: 25rpx;
  91. color: rgb(167, 167, 167);
  92. font-size: 24rpx;
  93. }
  94. .congratulation_text::after {
  95. content: " ";
  96. position: absolute;
  97. left: 0;
  98. bottom: 1rpx;
  99. right: 0;
  100. height: 1rpx;
  101. border-bottom: 1px solid #c7c7c7;
  102. color: #c7c7c7;
  103. -webkit-transform-origin: 0 100%;
  104. transform-origin: 0 100%;
  105. -webkit-transform: scaleY(0.5);
  106. transform: scaleY(0.5);
  107. }
  108. .congratulation_text.colef524d {
  109. color:#ef524d;
  110. }
  111. .tospecial {
  112. float: right;
  113. padding: 4rpx 16rpx;
  114. margin-right: 25rpx;
  115. background: rgb(236, 92, 86);
  116. border-radius: 20rpx;
  117. color: rgb(242, 203, 100);
  118. font-size: 20rpx;
  119. }
  120. .details_stamps {
  121. /* height: 166rpx; */
  122. padding-top: 40rpx;
  123. padding-bottom: 30rpx;
  124. box-sizing: border-box;
  125. display: flex;
  126. flex-direction: row;
  127. flex-wrap: wrap;
  128. }
  129. .stamps_item {
  130. width: 50%;
  131. display: flex;
  132. align-items: center;
  133. padding-left: 90rpx;
  134. color: #a7a7a7;
  135. font-size: 24rpx;
  136. height: 46rpx;
  137. box-sizing: border-box;
  138. }
  139. .goods_logo {
  140. width: 30rpx;
  141. height: 30rpx;
  142. margin-right: 22rpx;
  143. }
  144. .place-bac247 {
  145. background: rgb(247, 247, 247);
  146. height: 20rpx;
  147. }
  148. .comments_block {
  149. position: relative;
  150. display: flex;
  151. justify-content: space-between;
  152. align-items: center;
  153. height: 70rpx;
  154. margin: 0 24rpx;
  155. color: #a7a7a7;
  156. font-size: 28rpx;
  157. }
  158. .comments_block::after {
  159. content: " ";
  160. position: absolute;
  161. bottom: 0;
  162. right: 0;
  163. left: 0;
  164. height: 1px;
  165. border-bottom: 1px solid #c7c7c7;
  166. color: #c7c7c7;
  167. -webkit-transform-origin: 0 100%;
  168. transform-origin: 0 100%;
  169. -webkit-transform: scaleY(0.5);
  170. transform: scaleY(0.5);
  171. }
  172. .comment {
  173. position: relative;
  174. color: #a7a7a7;
  175. padding-top: 28rpx;
  176. padding-bottom: 20rpx;
  177. }
  178. .user {
  179. overflow: hidden;
  180. margin-bottom: 18rpx;
  181. padding: 0 24rpx;
  182. line-height: 1.6;
  183. }
  184. .member_avatar {
  185. margin-right: 20rpx;
  186. }
  187. .member_avatar image {
  188. width: 72rpx;
  189. height: 72rpx;
  190. border-radius: 50%;
  191. display: block;
  192. }
  193. .flex-stars {
  194. display: flex;
  195. align-items: center;
  196. height: 44rpx;
  197. }
  198. .star {
  199. display: inline-block;
  200. width: 24rpx;
  201. height: 24rpx;
  202. margin-left: 4rpx;
  203. vertical-align: middle;
  204. }
  205. .comment_time {
  206. text-align: right;
  207. font-size: 20rpx;
  208. }
  209. .spec {
  210. padding: 0 24rpx;
  211. margin-bottom: 10rpx;
  212. font-size: 20rpx;
  213. }
  214. .content {
  215. padding: 0 24rpx;
  216. margin-bottom: 0;
  217. font-size: 22rpx;
  218. color: #000;
  219. line-height: 36rpx;
  220. padding-bottom: 10rpx;
  221. }
  222. .attr_list_item {
  223. display: flex;
  224. justify-content: space-between;
  225. align-items: center;
  226. line-height: 70rpx;
  227. padding: 0 25rpx;
  228. overflow: hidden;
  229. font-size: 24rpx;
  230. color: rgb(167, 167, 167);
  231. }
  232. .details_tabbar {
  233. position: fixed;
  234. display: flex;
  235. z-index: 500;
  236. left: 0;
  237. right: 0;
  238. bottom: 0;
  239. background: #fff;
  240. }
  241. .details_tabbar_item {
  242. display: block;
  243. -webkit-box-flex: 1;
  244. -webkit-flex: 1;
  245. flex: 1;
  246. font-size: 0;
  247. color: #999;
  248. text-align: center;
  249. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  250. padding: 8rpx 0 0;
  251. }
  252. .details_tabbar_icon {
  253. display: block;
  254. margin: auto;
  255. width: 50rpx;
  256. height: 50rpx;
  257. }
  258. .details_tabbar_label {
  259. text-align: center;
  260. line-height: 1.8;
  261. font-size: 20rpx;
  262. color: #000;
  263. }
  264. .place_details_tabbar {
  265. height: 100rpx;
  266. }
  267. .see_more_details {
  268. margin: 40rpx auto;
  269. text-align: center;
  270. width: 40%;
  271. padding: 15rpx;
  272. font-size: 30rpx;
  273. border-radius: 8rpx;
  274. color: rgb(255, 78, 78);
  275. border: 1px solid #ff4e4e;
  276. }
  277. .details_tabbar_simple {
  278. text-align: center;
  279. background: rgb(0, 0, 0);
  280. flex: 2 1 0%;
  281. padding: 0;
  282. height: 100rpx;
  283. line-height: 100rpx;
  284. font-size: 30rpx;
  285. color: #fff;
  286. }
  287. .details_tabbar_simple.buy {
  288. background: rgb(255, 78, 78);
  289. }
  290. .simple_shopcart {
  291. position: fixed;
  292. left: 0;
  293. right: 0;
  294. bottom: 0;
  295. z-index: 502;
  296. height: 800rpx;
  297. font-size: 34rpx;
  298. background: #fff;
  299. -webkit-transition: all 0.3s;
  300. transition: all 0.3s;
  301. -webkit-transform: translateY(110%);
  302. transform: translateY(110%);
  303. }
  304. .show_animation {
  305. -webkit-transform: translateY(0);
  306. transform: translateY(0);
  307. }
  308. .animation_popup {
  309. position: fixed;
  310. left: 0;
  311. right: 0;
  312. top: 0;
  313. bottom: 0;
  314. z-index: -1;
  315. background: rgba(0, 0, 0, 0.5);
  316. opacity: 0;
  317. /* -webkit-transition: opacity 400ms;
  318. transition: opacity 400ms; */
  319. }
  320. .animation_popup.show_popup {
  321. z-index: 501;
  322. opacity: 1;
  323. }
  324. .pal30 {
  325. padding-left: 30rpx;
  326. }
  327. .pab30 {
  328. padding-bottom: 30rpx;
  329. }
  330. .simple_goods_info {
  331. width: 100%;
  332. display: flex;
  333. display: -webkit-flex;
  334. -webkit-align-items: center;
  335. align-items: center;
  336. }
  337. .flexbox_item {
  338. flex: 1;
  339. -webkit-flex: 1;
  340. min-width: 20px;
  341. width: 0%;
  342. text-align: left;
  343. margin-left: 8rpx;
  344. }
  345. .goods_small_img {
  346. display: block;
  347. width: 228rpx;
  348. height: 228rpx;
  349. margin-top: -50rpx;
  350. margin-left: 5rpx;
  351. border-radius: 10rpx;
  352. }
  353. .simple_goods_price {
  354. line-height: 50rpx;
  355. font-size: 36rpx;
  356. color: rgb(235, 78, 79);
  357. }
  358. .goods_original_price {
  359. font-size: 24rpx;
  360. color: rgb(167, 167, 167);
  361. }
  362. .simple_goods_spec {
  363. padding: 15rpx 0 15rpx 25rpx;
  364. }
  365. .simple_sec_content {
  366. height: 200rpx;
  367. overflow-x: hidden;
  368. margin: 20rpx 0;
  369. padding-bottom: 30rpx;
  370. }
  371. .sec_content_btn {
  372. display: inline-block;
  373. background: #fff;
  374. color: #000;
  375. border-radius: 5rpx;
  376. padding: 10rpx 15rpx;
  377. font-size: 24rpx;
  378. border: 1rpx solid #000;
  379. margin-right: 15rpx;
  380. margin-bottom: 15rpx;
  381. }
  382. .sec_content_btn.sec_active {
  383. background: #f74d49;
  384. color: #fff;
  385. border: 1rpx solid #fff;
  386. }
  387. .simple_goods_compute {
  388. color: #eb4e4f;
  389. font-size: 40rpx;
  390. display: inline-block;
  391. width: 80rpx;
  392. text-align: center;
  393. }
  394. .simple_goods_result {
  395. display: inline-block;
  396. width: 140rpx;
  397. text-align: center;
  398. font-size: 30rpx;
  399. }
  400. .simple_goods_buy {
  401. position: absolute;
  402. bottom: 0;
  403. left: 0;
  404. right: 0;
  405. background: #eb4e4f;
  406. color: #fff;
  407. border: none;
  408. text-align: center;
  409. height: 90rpx;
  410. line-height: 90rpx;
  411. font-size: 30rpx;
  412. }
  413. .close_btn {
  414. position: absolute;
  415. right: 0;
  416. top: 0;
  417. padding: 15rpx;
  418. width: 40rpx;
  419. height: 40rpx;
  420. }
  421. .close_btn::before, .close_btn::after {
  422. content: '';
  423. position: absolute;
  424. height: 2rpx;
  425. top: 50%;
  426. left: 15rpx;
  427. right: 15rpx;
  428. background: #eb4e4f;
  429. }
  430. .close_btn::before {
  431. -webkit-transform: rotate(45deg);
  432. transform: rotate(45deg);
  433. }
  434. .close_btn::after {
  435. -webkit-transform: rotate(-45deg);
  436. transform: rotate(-45deg);
  437. }