details.wxss 8.4 KB

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