details.wxss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827
  1. /* pages/details/details.wxss */
  2. @import "../../wxParse/wxParse.wxss";
  3. @import "../confirmOrder/confirmOrder.wxss";
  4. @import "../components/template/loadAnimation/loadAnimation.wxss";
  5. .comment_swiper {
  6. position: absolute;
  7. bottom: 90rpx;
  8. left: 19rpx;
  9. background: rgba(140, 140, 140, 0.5);
  10. max-width: 430rpx;
  11. height: 50rpx;
  12. line-height: 50rpx;
  13. overflow: hidden;
  14. white-space: nowrap;
  15. text-overflow: ellipsis;
  16. border-radius: 30rpx;
  17. padding: 0 21rpx;
  18. box-sizing: border-box;
  19. color: #fff;
  20. font-size: 24rpx;
  21. }
  22. .comment_content {
  23. max-width: 346rpx;
  24. font-size: 24rpx;
  25. height: 40rpx;
  26. line-height: 40rpx;
  27. display: inline-block;
  28. vertical-align: middle;
  29. }
  30. .nickname {
  31. height: 40rpx;
  32. line-height: 40rpx;
  33. font-size: 24rpx;
  34. display: inline-block;
  35. vertical-align: middle;
  36. }
  37. .comment_swiper image {
  38. width: 40rpx;
  39. height: 40rpx;
  40. border-radius: 50rpx;
  41. display: inline-block;
  42. vertical-align: middle;
  43. }
  44. .details_collection {
  45. position: absolute;
  46. bottom: 96rpx;
  47. right: 19rpx;
  48. color: #fff;
  49. padding: 10rpx 30rpx;
  50. background: #7e7e7e;
  51. border-radius: 50rpx;
  52. font-size: 24rpx;
  53. }
  54. .goods_content {
  55. text-align: center;
  56. position: relative;
  57. }
  58. .goods_content::after {
  59. position: absolute;
  60. content: "";
  61. bottom: 0;
  62. left: 0;
  63. width: 100%;
  64. height: 1px;
  65. background: #dadada;
  66. }
  67. .goods_name_title {
  68. font-size: 34rpx;
  69. color: rgb(0, 0, 0);
  70. }
  71. .bonus_price {
  72. font-size: 36rpx;
  73. color: #ef524d;
  74. overflow: hidden;
  75. }
  76. .goods_price {
  77. color: #9b9b9b;
  78. font-size: 22rpx;
  79. }
  80. .goods_desc {
  81. font-size: 24rpx;
  82. display: -webkit-box;
  83. -webkit-box-orient: vertical;
  84. -webkit-line-clamp: 2;
  85. overflow: hidden;
  86. color: #7e7e7e;
  87. min-height: 56rpx;
  88. line-height: 28rpx;
  89. }
  90. .congratulation_text {
  91. position: relative;
  92. padding: 16rpx 0;
  93. margin-left: 25rpx;
  94. color: rgb(167, 167, 167);
  95. font-size: 24rpx;
  96. }
  97. .congratulation_text::after {
  98. content: " ";
  99. position: absolute;
  100. left: 0;
  101. bottom: 1rpx;
  102. right: 0;
  103. height: 1rpx;
  104. border-bottom: 1px solid #c7c7c7;
  105. color: #c7c7c7;
  106. -webkit-transform-origin: 0 100%;
  107. transform-origin: 0 100%;
  108. -webkit-transform: scaleY(0.5);
  109. transform: scaleY(0.5);
  110. }
  111. .congratulation_text.colef524d {
  112. color: #ef524d;
  113. }
  114. .tospecial {
  115. float: right;
  116. padding: 4rpx 16rpx;
  117. margin-right: 25rpx;
  118. background: rgb(236, 92, 86);
  119. border-radius: 20rpx;
  120. color: rgb(242, 203, 100);
  121. font-size: 20rpx;
  122. }
  123. .details_stamps {
  124. /* height: 166rpx; */
  125. padding-top: 40rpx;
  126. padding-bottom: 30rpx;
  127. box-sizing: border-box;
  128. display: flex;
  129. flex-direction: row;
  130. flex-wrap: wrap;
  131. }
  132. .stamps_item {
  133. width: 50%;
  134. display: flex;
  135. align-items: center;
  136. padding-left: 90rpx;
  137. color: #a7a7a7;
  138. font-size: 24rpx;
  139. height: 46rpx;
  140. box-sizing: border-box;
  141. }
  142. .goods_logo {
  143. width: 30rpx;
  144. height: 30rpx;
  145. margin-right: 22rpx;
  146. }
  147. .place-bac247 {
  148. background: rgb(247, 247, 247);
  149. height: 20rpx;
  150. }
  151. .place-bacd9 {
  152. background: #D9D9D9;
  153. height: 1px;
  154. transform: scaleY(.5);
  155. }
  156. /* 评论 */
  157. .comments_box {
  158. padding: 30rpx 30rpx 0;
  159. }
  160. .comments_box.view_img image {
  161. display: block;
  162. width: 100%!important;
  163. }
  164. .comments_box.view_img image.desc_anchor {
  165. display: block;
  166. width: 1px!important;
  167. }
  168. .comments_header {
  169. position: relative;
  170. text-align: center;
  171. height: 42rpx;
  172. font-size: 30rpx;
  173. color: #333333;
  174. }
  175. .all_comments {
  176. position: absolute;
  177. top: 0;
  178. right: 0;
  179. display: flex;
  180. align-items: center;
  181. width: 140rpx;
  182. height: 42rpx;
  183. font-size: 24rpx;
  184. color: #333333;
  185. }
  186. .all_comments_icon {
  187. position: absolute;
  188. right: 0;
  189. margin-left: 10rpx;
  190. width: 16rpx;
  191. height: 30rpx;
  192. }
  193. .comments_basic_info {
  194. margin: 20rpx 0 0;
  195. display: flex;
  196. justify-content: space-between;
  197. align-items: center;
  198. height: 42rpx;
  199. }
  200. .comments_block {
  201. position: relative;
  202. display: flex;
  203. justify-content: space-between;
  204. align-items: center;
  205. height: 70rpx;
  206. margin: 0 24rpx;
  207. color: #a7a7a7;
  208. font-size: 28rpx;
  209. }
  210. .comments_block::after {
  211. content: " ";
  212. position: absolute;
  213. bottom: 0;
  214. right: 0;
  215. left: 0;
  216. height: 1px;
  217. border-bottom: 1px solid #c7c7c7;
  218. color: #c7c7c7;
  219. -webkit-transform-origin: 0 100%;
  220. transform-origin: 0 100%;
  221. -webkit-transform: scaleY(0.5);
  222. transform: scaleY(0.5);
  223. }
  224. .comment {
  225. position: relative;
  226. background: #fff;
  227. color: #a7a7a7;
  228. padding: 0 30rpx;
  229. /* padding-top: 28rpx;
  230. padding-bottom: 20rpx; */
  231. }
  232. .comments_item {
  233. padding-top: 30rpx;
  234. padding-bottom: 30rpx;
  235. }
  236. .user {
  237. overflow: hidden;
  238. margin-bottom: 18rpx;
  239. padding: 0 24rpx;
  240. line-height: 1.6;
  241. }
  242. .member_avatar image {
  243. width: 60rpx;
  244. height: 60rpx;
  245. border-radius: 10rpx;
  246. display: block;
  247. }
  248. .flex-stars {
  249. display: flex;
  250. align-items: center;
  251. height: 44rpx;
  252. }
  253. .star {
  254. /* display: inline-block; */
  255. float: left;
  256. width: 30rpx;
  257. height: 30rpx;
  258. margin-right: 5rpx;
  259. /* vertical-align: middle; */
  260. }
  261. .comment_time {
  262. text-align: right;
  263. font-size: 20rpx;
  264. }
  265. .spec {
  266. padding: 0 24rpx;
  267. margin-bottom: 10rpx;
  268. font-size: 20rpx;
  269. }
  270. .content {
  271. /* padding: 0 24rpx; */
  272. padding-right: 24rpx;
  273. margin-bottom: 0;
  274. font-size: 22rpx;
  275. color: #000;
  276. line-height: 36rpx;
  277. padding-bottom: 10rpx;
  278. }
  279. .attr_list_item {
  280. display: flex;
  281. justify-content: space-between;
  282. align-items: center;
  283. line-height: 70rpx;
  284. padding: 0 25rpx;
  285. overflow: hidden;
  286. font-size: 24rpx;
  287. color: rgb(167, 167, 167);
  288. }
  289. .details_tabbar {
  290. position: fixed;
  291. display: flex;
  292. z-index: 500;
  293. left: 0;
  294. right: 0;
  295. bottom: 0;
  296. background: #fff;
  297. box-shadow: 0 -2rpx 4rpx 0 rgba(0,0,0,0.09);
  298. }
  299. /* .details_tabbar:before {
  300. content: " ";
  301. position: absolute;
  302. left: 0;
  303. top: 0;
  304. right: 0;
  305. height: 1px;
  306. border-top: 1px solid #c0bfc4;
  307. color: #c0bfc4;
  308. -webkit-transform-origin: 0 0;
  309. transform-origin: 0 0;
  310. -webkit-transform: scaleY(0.5);
  311. transform: scaleY(0.5);
  312. } */
  313. .right_line {
  314. position: relative;
  315. }
  316. .right_line::after {
  317. content: '';
  318. position: absolute;
  319. bottom: 0;
  320. top: 0;
  321. right: 0;
  322. width: 1px;
  323. transform: scaleX(.5);
  324. transform-origin: 0 0;
  325. pointer-events: none;
  326. background: #D1D1D1;
  327. }
  328. .details_tabbar_item {
  329. position: relative;
  330. display: block;
  331. -webkit-box-flex: 4;
  332. -webkit-flex: 4;
  333. flex: 4;
  334. font-size: 0;
  335. color: #999;
  336. text-align: center;
  337. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  338. padding: 18rpx 0 0;
  339. }
  340. .tabbar_icon_wrap {
  341. width: 40rpx;
  342. height: 40rpx;
  343. margin: 0 auto 4rpx;
  344. }
  345. .home_icon {
  346. width: 34rpx;
  347. height: 30rpx;
  348. }
  349. .shopcart_icon {
  350. width: 36rpx;
  351. height: 36rpx;
  352. }
  353. .details_tabbar_label {
  354. text-align: center;
  355. line-height: 28rpx;
  356. font-size: 20rpx;
  357. color: #666;
  358. }
  359. .place_details_tabbar {
  360. height: 100rpx;
  361. }
  362. .see_more_details {
  363. margin: 40rpx auto;
  364. text-align: center;
  365. width: 40%;
  366. padding: 15rpx;
  367. font-size: 30rpx;
  368. border-radius: 8rpx;
  369. color: rgb(255, 78, 78);
  370. border: 1px solid #ff4e4e;
  371. }
  372. .details_tabbar_simple {
  373. text-align: center;
  374. background: #D3BB7E;
  375. flex: 10 1 0%;
  376. padding: 0;
  377. height: 100rpx;
  378. line-height: 100rpx;
  379. font-size: 30rpx;
  380. color: #fff;
  381. }
  382. .details_tabbar_simple.buy {
  383. background: #2B2B2B;
  384. }
  385. .details_tabbar_simple.buy.soldout {
  386. flex: 3 1 0%;
  387. }
  388. .simple_shopcart, .simple_explain {
  389. position: fixed;
  390. left: 0;
  391. right: 0;
  392. bottom: 0;
  393. z-index: 502;
  394. font-size: 34rpx;
  395. background: #fff;
  396. -webkit-transition: all 0.3s;
  397. transition: all 0.3s;
  398. -webkit-transform: translateY(110%);
  399. transform: translateY(110%);
  400. }
  401. .simple_shopcart {
  402. height: 800rpx;
  403. }
  404. .simple_explain {
  405. height: 900rpx;
  406. overflow: hidden;
  407. }
  408. .show_animation {
  409. -webkit-transform: translateY(0);
  410. transform: translateY(0);
  411. }
  412. .animation_popup {
  413. position: fixed;
  414. left: 0;
  415. right: 0;
  416. top: 0;
  417. bottom: 0;
  418. z-index: -1;
  419. background: rgba(0, 0, 0, 0.5);
  420. opacity: 0;
  421. /* -webkit-transition: opacity 400ms;
  422. transition: opacity 400ms; */
  423. }
  424. .animation_popup.show_popup {
  425. z-index: 501;
  426. opacity: 1;
  427. }
  428. .pal30 {
  429. padding-left: 30rpx;
  430. }
  431. .pab30 {
  432. padding-bottom: 30rpx;
  433. }
  434. .simple_goods_info {
  435. width: 100%;
  436. display: flex;
  437. display: -webkit-flex;
  438. -webkit-align-items: center;
  439. align-items: center;
  440. }
  441. .flexbox_item {
  442. flex: 1;
  443. -webkit-flex: 1;
  444. min-width: 20px;
  445. width: 0%;
  446. text-align: left;
  447. margin-left: 8rpx;
  448. }
  449. .goods_small_img {
  450. display: block;
  451. width: 228rpx;
  452. height: 228rpx;
  453. margin-top: -50rpx;
  454. margin-left: 5rpx;
  455. border-radius: 10rpx;
  456. }
  457. .simple_goods_price {
  458. line-height: 50rpx;
  459. font-size: 36rpx;
  460. color: #333;
  461. }
  462. .goods_original_price {
  463. font-size: 24rpx;
  464. color: rgb(167, 167, 167);
  465. }
  466. .simple_goods_spec {
  467. padding: 15rpx 0 15rpx 25rpx;
  468. }
  469. .simple_sec_content {
  470. height: 200rpx;
  471. overflow-x: hidden;
  472. margin: 20rpx 0;
  473. padding-bottom: 30rpx;
  474. }
  475. .sec_content_btn {
  476. display: inline-block;
  477. background: #fff;
  478. color: #000;
  479. border-radius: 5rpx;
  480. padding: 10rpx 15rpx;
  481. font-size: 24rpx;
  482. border: 1rpx solid #000;
  483. margin-right: 15rpx;
  484. margin-bottom: 15rpx;
  485. }
  486. .sec_content_btn.sec_active {
  487. background: #2b2b2b;
  488. color: #fff;
  489. border: 1rpx solid #fff;
  490. }
  491. .simple_goods_compute {
  492. color: #333;
  493. font-size: 40rpx;
  494. display: inline-block;
  495. width: 80rpx;
  496. text-align: center;
  497. }
  498. .simple_goods_result {
  499. display: inline-block;
  500. width: 140rpx;
  501. text-align: center;
  502. font-size: 30rpx;
  503. }
  504. .simple_goods_buy {
  505. position: absolute;
  506. bottom: 0;
  507. left: 0;
  508. right: 0;
  509. background: #2b2b2b;
  510. color: #fff;
  511. border: none;
  512. text-align: center;
  513. height: 90rpx;
  514. line-height: 90rpx;
  515. font-size: 30rpx;
  516. }
  517. .close_btn,.close_explain {
  518. position: absolute;
  519. right: 0;
  520. top: 0;
  521. padding: 15rpx;
  522. }
  523. .close_btn {
  524. width: 40rpx;
  525. height: 40rpx;
  526. }
  527. .close_explain {
  528. width: 100rpx;
  529. height: 100rpx;
  530. }
  531. .close_btn::before, .close_btn::after {
  532. content: '';
  533. position: absolute;
  534. height: 2rpx;
  535. top: 50%;
  536. left: 15rpx;
  537. right: 15rpx;
  538. background: #2b2b2b;
  539. }
  540. .close_btn::before {
  541. -webkit-transform: rotate(45deg);
  542. transform: rotate(45deg);
  543. }
  544. .close_btn::after {
  545. -webkit-transform: rotate(-45deg);
  546. transform: rotate(-45deg);
  547. }
  548. .gifts_wrap {
  549. font-size: 20rpx;
  550. background: #ffe3c6;
  551. border-radius: 5rpx;
  552. padding: 10rpx;
  553. margin-right: 18rpx;
  554. margin-top: 10rpx;
  555. }
  556. .gift_tag {
  557. background: #2b2b2b;
  558. border-radius: 4rpx;
  559. padding: 2rpx;
  560. color: #fff;
  561. }
  562. .gift_underline {
  563. text-decoration: underline;
  564. }
  565. /* 新版 */
  566. .imageHeight {
  567. position: absolute;
  568. z-index: -1;
  569. opacity: 0;
  570. width: 1px;
  571. height: 1px;
  572. }
  573. .align_center {
  574. display: flex;
  575. align-items: center;
  576. }
  577. .n_goods_content {
  578. padding: 20rpx 48rpx 20rpx 30rpx;
  579. }
  580. .n_price_content {
  581. height: 48rpx;
  582. }
  583. .n_goods_title {
  584. margin-top: 20rpx;
  585. line-height: 50rpx;
  586. font-size: 34rpx;
  587. font-weight: bold;
  588. color: #333333;
  589. }
  590. .promotion_header {
  591. padding-left: 30rpx;
  592. background: #FFEEBD;
  593. font-size: 24rpx;
  594. color: #7E7E7E;
  595. height: 48rpx;
  596. }
  597. .promotion_single {
  598. padding: 2rpx 8rpx;
  599. margin-right: 10rpx;
  600. font-size: 20rpx;
  601. border-radius: 40rpx;
  602. color: #fff;
  603. background: #2b2b2b;
  604. }
  605. .brand_auth {
  606. position: relative;
  607. float: left;
  608. margin-top: 7rpx;
  609. margin-right: 10rpx;
  610. padding: 10rpx 10rpx 6rpx;
  611. height: 20rpx;
  612. line-height: 20rpx;
  613. font-size: 20rpx;
  614. color: #2B2B2B;
  615. }
  616. .brand_auth::after {
  617. content: '';
  618. position: absolute;
  619. top: 0;
  620. left: 0;
  621. width: 200%;
  622. height: 200%;
  623. transform: scale(.5);
  624. transform-origin: 0 0;
  625. pointer-events: none;
  626. box-sizing: border-box;
  627. border: 0 solid #2b2b2b;
  628. border-radius: 40rpx;
  629. border-width: 1px;
  630. }
  631. .ensure_desc {
  632. position: relative;
  633. padding: 30rpx 50rpx 30rpx 30rpx;
  634. }
  635. .see_ensure_wrap {
  636. position: absolute;
  637. display: flex;
  638. align-items: center;
  639. justify-content: center;
  640. width: 100rpx;
  641. right: 0;
  642. top: 0;
  643. bottom: 0;
  644. }
  645. .see_ensure_desc {
  646. width: 16rpx;
  647. height: 30rpx;
  648. position: absolute;
  649. top: 50%;
  650. margin-top: -15rpx;
  651. right: 30rpx;
  652. }
  653. .ensure_desc_text {
  654. margin-top: 10rpx;
  655. line-height: 34rpx;
  656. font-size: 24rpx;
  657. color: #666666;
  658. }
  659. .stamps_list {
  660. display: flex;
  661. }
  662. .n_stamps_item {
  663. display: flex;
  664. /* flex: 0 1 auto; */
  665. align-items: center;
  666. margin-right: 50rpx;
  667. color: #666;
  668. font-size: 24rpx;
  669. height: 40rpx;
  670. box-sizing: border-box;
  671. }
  672. .stamp_pic {
  673. width: 40rpx;
  674. height: 40rpx;
  675. margin-right: 10rpx;
  676. }
  677. .stamp_pic.zg {
  678. width: 35rpx;
  679. }
  680. .content_img {
  681. display: inline-block;
  682. width: 116rpx;
  683. height: 116rpx;
  684. margin: 24rpx 24rpx 24rpx 0;
  685. vertical-align: middle
  686. }
  687. .content_src_img {
  688. max-width: 100%;
  689. max-height: 100%;
  690. }
  691. .scroll-view_H{
  692. white-space: nowrap;
  693. }
  694. .scroll-view-item_H{
  695. display: inline-block;
  696. vertical-align: middle;
  697. }
  698. .bundle_scroll_view {
  699. width: 160rpx;
  700. }
  701. .scroll_place {
  702. margin: 0 10rpx;
  703. height: 160rpx;
  704. line-height: 160rpx;
  705. vertical-align: top;
  706. }
  707. .bundle_img {
  708. width: 160rpx;
  709. height: 160rpx;
  710. border: 1rpx solid #d9d9d9;
  711. }
  712. .bundle_desc {
  713. white-space: normal;
  714. font-size: 20rpx;
  715. line-height: 30rpx;
  716. height: 60rpx;
  717. overflow: hidden;
  718. }
  719. .transform_bundleList_wrapper {
  720. width: 60rpx;
  721. height: 60rpx;
  722. }
  723. .transform_bundleList {
  724. margin-left: 44rpx;
  725. width: 16rpx;
  726. height: 30rpx;
  727. transform: rotate(90deg);
  728. }
  729. .transform_bundleList.bundle_active {
  730. transform: rotate(-90deg);
  731. }
  732. /* .default_place_flex {
  733. -webkit-flex:1;
  734. flex:1;
  735. } */
  736. .add_bundle_cart {
  737. padding: 12rpx 44rpx;
  738. margin-left: 50rpx;
  739. background: #2b2b2b;
  740. color: #fff;
  741. font-weight: bold;
  742. font-size: 30rpx;
  743. border-radius: 6rpx;
  744. }
  745. .bundle_list_hide {
  746. display: none;
  747. }