buyOnly.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  1. @import "../../wxParse/wxParse.wxss";
  2. /* buy.wxss */
  3. page{
  4. background-color: #fff;
  5. }
  6. .container{
  7. /* height: auto; */
  8. overflow-x: hidden;
  9. position: fixed;
  10. width: 100%;
  11. height: 100%;
  12. }
  13. .goods_img image{
  14. display: block;
  15. width: 100%;
  16. }
  17. .goods_infor_wrap{
  18. position: relative;
  19. height: auto;
  20. padding:30rpx 23rpx 50rpx;
  21. background-color: #fff;
  22. }
  23. .goods_title{
  24. width: 500rpx;
  25. max-height: 92rpx;
  26. font-size: 34rpx;
  27. font-weight: bold;
  28. line-height: 46rpx;
  29. color:#272727;
  30. text-overflow: ellipsis;
  31. overflow: hidden;
  32. display: -webkit-box;
  33. -webkit-line-clamp: 2;
  34. -webkit-box-orient: vertical;
  35. margin-bottom: 20rpx;
  36. text-align: left;
  37. }
  38. .goods_title_intro{
  39. text-align: left;
  40. font-size: 22rpx;
  41. color: #272727;
  42. }
  43. .price_title{
  44. font-size: 24rpx;
  45. color: #b4a078;
  46. }
  47. .goods_price{
  48. padding:30rpx 0 30rpx 0;
  49. }
  50. .new_price{
  51. font-size: 50rpx;
  52. font-weight: bold;
  53. color: #b4a078;
  54. margin-right:20rpx;
  55. }
  56. .old_price{
  57. font-size: 24rpx;
  58. color: #c8c8c8;
  59. text-decoration: line-through;
  60. }
  61. .goods_limit{
  62. font-size: 22rpx;
  63. line-height: 60rpx;
  64. color: #93989a;
  65. }
  66. .goods_limit_each{
  67. float: left;
  68. margin-right: 37rpx;
  69. }
  70. .goods_limit_each_tit{
  71. color: #b4a078;
  72. border: 1px solid #b4a078;
  73. border-radius: 20rpx;
  74. padding: 0 10rpx;
  75. }
  76. .min_number{
  77. padding-left:8rpx;
  78. }
  79. .goods_footer_img{
  80. width: 100%;
  81. height: 5rpx;
  82. position: absolute;
  83. left: 0;
  84. bottom: 0;
  85. }
  86. /* 收藏 */
  87. .collect_wrap{
  88. width: 80rpx;
  89. position: absolute;
  90. top:0;
  91. right: 100rpx;
  92. }
  93. button.share_wrap{
  94. width: auto !important;
  95. height: auto !important;
  96. right: 20rpx;
  97. padding:0;
  98. font-size:22rpx;
  99. line-height: 46rpx;
  100. border-radius: 0;
  101. }
  102. button.share_wrap .collect_icon{
  103. width: 35rpx !important;
  104. height: 35rpx !important;
  105. }
  106. .collect_icon{
  107. display: block;
  108. width: 35rpx;
  109. height: 35rpx;
  110. margin:0 auto;
  111. }
  112. .collect_cont{
  113. font-size: 22rpx;
  114. line-height: 46rpx;
  115. color: #b4a078;
  116. text-align: center;
  117. }
  118. /* 商品服务 */
  119. .goods_kind_wrap{
  120. background-color: #fff;
  121. }
  122. .service_title{
  123. font-size: 24rpx;
  124. color: #232323;
  125. padding:20rpx 0 20rpx 30rpx;
  126. }
  127. .service_cont{
  128. padding-bottom: 30rpx;
  129. }
  130. .each_service{
  131. float: left;
  132. height: 74rpx;
  133. padding-left:72rpx;
  134. }
  135. .service_icon{
  136. float: left;
  137. display: block;
  138. width: 20rpx;
  139. height: 20rpx;
  140. margin:27rpx 20rpx 0 0;
  141. }
  142. .service_content{
  143. float: left;
  144. font-size: 32rpx;
  145. line-height: 74rpx;
  146. color: #454748;
  147. text-overflow:ellipsis;
  148. overflow:hidden;
  149. white-space: nowrap;
  150. max-width: 250rpx;
  151. }
  152. /* 颜色 */
  153. .each_color{
  154. display: inline-block;
  155. margin-left:30rpx;
  156. position: relative;
  157. }
  158. .color_icon{
  159. display: block;
  160. width: 138rpx;
  161. height: 138rpx;
  162. border: 1px solid #e6e6e6;
  163. }
  164. .color_name{
  165. display: block;
  166. height: 50rpx;
  167. font-size: 22rpx;
  168. line-height: 50rpx;
  169. text-align: center;
  170. color: #595959;
  171. border: 1px solid #fff;
  172. }
  173. .style_mode{
  174. width: 138rpx;
  175. height: 138rpx;
  176. position: absolute;
  177. top: 0;
  178. left: 0;
  179. border:1px solid #e6e6e6;
  180. background-color: rgba(0,0,0,0);
  181. }
  182. .active_style{
  183. /* border:1px solid #b4a078; */
  184. background-color: rgba(0,0,0,0.3);
  185. }
  186. /* 数量 */
  187. .goods_num{
  188. position: relative;
  189. height: 100rpx;
  190. font-size: 24rpx;
  191. color: #232323;
  192. line-height: 100rpx;
  193. padding-left: 34rpx;
  194. background-color: #fff;
  195. }
  196. .goods_num_wrap{
  197. position: absolute;
  198. top:32rpx;
  199. right:38rpx;
  200. }
  201. .num_btn,.num_num{
  202. float: left;
  203. display: block;
  204. height: 36rpx;
  205. border: 1rpx solid #dcdcdc;
  206. }
  207. .num_btn{
  208. width: 50rpx;
  209. }
  210. .num_btn_left{
  211. border-right: 0rpx solid #dcdcdc;
  212. }
  213. .num_btn_right{
  214. border-left: 0rpx solid #dcdcdc;
  215. }
  216. .num_num{
  217. width: 100rpx;
  218. height: 36rpx;
  219. font-size: 24rpx;
  220. line-height: 36rpx;
  221. color: #2c2c2c;
  222. /* padding:0 15rpx; */
  223. vertical-align: middle;
  224. overflow: hidden;
  225. text-align: center;
  226. /* border-top:1px solid #dcdcdc;
  227. border-bottom:1px solid #dcdcdc; */
  228. }
  229. .num_num input{
  230. width: 100rpx;
  231. min-height: 36rpx;
  232. margin-top:-4rpx;
  233. font-size: 24rpx;
  234. line-height: 36rpx;
  235. color: #2c2c2c;
  236. text-align: center;
  237. }
  238. /* 品牌信息 */
  239. .brand_infor_wrap{
  240. display: block;
  241. width: 100%;
  242. height:86rpx;
  243. background-color: #f9f9f9;
  244. position: relative;
  245. }
  246. .brand_mark,.brand_name{
  247. float: left;
  248. display: block;
  249. }
  250. .brand_mark{
  251. width: 34rpx;
  252. height: 34rpx;
  253. margin:27rpx 27rpx 0 40rpx;
  254. }
  255. .brand_name{
  256. max-width: 440rpx;
  257. font-size: 24rpx;
  258. line-height: 86rpx;
  259. color: #272727;
  260. text-overflow: ellipsis;
  261. overflow: hidden;
  262. white-space: nowrap;
  263. }
  264. .brand_jiantou{
  265. width: 17rpx;
  266. height: 27rpx;
  267. position: absolute;
  268. top:50%;
  269. right: 38rpx;
  270. margin-top:-13rpx;
  271. }
  272. /* 商品标题 */
  273. .goods_title_wrap{
  274. text-align: center;
  275. position: relative;
  276. border:none;
  277. }
  278. .goods_title_name{
  279. display: inline-block;
  280. padding: 0 12rpx;
  281. font-size: 30rpx;
  282. line-height: 82rpx;
  283. color: #8b959c;
  284. background-color: #f4f4f4;
  285. position: relative;
  286. z-index: 2;
  287. }
  288. .goods_title_line{
  289. width: 450rpx;
  290. height: 2rpx;
  291. background-color: #d8e0e5;
  292. position: absolute;
  293. top: 50%;
  294. left: 50%;
  295. margin:-1rpx 0 0 -225rpx;
  296. }
  297. /* 商品相关图片 */
  298. .goods_content image{
  299. display: block;
  300. width: 100% !important;
  301. }
  302. .margintop{
  303. margin-top: 20rpx;
  304. padding-bottom: 10rpx;
  305. }
  306. /* 底部 */
  307. .footer{
  308. display: flex;
  309. flex-flow: row;
  310. justify-content: center;
  311. width: 100%;
  312. height: 98rpx;
  313. position: fixed;
  314. left: 0;
  315. bottom: 0;
  316. z-index: 5;
  317. color: #fff;
  318. background-color:#232323;
  319. }
  320. .footer_left,.footer_buy,.footer_add{
  321. display: inline-block;
  322. flex: 1;
  323. }
  324. .footer_left_each{
  325. width:110rpx;
  326. position: relative;
  327. }
  328. .navigator-hover{
  329. background-color:rgba(35,35,35,1);
  330. opacity: 1;
  331. }
  332. .kefu_icon{
  333. display: block;
  334. position: absolute;
  335. top:0;
  336. left:0;
  337. width: 110rpx;
  338. height: 104rpx;
  339. z-index: 1;
  340. opacity: 0;
  341. }
  342. .footer_left_each image{
  343. display: block;
  344. width: 43rpx;
  345. height: 40rpx;
  346. margin: 18rpx auto 8rpx;
  347. }
  348. .footer_left_each view{
  349. font-size: 20rpx;
  350. color: #fff;
  351. text-align: center;
  352. }
  353. .footer_left_cart{
  354. background-color: #2d2d2d;
  355. }
  356. .footer_buy,.footer_add{
  357. padding:0 5rpx;
  358. height: 100%;
  359. font-size: 24rpx;
  360. line-height: 98rpx;
  361. text-align: center;
  362. color: #fff;
  363. background-color:#c3b496;
  364. }
  365. .footer_buy{
  366. /* width: 274rpx; */
  367. background-color:#b4a078;
  368. }
  369. .footer_left{
  370. display: flex;
  371. }
  372. .footer_left_each{
  373. flex: 1;
  374. }
  375. /* 商品下架,按钮置灰 */
  376. .footer_btn_gray{
  377. color: #fff;
  378. background-color: #666;
  379. }
  380. .footer_btn_hidden{
  381. display: none;
  382. }
  383. /* 购物车数量 */
  384. view.cart_num{
  385. width:60rpx;
  386. height:28rpx;
  387. font-size: 24rpx;
  388. line-height: 28rpx;
  389. color:#fff;
  390. text-align: center;
  391. position: absolute;
  392. top:18rpx;
  393. left: 50%;
  394. z-index: 6;
  395. }
  396. image.cart_num_icon{
  397. width: 60rpx;
  398. height:38rpx;
  399. margin:-5rpx 0 0 0;
  400. }
  401. .cart_num_num{
  402. width: 40rpx;
  403. height: 38rpx;
  404. font-size: 20rpx;
  405. line-height: 38rpx;
  406. text-align: center;
  407. position: absolute;
  408. top:-5rpx;
  409. left:0;
  410. padding-left:2rpx;
  411. }
  412. /* 立即购买 - 选择规则弹窗 */
  413. .rule_made_wrap_wrap{
  414. /* display: none; */
  415. width: 100%;
  416. height: 100%;
  417. position: fixed;
  418. bottom:-100%;
  419. left:0;
  420. z-index: 10;
  421. overflow: hidden;
  422. }
  423. .rule_made_wrap,.windBg{
  424. width: 100%;
  425. height: 100%;
  426. /* background-color: rgba(0,0,0,0.6); */
  427. position: absolute;
  428. left: 0;
  429. top: 0;
  430. }
  431. .windBg{
  432. position: fixed;
  433. background-color: rgba(0,0,0,0.4);
  434. z-index: 9;
  435. opacity: 0;
  436. }
  437. .rule_made{
  438. width: 100%;
  439. height: 960rpx;
  440. background-color: #fff;
  441. position: absolute;
  442. left: 0;
  443. bottom: 0;
  444. z-index: 17;
  445. overflow-x:hidden;
  446. }
  447. .rule_made_ser{
  448. height: 670rpx;
  449. }
  450. .picker_goods_infor{
  451. position: relative;
  452. width: 370rpx;
  453. margin: 0 0 0 300rpx;
  454. }
  455. .picker_name{
  456. font-size: 24rpx;
  457. font-family: '黑体';
  458. line-height: 30rpx;
  459. height: 60rpx;
  460. color: #232323;
  461. text-overflow: ellipsis;
  462. overflow: hidden;
  463. display: -webkit-box;
  464. -webkit-line-clamp: 2;
  465. -webkit-box-orient: vertical;
  466. padding-top: 21rpx;
  467. }
  468. .picker_rule{
  469. font-size: 20rpx;
  470. color: #595959;
  471. }
  472. .picker_rule text{
  473. color: #038ec1;
  474. }
  475. .picker_body{
  476. width: 110%;
  477. height: 664rpx;
  478. overflow-x: hidden;
  479. overflow-y:scroll;
  480. margin:170rpx 0 120rpx 0;
  481. }
  482. /* 服务 */
  483. .picker_body_ser{
  484. height: 380rpx;
  485. }
  486. .picker_body_cont{
  487. width: 86%;
  488. margin:0 0 0 2%;
  489. }
  490. .picker_top{
  491. width: 100%;
  492. min-height: 190rpx;
  493. position: absolute;
  494. left: 0;
  495. bottom: 780rpx;
  496. background-color:#fff;
  497. }
  498. .picker_top_ser{
  499. bottom: 480rpx;
  500. }
  501. .picker_top_cont{
  502. position: relative;
  503. }
  504. .picker_cancel{
  505. position: absolute;
  506. top: 23rpx;
  507. right: 30rpx;
  508. }
  509. .picker_body .margintop{
  510. margin:0;
  511. border-top: 0px none;
  512. }
  513. .picker_body .goods_num{
  514. border-bottom: 0px none;
  515. }
  516. .picker_goods_img{
  517. float: left;
  518. width: 240rpx;
  519. height: 240rpx;
  520. border: 1px solid #f0f0f0;
  521. position: absolute;
  522. left: 30rpx;
  523. bottom: 810rpx;
  524. z-index:18;
  525. background-color: #fff;
  526. }
  527. /* .picker_goods_img image{
  528. width: 190rpx;
  529. height: 190rpx;
  530. } */
  531. .picker_btn{
  532. width: 100%;
  533. height: 98rpx;
  534. font-size: 24rpx;
  535. line-height: 98rpx;
  536. text-align: center;
  537. color: #fff;
  538. background-color: #b4a078;
  539. position: absolute;
  540. left: 0;
  541. bottom: 0;
  542. z-index: 10;
  543. }
  544. .picker_btn_wrap .picker_btn{
  545. float: left;
  546. width: 50%;
  547. }
  548. .picker_btn_add{
  549. background-color: #c3b496;
  550. }
  551. .picker_btn_buy{
  552. left:50%;
  553. background-color: #b4a078;
  554. }
  555. .show{
  556. display: block;
  557. }
  558. contact-button {
  559. width: 110rpx;
  560. height: 104rpx;
  561. z-index:0;
  562. }
  563. .wind{
  564. width: 200rpx;
  565. height:40rpx;
  566. }
  567. /* 服务弹窗 */
  568. .service_title_wrap{
  569. position: relative;
  570. width: 692rpx;
  571. margin:60rpx auto 70rpx;
  572. }
  573. .service_title_line{
  574. width: 692rpx;
  575. height: 24rpx;
  576. border-bottom: 2px solid #494949;
  577. }
  578. .service_title_cont{
  579. font-size: 24rpx;
  580. width: 140rpx;
  581. text-align: center;
  582. height: 24rpx;
  583. line-height: 24rpx;
  584. color:#232323;
  585. background-color: #fff;
  586. margin:-13rpx auto 0;
  587. }
  588. .service_cont_wrap{
  589. width:692rpx;
  590. margin:20rpx auto 0;
  591. }
  592. .service_cont_icon{
  593. float: left;
  594. display: block;
  595. width: 24rpx;
  596. height: 24rpx;
  597. margin:0 12rpx 0 0;
  598. }
  599. .service_each{
  600. font-size:24rpx;
  601. color:#787878;
  602. margin-bottom:40rpx;
  603. }
  604. .service_each_title{
  605. padding:3rpx 0 14rpx 0;
  606. }
  607. .service_other_title{
  608. text-align: center;
  609. font-size: 24rpx;
  610. color:#232323;
  611. padding: 30rpx 0 60rpx 0;
  612. }
  613. .service_cont_title{
  614. display: block;
  615. float: left;
  616. font-size:24rpx;
  617. color:#787878;
  618. }
  619. .made_bg{
  620. width: 100%;
  621. height: 100%;
  622. position: absolute;
  623. top: 0;
  624. left: 0;
  625. z-index: 16;
  626. }
  627. /* 选择商品&定制详情 */
  628. .choose_goods_wrap{
  629. position: relative;
  630. background-color: #f9f9f9;
  631. margin-bottom:10rpx;
  632. }
  633. .choose_goods_icon{
  634. display: block;
  635. float: left;
  636. width: 37rpx;
  637. height: 37rpx;
  638. margin: 23rpx 25rpx 0 40rpx;
  639. }
  640. .choose_goods_title{
  641. float: left;
  642. display: block;
  643. width: 500rpx;
  644. height: 84rpx;
  645. color: #5a5a5a;
  646. font-size: 24rpx;
  647. line-height: 84rpx;
  648. text-overflow: ellipsis;
  649. overflow: hidden;
  650. white-space: nowrap;
  651. }
  652. .choose_service_title{
  653. float: left;
  654. height: 84rpx;
  655. color: #5a5a5a;
  656. font-size: 24rpx;
  657. line-height: 84rpx;
  658. }
  659. .choose_service_each{
  660. float: left;
  661. margin:30rpx 0 0 34rpx;
  662. }
  663. .choose_service_tit{
  664. line-height: 24rpx;
  665. }
  666. /* 商品详情 */
  667. .goods_infor_down_icon{
  668. display: block;
  669. width: 24rpx;
  670. height: 28rpx;
  671. margin: 18rpx auto 30rpx;
  672. }
  673. /* 提示窗 */
  674. .modal_wrap{
  675. position: fixed;
  676. top:0;
  677. left:0;
  678. width: 100%;
  679. height: 100%;
  680. display: flex;
  681. justify-content: center;
  682. align-items: center;
  683. }
  684. .modal{
  685. font-size: 28rpx;
  686. color:#fff;
  687. padding:15rpx 20rpx;
  688. background-color: rgba(0,0,0,0.6);
  689. }
  690. .hidden{
  691. display: none;
  692. }
  693. /* 定制-客服 */
  694. .dzs_kefu_icon{
  695. display: block;
  696. position: absolute;
  697. top:0;
  698. left:0;
  699. width: 138rpx;
  700. height: 138rpx;
  701. opacity: 1;
  702. line-height: 138rpx;
  703. }
  704. .each_dz_service{
  705. display: block;
  706. width: 144rpx;
  707. height:188rpx;
  708. float:left;
  709. margin:0 0 0 30rpx;
  710. position:relative;
  711. }
  712. .contact_button{
  713. display: block;
  714. /* position: absolute;
  715. top: 0;
  716. bottom: 0;
  717. left: 0;
  718. right: 0;
  719. width: 138rpx;
  720. height: 188rpx;
  721. opacity: 1;
  722. z-index: 22;*/
  723. line-height: 1;
  724. margin: 0;
  725. padding: 0;
  726. border-radius: 0;
  727. }
  728. .contact_button:after,.contact_button:before {
  729. display: none;
  730. border: 0px;
  731. }
  732. /* 库存 */
  733. .kucun{
  734. float:right;
  735. font-size: 18rpx;
  736. padding-top: 24rpx;
  737. color: #595959;
  738. }
  739. .kucun_waring{
  740. color: #cd0000;
  741. }
  742. /* 商品下架 - 提示 */
  743. .sold_out_wrap{
  744. width: 100%;
  745. height: 60rpx;
  746. position: fixed;
  747. left:0;
  748. bottom: 98rpx;
  749. z-index: 5;
  750. font-size: 24rpx;
  751. line-height: 60rpx;
  752. text-align: center;
  753. color: #fff;
  754. background-color: #666;
  755. }
  756. .sold_out_hidden{
  757. display: none;
  758. }