details.wxss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  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: 346rpx;
  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:before {
  242. content: " ";
  243. position: absolute;
  244. left: 0;
  245. top: 0;
  246. right: 0;
  247. height: 1px;
  248. border-top: 1px solid #c0bfc4;
  249. color: #c0bfc4;
  250. -webkit-transform-origin: 0 0;
  251. transform-origin: 0 0;
  252. -webkit-transform: scaleY(0.5);
  253. transform: scaleY(0.5);
  254. }
  255. .details_tabbar_item {
  256. display: block;
  257. -webkit-box-flex: 1;
  258. -webkit-flex: 1;
  259. flex: 1;
  260. font-size: 0;
  261. color: #999;
  262. text-align: center;
  263. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  264. padding: 8rpx 0 0;
  265. }
  266. .details_tabbar_icon {
  267. display: block;
  268. margin: auto;
  269. width: 50rpx;
  270. height: 50rpx;
  271. }
  272. .details_tabbar_label {
  273. text-align: center;
  274. line-height: 1.8;
  275. font-size: 20rpx;
  276. color: #000;
  277. }
  278. .place_details_tabbar {
  279. height: 100rpx;
  280. }
  281. .see_more_details {
  282. margin: 40rpx auto;
  283. text-align: center;
  284. width: 40%;
  285. padding: 15rpx;
  286. font-size: 30rpx;
  287. border-radius: 8rpx;
  288. color: rgb(255, 78, 78);
  289. border: 1px solid #ff4e4e;
  290. }
  291. .details_tabbar_simple {
  292. text-align: center;
  293. background: rgb(0, 0, 0);
  294. flex: 2 1 0%;
  295. padding: 0;
  296. height: 100rpx;
  297. line-height: 100rpx;
  298. font-size: 30rpx;
  299. color: #fff;
  300. }
  301. .details_tabbar_simple.buy {
  302. background: rgb(255, 78, 78);
  303. }
  304. .details_tabbar_simple.buy.soldout {
  305. flex: 3 1 0%;
  306. }
  307. .simple_shopcart {
  308. position: fixed;
  309. left: 0;
  310. right: 0;
  311. bottom: 0;
  312. z-index: 502;
  313. height: 800rpx;
  314. font-size: 34rpx;
  315. background: #fff;
  316. -webkit-transition: all 0.3s;
  317. transition: all 0.3s;
  318. -webkit-transform: translateY(110%);
  319. transform: translateY(110%);
  320. }
  321. .show_animation {
  322. -webkit-transform: translateY(0);
  323. transform: translateY(0);
  324. }
  325. .animation_popup {
  326. position: fixed;
  327. left: 0;
  328. right: 0;
  329. top: 0;
  330. bottom: 0;
  331. z-index: -1;
  332. background: rgba(0, 0, 0, 0.5);
  333. opacity: 0;
  334. /* -webkit-transition: opacity 400ms;
  335. transition: opacity 400ms; */
  336. }
  337. .animation_popup.show_popup {
  338. z-index: 501;
  339. opacity: 1;
  340. }
  341. .pal30 {
  342. padding-left: 30rpx;
  343. }
  344. .pab30 {
  345. padding-bottom: 30rpx;
  346. }
  347. .simple_goods_info {
  348. width: 100%;
  349. display: flex;
  350. display: -webkit-flex;
  351. -webkit-align-items: center;
  352. align-items: center;
  353. }
  354. .flexbox_item {
  355. flex: 1;
  356. -webkit-flex: 1;
  357. min-width: 20px;
  358. width: 0%;
  359. text-align: left;
  360. margin-left: 8rpx;
  361. }
  362. .goods_small_img {
  363. display: block;
  364. width: 228rpx;
  365. height: 228rpx;
  366. margin-top: -50rpx;
  367. margin-left: 5rpx;
  368. border-radius: 10rpx;
  369. }
  370. .simple_goods_price {
  371. line-height: 50rpx;
  372. font-size: 36rpx;
  373. color: rgb(235, 78, 79);
  374. }
  375. .goods_original_price {
  376. font-size: 24rpx;
  377. color: rgb(167, 167, 167);
  378. }
  379. .simple_goods_spec {
  380. padding: 15rpx 0 15rpx 25rpx;
  381. }
  382. .simple_sec_content {
  383. height: 200rpx;
  384. overflow-x: hidden;
  385. margin: 20rpx 0;
  386. padding-bottom: 30rpx;
  387. }
  388. .sec_content_btn {
  389. display: inline-block;
  390. background: #fff;
  391. color: #000;
  392. border-radius: 5rpx;
  393. padding: 10rpx 15rpx;
  394. font-size: 24rpx;
  395. border: 1rpx solid #000;
  396. margin-right: 15rpx;
  397. margin-bottom: 15rpx;
  398. }
  399. .sec_content_btn.sec_active {
  400. background: #f74d49;
  401. color: #fff;
  402. border: 1rpx solid #fff;
  403. }
  404. .simple_goods_compute {
  405. color: #eb4e4f;
  406. font-size: 40rpx;
  407. display: inline-block;
  408. width: 80rpx;
  409. text-align: center;
  410. }
  411. .simple_goods_result {
  412. display: inline-block;
  413. width: 140rpx;
  414. text-align: center;
  415. font-size: 30rpx;
  416. }
  417. .simple_goods_buy {
  418. position: absolute;
  419. bottom: 0;
  420. left: 0;
  421. right: 0;
  422. background: #eb4e4f;
  423. color: #fff;
  424. border: none;
  425. text-align: center;
  426. height: 90rpx;
  427. line-height: 90rpx;
  428. font-size: 30rpx;
  429. }
  430. .close_btn {
  431. position: absolute;
  432. right: 0;
  433. top: 0;
  434. padding: 15rpx;
  435. width: 40rpx;
  436. height: 40rpx;
  437. }
  438. .close_btn::before, .close_btn::after {
  439. content: '';
  440. position: absolute;
  441. height: 2rpx;
  442. top: 50%;
  443. left: 15rpx;
  444. right: 15rpx;
  445. background: #eb4e4f;
  446. }
  447. .close_btn::before {
  448. -webkit-transform: rotate(45deg);
  449. transform: rotate(45deg);
  450. }
  451. .close_btn::after {
  452. -webkit-transform: rotate(-45deg);
  453. transform: rotate(-45deg);
  454. }
  455. .gifts_wrap {
  456. font-size: 20rpx;
  457. background: #ffe3c6;
  458. border-radius: 5rpx;
  459. padding: 10rpx;
  460. margin-right: 18rpx;
  461. margin-top: 10rpx;
  462. }
  463. .gift_tag {
  464. background: #eb4e4f;
  465. border-radius: 4rpx;
  466. padding: 2rpx;
  467. color: #fff;
  468. }
  469. .gift_underline {
  470. text-decoration: underline;
  471. }