details.wxss 13 KB

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