details.wxss 13 KB

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