金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1267 lines
31 KiB

  1. @import "../../../common/css/global";
  2. .details_contanier{
  3. width: 100%;
  4. position: relative;
  5. .details_head{
  6. width:100%px;
  7. padding: 15px;
  8. height:179px;
  9. background:#FB5054;
  10. border-radius: 0px 0px 50px 50px;
  11. display: flex;
  12. flex-direction: row;
  13. .rule{
  14. width:74px;
  15. height:24px;
  16. color: #ffffff;
  17. background:rgba(17, 17, 17, 0.1);
  18. border-radius:100px 0px 0px 100px;
  19. position: absolute;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. top: 15px;
  24. right: 0;
  25. font-size:11px;
  26. }
  27. .head_photo{
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. width:55px;
  32. height:55px;
  33. border-radius: 50%;
  34. background:rgba(237,242,252,1);
  35. image{
  36. width: 100%;
  37. height: 100%;
  38. border-radius: 59%;
  39. }
  40. }
  41. .head_message{
  42. display: flex;
  43. flex-direction: column;
  44. margin-left: 6px;
  45. .name{
  46. display: flex;
  47. justify-content: start;
  48. align-items: center;
  49. height:17px;
  50. font-size:12px;
  51. font-weight:400;
  52. color:#FFFFFF;
  53. line-height:17px;
  54. margin-top:7px;
  55. }
  56. .notice{
  57. display: flex;
  58. justify-content: center;
  59. align-items: center;
  60. height:17px;
  61. font-size:12px;
  62. font-weight:400;
  63. color:#FFFFFF;
  64. line-height:17px;
  65. margin-top: 4px;
  66. }
  67. }
  68. }
  69. .details_body{
  70. margin-top: -95px;
  71. position: relative;
  72. width:92%;
  73. margin-left: 4%;
  74. background:rgba(255,255,255,1);
  75. border-radius:6px;
  76. padding: 15px;
  77. display: flex;
  78. flex-direction: column;
  79. .goods_message{
  80. display: flex;
  81. flex-direction:row;
  82. margin-bottom: 15px;
  83. align-items: center;
  84. .goods_left{
  85. width:90px;
  86. margin-right: 15px;
  87. image{
  88. width: 100%;
  89. }
  90. }
  91. .goods_right{
  92. display: flex;
  93. flex-direction: column;
  94. flex: 1;
  95. .goods_name{
  96. font-size:13px;
  97. font-weight:400;
  98. color:rgba(17,17,17,1);
  99. line-height:20px;
  100. display: flex;
  101. flex-wrap: wrap;
  102. word-break: break-all;
  103. word-wrap: break-word;
  104. overflow: hidden;
  105. text-overflow: ellipsis;
  106. display: -webkit-box;
  107. -webkit-line-clamp: 2;
  108. line-clamp: 2;
  109. -webkit-box-orient: vertical;
  110. }
  111. .past_price{
  112. text-decoration: line-through;
  113. height:17px;
  114. font-size:12px;
  115. font-weight:400;
  116. color:rgba(102,102,102,1);
  117. line-height:17px;
  118. margin-top: 7px;
  119. }
  120. .new_price{
  121. height:20px;
  122. font-size:12px;
  123. font-family:PingFangSC;
  124. font-weight:600;
  125. color:rgba(251,80,84,1);
  126. line-height:17px;
  127. margin-top: 6px;
  128. }
  129. }
  130. }
  131. .text_message{
  132. position: relative;
  133. display: flex;
  134. justify-content: center;
  135. // align-items: center;
  136. max-width: 222rpx;
  137. padding:0 18px;
  138. height:20px;
  139. color: #FFFFFF;
  140. font-size:12px;
  141. background:rgba(251,80,84,1);
  142. border-radius:2px;
  143. &::after{
  144. content: '';
  145. width: 0px;
  146. height: 0px;
  147. border-top: 10px solid #fb5054;
  148. border-left: 5px solid transparent;
  149. border-right: 5px solid transparent;
  150. position: absolute;
  151. bottom:-10px;
  152. right: 50%;
  153. }
  154. }
  155. .text-copy{
  156. position: relative;
  157. display: flex;
  158. justify-content: center;
  159. align-items: center;
  160. max-width: 222rpx;
  161. padding:0 18px;
  162. height:20px;
  163. color: #FFFFFF;
  164. font-size:12px;
  165. background:#AAAAAA;
  166. border-radius:2px;
  167. &::after{
  168. content: '';
  169. width: 0px;
  170. height: 0px;
  171. border-top: 10px solid #AAAAAA;
  172. border-left: 5px solid transparent;
  173. border-right: 5px solid transparent;
  174. position: absolute;
  175. bottom:-10px;
  176. right: 50%;
  177. }
  178. }
  179. .bar{
  180. margin-top: 15px;
  181. width:100%;
  182. height:4px;
  183. background:rgba(238,238,238,1);
  184. border-radius:4px;
  185. .bar_length{
  186. background: #FB5054;
  187. }
  188. }
  189. .tips{
  190. display: flex;
  191. justify-content: center;
  192. align-items: center;
  193. height:18px;
  194. font-size:12px;
  195. font-weight:400;
  196. color:rgba(102,102,102,1);
  197. line-height:16px;
  198. margin: 16px auto;
  199. }
  200. .btn{
  201. display: flex;
  202. justify-content: center;
  203. align-items: center;
  204. width:100%;
  205. height: 44px;
  206. color: #FFFFFF;
  207. background:rgba(251,80,84,1);
  208. box-shadow:0px 2px 4px 0px rgba(0,0,0,0.1);
  209. border-radius:22px;
  210. margin-bottom: 20px;
  211. }
  212. .can_buy{
  213. display: flex;
  214. align-items: center;
  215. width: 100%;
  216. flex-direction: row;
  217. justify-content:center;
  218. .btn{
  219. display: flex;
  220. justify-content: center;
  221. align-items: center;
  222. width:100%;
  223. height: 44px;
  224. color: #FFFFFF;
  225. background:rgba(251,80,84,1);
  226. box-shadow:0px 2px 4px 0px rgba(0,0,0,0.1);
  227. border-radius:22px;
  228. }
  229. .invite{
  230. width:44%;
  231. height:44px;
  232. color: #FFFFFF;
  233. background:rgba(251,80,84,1);
  234. box-shadow:0px 2px 4px 0px rgba(0,0,0,0.1);
  235. border-radius:22px;
  236. display: flex;
  237. align-content: center;
  238. justify-content: center;
  239. text{
  240. display: flex;
  241. justify-content: center;
  242. align-items: center;
  243. font-size:15px;
  244. }
  245. }
  246. .now_buy{
  247. color: #FFFFFF;
  248. font-size:15px;
  249. margin-left: 12%;
  250. display: flex;
  251. justify-content: center;
  252. align-items: center;
  253. width:44%;
  254. height:44px;
  255. background:rgba(170,170,170,1);
  256. box-shadow:0px 2px 4px 0px rgba(0,0,0,0.1);
  257. border-radius:22px;
  258. }
  259. }
  260. .btn2{
  261. display: flex;
  262. justify-content: start;
  263. flex-direction: row;
  264. width:100%;
  265. height: 44px;
  266. color: #FFFFFF;
  267. margin-bottom: 40px;
  268. .child_btn1{
  269. display: flex;
  270. justify-content: center;
  271. align-items: center;
  272. width:45%;
  273. height:44px;
  274. background:rgba(251,80,84,1);
  275. box-shadow:0px 2px 4px 0px rgba(0,0,0,0.1);
  276. border-radius:22px;
  277. }
  278. .child_btn2{
  279. margin-left: 10%;
  280. display: flex;
  281. justify-content: center;
  282. align-items: center;
  283. width:45%;
  284. height:44px;
  285. background:rgba(170,170,170,1);
  286. box-shadow:0px 2px 4px 0px rgba(0,0,0,0.1);
  287. border-radius:22px;
  288. }
  289. }
  290. .count_down{
  291. width: 84%;
  292. display: flex;
  293. margin:10px auto;
  294. justify-content: center;
  295. .text{
  296. display: flex;
  297. width:163px;
  298. color: black;
  299. justify-content: center;
  300. }
  301. .tiem{
  302. display: flex;
  303. align-items: center;
  304. }
  305. }
  306. .person_number{
  307. position: relative;
  308. border-top: #CCCCCC 1px dotted;
  309. width:100%;
  310. background:rgba(255,255,255,1);
  311. border-radius:6px;
  312. .left{
  313. position: absolute;
  314. top: -10px;
  315. left: -20px;
  316. border-radius: 50%;
  317. width:20px;
  318. height:20px;
  319. background:rgba(243,243,243,1);
  320. }
  321. .right{
  322. position: absolute;
  323. top: -10px;
  324. right: -20px;
  325. border-radius: 50%;
  326. width:20px;
  327. height:20px;
  328. background:rgba(243,243,243,1);
  329. }
  330. .title{
  331. display: flex;
  332. justify-content: center;
  333. align-items: center;
  334. margin-top: 10px;
  335. }
  336. .person_tips{
  337. display: flex;
  338. justify-content: center;
  339. align-items: center;
  340. height:16px;
  341. font-size:11px;
  342. font-family:PingFangSC;
  343. font-weight:400;
  344. color:rgba(170,170,170,1);
  345. line-height:16px;
  346. }
  347. .person_list{
  348. display: flex;
  349. flex-direction: column;
  350. .hero_box{
  351. display: flex;
  352. flex-direction: row;
  353. align-items: center;
  354. width: 100%;
  355. margin-bottom: 5px;
  356. .hero_message{
  357. display: flex;
  358. flex-direction: row;
  359. .head_img{
  360. width:40px;
  361. height:40px;
  362. background:rgba(237,242,252,1);
  363. border-radius: 50%;
  364. image{
  365. width: 100%;
  366. height: 100%;
  367. }
  368. }
  369. .message_box{
  370. display: flex;
  371. flex-direction: column;
  372. margin-left: 5px;
  373. .message_name{
  374. display: flex;
  375. font-weight:400;
  376. align-items: center;
  377. font-size: 12px;
  378. }
  379. .message_share{
  380. display: flex;
  381. align-items: center;
  382. font-size: 12px;
  383. }
  384. }
  385. }
  386. .reduce_money{
  387. display: flex;
  388. justify-content: flex-end;
  389. align-items: center;
  390. font-size:12px;
  391. flex: 1;
  392. flex-wrap: nowrap;
  393. }
  394. }
  395. }
  396. }
  397. }
  398. .img{
  399. width: 92%;
  400. margin: auto;
  401. image{
  402. width: 100%;
  403. }
  404. }
  405. .box_body{
  406. display: flex;
  407. position: fixed;
  408. background: rgba(17,17,17,.5);
  409. top: 0;
  410. bottom: 0;
  411. left: 0;
  412. right: 0;
  413. flex-direction: column;
  414. align-items: center;
  415. .rule_box{
  416. width: 84%;
  417. height: 60%;
  418. font-size: 13px;
  419. padding: 15px;
  420. background: #fff;
  421. border-radius: 6px;
  422. top: 84px;
  423. z-index: 999;
  424. margin-top: 79px;
  425. overflow: scroll;
  426. }
  427. .icon-close{
  428. color: #FFF;
  429. border-radius: 50%;
  430. bottom: 80px;
  431. border: 1px solid #fff;
  432. box-sizing: border-box;
  433. width: 27px;
  434. height: 27px;
  435. display: flex;
  436. justify-content: center;
  437. margin-top: 20px;
  438. }
  439. .notice_box{
  440. display: flex;
  441. align-items: center;
  442. flex-direction: column;
  443. width:92%;
  444. height:340px;
  445. background:rgba(255,255,255,1);
  446. border-radius:6px;
  447. margin-top: 86px;
  448. padding:15px;
  449. .icon-xiaolian1{
  450. display: flex;
  451. font-size: 100px;
  452. align-items: center;
  453. color: #999999;
  454. height: 100px;
  455. margin-top: 30px;
  456. }
  457. .thanks{
  458. display: flex;
  459. justify-content: center;
  460. align-items: center;
  461. width:140px;
  462. font-size:15px;
  463. font-weight:600;
  464. color:rgba(51,51,51,1);
  465. line-height:24px;
  466. flex-wrap: wrap;
  467. margin-top:20px;
  468. }
  469. .true_btn{
  470. display: flex;
  471. justify-content: center;
  472. align-items: center;
  473. width:88%;
  474. height:50px;
  475. background:rgba(251,80,84,1);
  476. border-radius:6px;
  477. margin-top: 35px;
  478. color: #FFFFFF;
  479. }
  480. .gostore{
  481. display: flex;
  482. justify-content: center;
  483. height:18px;
  484. font-size:13px;
  485. font-weight:400;
  486. color:rgba(102,102,102,1);
  487. line-height:18px;
  488. margin-top: 20px;
  489. }
  490. .icon-kulian{
  491. display: flex;
  492. font-size: 100px;
  493. align-items: center;
  494. color: #999999;
  495. height: 100px;
  496. margin-top: 30px;
  497. }
  498. .tells{
  499. display: flex;
  500. justify-content: center;
  501. flex-direction: column;
  502. width:180px;
  503. height:48px;
  504. font-size:15px;
  505. font-weight:600;
  506. color:rgba(51,51,51,1);
  507. line-height:24px;
  508. margin-top: 20px;
  509. text{
  510. display: flex;
  511. justify-content: center;
  512. align-items: center;
  513. }
  514. }
  515. .btn_gostore{
  516. margin-top: 39px;
  517. display: flex;
  518. justify-content: center;
  519. align-items: center;
  520. color: #FFFFFF;
  521. width:92%;
  522. height:50px;
  523. background:rgba(251,80,84,1);
  524. border-radius:6px;
  525. }
  526. }
  527. .share_box{
  528. position: absolute;
  529. bottom: -2px;
  530. width: 100%;
  531. height:172px;
  532. display: flex;
  533. flex-direction: column;
  534. .share_way{
  535. padding-top: 23px;
  536. width:100%;
  537. height:120px;
  538. display: flex;
  539. flex-direction: row;
  540. background: #ffffff;
  541. button::after {
  542. border: none;
  543. }
  544. .friends{
  545. display: flex;
  546. flex-direction: column;
  547. justify-content: start;
  548. align-items: center;
  549. margin-left: 20%;
  550. background: #fff;
  551. .icon--weixin{
  552. display: flex;
  553. justify-content: center;
  554. align-items: center;
  555. width:50px;
  556. height:50px;
  557. font-size: 25px;
  558. border-radius: 50%;
  559. background: green;
  560. color: #2AB229;
  561. }
  562. .text{
  563. margin-top: 8px;
  564. display: flex;
  565. justify-content: center;
  566. align-items: center;
  567. padding: 0;
  568. border: 0px;
  569. height: 25px;
  570. font-size: 14px;
  571. }
  572. }
  573. .post{
  574. display: flex;
  575. flex-direction: column;
  576. align-items: center;
  577. margin-left: 20%;
  578. margin-right: 20%;
  579. .icon-tupian{
  580. display: flex;
  581. justify-content: center;
  582. align-items: center;
  583. width:50px;
  584. height:50px;
  585. font-size: 25px;
  586. border-radius: 50%;
  587. background: green;
  588. color: #2AB229;
  589. }
  590. .text{
  591. margin-top: 8px;
  592. display: flex;
  593. justify-content: center;
  594. align-items: center;
  595. font-size: 14px;
  596. }
  597. }
  598. }
  599. .exit{
  600. width: 100%;
  601. height: 50px;
  602. display: flex;
  603. justify-content: center;
  604. align-items: center;
  605. margin-top: 0.75px;
  606. background: #ffffff;
  607. }
  608. }
  609. }
  610. //分享到朋友圈弹出
  611. .share-img-box {
  612. background:rgba(0,0,0,.8);
  613. position: fixed;
  614. bottom: 0;
  615. top: 0;
  616. left: 0;
  617. right: 0;
  618. transition:all .3s linear;
  619. .imgs-box {
  620. background: #F3F3F3;
  621. border-radius: 10px;
  622. height: 93%;
  623. width: 90%;
  624. margin: 10px auto;
  625. overflow: hidden;
  626. .img{
  627. box-shadow:0px 4px 8px 0px rgba(155,155,155,0.5);
  628. border-radius: 6px;
  629. margin: 30px auto;
  630. height: 75%;
  631. box-sizing: border-box;
  632. image{
  633. vertical-align:middle;
  634. width: 100%;
  635. height: 100%;
  636. }
  637. }
  638. .text {
  639. text-align: center;
  640. margin-top: 22px;
  641. font-size: 12px;
  642. color: #9B9B9B;
  643. }
  644. .save {
  645. background: @mainColor;
  646. height: 44px;
  647. line-height: 44px;
  648. color: #ffffff;
  649. text-align: center;
  650. border-radius: 10px;
  651. margin: 10px 20px;
  652. }
  653. i{
  654. position: absolute;
  655. top: 0px;
  656. right: 0px;
  657. color: #CCCCCC;
  658. font-size: 30px;
  659. }
  660. }
  661. &.cur{
  662. height: 100%;
  663. }
  664. }
  665. .new-module{
  666. background-color: #fff;
  667. margin:10px 0;
  668. .select-sku-box {
  669. display: flex;
  670. align-items: center;
  671. padding: 10px 15px;
  672. justify-content: space-between;
  673. .title{
  674. width: 30px;
  675. color:#333333;
  676. font-weight: 700;
  677. font-size: 13px;
  678. }
  679. .sku-info {
  680. display: flex;
  681. color: #666;
  682. font-size: 12px;
  683. line-height: 17px;
  684. }
  685. .iconfont {
  686. font-size: 14px;
  687. color: #999999;
  688. margin-left: 5px;
  689. }
  690. }
  691. .new-addbox{
  692. width: 100%;
  693. image{
  694. width: 100%;
  695. vertical-align: middle;
  696. }
  697. }
  698. }
  699. .select_spec {
  700. font-size: 12px;
  701. padding: 12px 8px 50px 8px;
  702. .spec_line {
  703. display: flex;
  704. margin-bottom: 15px;
  705. .spec_title {
  706. padding-right: 11px;
  707. color: #c4c4c4;
  708. width: 50px;
  709. line-height: 35px;
  710. }
  711. .spec_list {
  712. display: block;
  713. line-height:35px;
  714. color:#959595;
  715. font-size:15px;
  716. }
  717. .spec_block {
  718. display: inline-block;
  719. margin-top: 10px;
  720. margin-right: 10px;
  721. .spec_text {
  722. display: block;
  723. padding: 0 7px;
  724. height: 33px;
  725. line-height: 33px;
  726. min-width: 33px;
  727. border: 1px solid #DDDDDD;
  728. text-align: center;
  729. font-size: 12px;
  730. position: relative;
  731. .border-color {
  732. position: absolute;
  733. top: -1px;
  734. left: -1px;
  735. right: -1px;
  736. bottom: -1px;
  737. border: 3px solid @mainColor;
  738. }
  739. }
  740. image {
  741. height: 100%;
  742. width: 100%;
  743. }
  744. .spec_icon {
  745. width: 35px;
  746. height: 35px;
  747. padding: 0;
  748. }
  749. &.disabled text {
  750. border: none;
  751. margin: 1px;
  752. &:before {
  753. content: '';
  754. position: absolute;
  755. background-color: #eee;
  756. top: -1px;
  757. left: -1px;
  758. right: -1px;
  759. bottom: -1px;
  760. opacity: 0.6;
  761. }
  762. &:after {
  763. content: '';
  764. position: absolute;
  765. border: 3px dashed #cfcfcf;
  766. top: -1px;
  767. left: -1px;
  768. right: -1px;
  769. bottom: -1px;
  770. }
  771. }
  772. }
  773. .num_title {
  774. padding-right: 11px;
  775. color: #c4c4c4;
  776. width: 50px;
  777. line-height: 30px;
  778. }
  779. .num_value {
  780. display: flex;
  781. font-size: 0;
  782. text {
  783. display: block;
  784. border: 1px solid #e8e8e8;
  785. text-align: center;
  786. min-width: 28px;
  787. width: 28px;
  788. height: 28px;
  789. line-height: 28px;
  790. font-size: 12px;
  791. &.store {
  792. width: auto;
  793. border-color: #ffffff;
  794. margin-left: 10px;
  795. }
  796. }
  797. input {
  798. display: block;
  799. border: none;
  800. height: 100%;
  801. width: 100%;
  802. text-align: center;
  803. outline: none;
  804. font-size: 12px;
  805. }
  806. .none_border {
  807. width: 30px;
  808. border:1px solid #e8e8e8;
  809. border-left: none;
  810. border-right: none;
  811. }
  812. }
  813. }
  814. }
  815. .maks{
  816. position: fixed;
  817. bottom: 0;
  818. top: 0;
  819. left: 0;
  820. right: 0;
  821. background: rgba(0,0,0,.6);
  822. transition: opacity .3s ease;
  823. display: none;
  824. &.cur{
  825. display: block;
  826. }
  827. }
  828. /*选取规格部分*/
  829. .select_goods_container {
  830. background: #ffffff;
  831. position: relative;
  832. z-index:100;
  833. .select_goods_cloese {
  834. position: absolute;
  835. top:12px;
  836. right:10px;
  837. width:20px;
  838. height:20px;
  839. background: transparent;
  840. z-index:4;
  841. overflow:visible;
  842. }
  843. .select_goods_cloese:before{
  844. position: absolute;
  845. top:9px;
  846. left:-1px;
  847. content: '';
  848. width:28px;
  849. height:2px;
  850. background: #2e2e2e;
  851. transform: rotate(45deg) ;
  852. }
  853. .select_goods_cloese:after{
  854. top:9px;
  855. left:-1px;
  856. position: absolute;
  857. content: '';
  858. width:28px;
  859. height:2px;
  860. background: #2e2e2e;
  861. transform: rotate(-45deg);
  862. }
  863. .select_goods_header{
  864. display: flex;
  865. align-items: center;
  866. position: relative;
  867. height: 60px;
  868. .img_box {
  869. position: absolute;
  870. left: 10px;
  871. bottom: 10px;
  872. width: 78px;
  873. height: 78px;
  874. border: 1px solid #e5e5e5;
  875. background: #f9f9f9;
  876. overflow: hidden;
  877. image {
  878. width:78px;
  879. height:78px;
  880. object-fit: fill;
  881. }
  882. }
  883. .price_item {
  884. font-size:18px;
  885. margin-left:20px;
  886. height:100%;
  887. margin-left: 100px;
  888. display:-webkit-flex;
  889. flex-direction: column;
  890. justify-content: center;
  891. text {
  892. display: block;
  893. text-align: left;
  894. }
  895. text:nth-child(1){
  896. font-weight:bold;
  897. color:#C1870C;
  898. }
  899. text:nth-child(2){
  900. font-size:14px;
  901. color:#6c6c6c;
  902. text-indent:3px
  903. }
  904. }
  905. }
  906. .select_spec {
  907. font-size: 12px;
  908. padding: 12px 8px 50px 8px;
  909. .spec_line {
  910. display: flex;
  911. margin-bottom: 15px;
  912. .spec_title {
  913. padding-right: 11px;
  914. color: #c4c4c4;
  915. width: 50px;
  916. line-height: 35px;
  917. }
  918. .spec_list {
  919. display: block;
  920. line-height:35px;
  921. color:#959595;
  922. font-size:15px;
  923. }
  924. .spec_block {
  925. display: inline-block;
  926. margin-top: 10px;
  927. margin-right: 10px;
  928. .spec_text {
  929. display: block;
  930. padding: 0 7px;
  931. height: 33px;
  932. line-height: 33px;
  933. min-width: 33px;
  934. border: 1px solid #DDDDDD;
  935. text-align: center;
  936. font-size: 12px;
  937. position: relative;
  938. .border-color {
  939. position: absolute;
  940. top: -1px;
  941. left: -1px;
  942. right: -1px;
  943. bottom: -1px;
  944. border: 3px solid @mainColor;
  945. }
  946. }
  947. image {
  948. height: 100%;
  949. width: 100%;
  950. }
  951. .spec_icon {
  952. width: 35px;
  953. height: 35px;
  954. padding: 0;
  955. }
  956. &.active text {
  957. /*&:before {
  958. content: '';
  959. position: absolute;
  960. border: 3px solid @mainColor;
  961. top: -1px;
  962. left: -1px;
  963. right: -1px;
  964. bottom: -1px;
  965. }*/
  966. }
  967. &.disabled text {
  968. border: none;
  969. margin: 1px;
  970. &:before {
  971. content: '';
  972. position: absolute;
  973. background-color: #eee;
  974. top: -1px;
  975. left: -1px;
  976. right: -1px;
  977. bottom: -1px;
  978. opacity: 0.6;
  979. }
  980. &:after {
  981. content: '';
  982. position: absolute;
  983. border: 3px dashed #cfcfcf;
  984. top: -1px;
  985. left: -1px;
  986. right: -1px;
  987. bottom: -1px;
  988. }
  989. }
  990. }
  991. .num_title {
  992. padding-right: 11px;
  993. color: #c4c4c4;
  994. width: 50px;
  995. line-height: 30px;
  996. }
  997. .num_value {
  998. display: flex;
  999. font-size: 0;
  1000. text {
  1001. display: block;
  1002. border: 1px solid #e8e8e8;
  1003. text-align: center;
  1004. min-width: 28px;
  1005. width: 28px;
  1006. height: 28px;
  1007. line-height: 28px;
  1008. font-size: 12px;
  1009. &.store {
  1010. width: auto;
  1011. border-color: #ffffff;
  1012. margin-left: 10px;
  1013. }
  1014. }
  1015. input {
  1016. display: block;
  1017. border: none;
  1018. height: 100%;
  1019. width: 100%;
  1020. text-align: center;
  1021. outline: none;
  1022. font-size: 12px;
  1023. }
  1024. .none_border {
  1025. width: 30px;
  1026. border:1px solid #e8e8e8;
  1027. border-left: none;
  1028. border-right: none;
  1029. }
  1030. }
  1031. }
  1032. }
  1033. }
  1034. .detail-popup {
  1035. width:100%;
  1036. position: fixed;
  1037. left: 0;
  1038. bottom: 0px;
  1039. z-index: 51;
  1040. transform:translate3d(0,100,0);
  1041. /*选取规格部分*/
  1042. .select_spec {
  1043. font-size: 12px;
  1044. padding: 12px 8px 50px 8px;
  1045. .spec_line {
  1046. display: flex;
  1047. margin-bottom: 15px;
  1048. .spec_title {
  1049. padding-right: 11px;
  1050. color: #c4c4c4;
  1051. width: 50px;
  1052. line-height: 35px;
  1053. }
  1054. .spec_list {
  1055. display: block;
  1056. line-height:35px;
  1057. color:#959595;
  1058. font-size:15px;
  1059. }
  1060. .spec_value {
  1061. flex: 1;
  1062. font-size: 0;
  1063. margin-top: -10px;
  1064. view{
  1065. overflow: hidden;
  1066. }
  1067. }
  1068. .spec_block {
  1069. display: inline-block;
  1070. margin-top: 10px;
  1071. margin-right: 10px;
  1072. text {
  1073. display: block;
  1074. padding: 0 7px;
  1075. height: 33px;
  1076. line-height: 33px;
  1077. min-width: 20px;
  1078. border: 1px solid #DDDDDD;
  1079. text-align: center;
  1080. font-size: 12px;
  1081. position: relative;
  1082. }
  1083. image {
  1084. height: 100%;
  1085. width: 100%;
  1086. }
  1087. &.disabled view {
  1088. border: none;
  1089. margin: 1px;
  1090. &:before {
  1091. content: '';
  1092. position: absolute;
  1093. background-color: #eee;
  1094. top: -1px;
  1095. left: -1px;
  1096. right: -1px;
  1097. bottom: -1px;
  1098. opacity: 0.6;
  1099. }
  1100. &:after {
  1101. content: '';
  1102. position: absolute;
  1103. border: 3px dashed #cfcfcf;
  1104. top: -1px;
  1105. left: -1px;
  1106. right: -1px;
  1107. bottom: -1px;
  1108. }
  1109. }
  1110. }
  1111. .num_title {
  1112. padding-right: 11px;
  1113. color: #c4c4c4;
  1114. width: 50px;
  1115. line-height: 30px;
  1116. }
  1117. .purchase{
  1118. line-height: 30px;
  1119. color:#aaaaaa;
  1120. margin-left: 10px;
  1121. }
  1122. //.num_value {
  1123. // display: flex;
  1124. // flex: 1;
  1125. // font-size: 0;
  1126. //
  1127. // text {
  1128. // display: block;
  1129. // border: 1px solid #e8e8e8;
  1130. // text-align: center;
  1131. // min-width: 28px;
  1132. // width: 28px;
  1133. // height: 28px;
  1134. // line-height: 28px;
  1135. // font-size: 12px;
  1136. //
  1137. // &.store {
  1138. // width: auto;
  1139. // border-color: #ffffff;
  1140. // margin-left: 10px;
  1141. // }
  1142. // }
  1143. //
  1144. // input {
  1145. // display: block;
  1146. // border: none;
  1147. // height: 100%;
  1148. // width: 100%;
  1149. // text-align: center;
  1150. // outline: none;
  1151. // }
  1152. //
  1153. // .none_border {
  1154. // width:50px;
  1155. // border-left: none;
  1156. // border-right: none;
  1157. // }
  1158. //}
  1159. }
  1160. .button {
  1161. height: 50px;
  1162. line-height: 50px;
  1163. text-align: center;
  1164. position: absolute;
  1165. bottom: 0;
  1166. left: 0;
  1167. right: 0;
  1168. border-radius: 0;
  1169. background:@mainColor;
  1170. &.disabled {
  1171. background: #C2C2C2;
  1172. }
  1173. &:after {
  1174. border: none;
  1175. border-radius: 0;
  1176. }
  1177. }
  1178. }
  1179. }
  1180. }