buy.wxss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  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: #ed4451;
  46. }
  47. .goods_price{
  48. padding:30rpx 0 30rpx 0;
  49. }
  50. .new_price{
  51. font-size: 50rpx;
  52. font-weight: bold;
  53. color: #ed4451;
  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: #ed4451;
  72. border: 1px solid #ed4451;
  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,.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: #ed4451;
  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. .clickNo .color_name{
  174. color: #dbdbdb;
  175. }
  176. .clickNo .color_icon{
  177. opacity: 0.2;
  178. }
  179. .style_mode{
  180. width: 138rpx;
  181. height: 138rpx;
  182. position: absolute;
  183. top: 0;
  184. left: 0;
  185. border:1px solid #e6e6e6;
  186. background-color: rgba(0,0,0,0);
  187. }
  188. .active_style{
  189. /* border:1px solid #b4a078; */
  190. background-color: rgba(0,0,0,0.4);
  191. }
  192. /* 数量 */
  193. .goods_num{
  194. position: relative;
  195. height: 100rpx;
  196. font-size: 24rpx;
  197. color: #232323;
  198. line-height: 100rpx;
  199. padding-left: 34rpx;
  200. background-color: #fff;
  201. }
  202. .goods_num_wrap{
  203. position: absolute;
  204. top:32rpx;
  205. right:38rpx;
  206. }
  207. .num_btn,.num_num{
  208. float: left;
  209. display: block;
  210. height: 36rpx;
  211. border: 1rpx solid #dcdcdc;
  212. }
  213. .num_btn{
  214. width: 50rpx;
  215. }
  216. .num_btn_left{
  217. border-right: 0rpx solid #dcdcdc;
  218. }
  219. .num_btn_right{
  220. border-left: 0rpx solid #dcdcdc;
  221. }
  222. .num_num{
  223. width: 100rpx;
  224. height: 36rpx;
  225. font-size: 24rpx;
  226. line-height: 36rpx;
  227. color: #2c2c2c;
  228. /* padding:0 15rpx; */
  229. vertical-align: middle;
  230. overflow: hidden;
  231. /* border-top:1px solid #dcdcdc;
  232. border-bottom:1px solid #dcdcdc; */
  233. }
  234. .num_num input{
  235. width: 100rpx;
  236. min-height: 36rpx;
  237. margin-top:-4rpx;
  238. font-size: 24rpx;
  239. line-height: 36rpx;
  240. color: #2c2c2c;
  241. text-align: center;
  242. }
  243. /* 品牌信息 */
  244. .brand_infor_wrap{
  245. display: block;
  246. width: 100%;
  247. height:86rpx;
  248. background-color: #f9f9f9;
  249. position: relative;
  250. }
  251. .brand_mark,.brand_name{
  252. float: left;
  253. display: block;
  254. }
  255. .brand_mark{
  256. width: 34rpx;
  257. height: 34rpx;
  258. margin:27rpx 27rpx 0 40rpx;
  259. }
  260. .brand_name{
  261. max-width: 440rpx;
  262. font-size: 24rpx;
  263. line-height: 86rpx;
  264. color: #272727;
  265. text-overflow: ellipsis;
  266. overflow: hidden;
  267. white-space: nowrap;
  268. }
  269. .brand_jiantou{
  270. width: 17rpx;
  271. height: 27rpx;
  272. position: absolute;
  273. top:50%;
  274. right: 38rpx;
  275. margin-top:-13rpx;
  276. }
  277. /* 商品标题 */
  278. .goods_title_wrap{
  279. text-align: center;
  280. position: relative;
  281. border:none;
  282. }
  283. .goods_title_name{
  284. display: inline-block;
  285. padding: 0 12rpx;
  286. font-size: 30rpx;
  287. line-height: 82rpx;
  288. color: #8b959c;
  289. background-color: #f4f4f4;
  290. position: relative;
  291. z-index: 2;
  292. }
  293. .goods_title_line{
  294. width: 450rpx;
  295. height: 2rpx;
  296. background-color: #d8e0e5;
  297. position: absolute;
  298. top: 50%;
  299. left: 50%;
  300. margin:-1rpx 0 0 -225rpx;
  301. }
  302. /* 商品相关图片 */
  303. .goods_content image{
  304. display: block;
  305. width: 100% !important;
  306. }
  307. .margintop{
  308. margin-top: 20rpx;
  309. padding-bottom: 10rpx;
  310. }
  311. /* 底部 */
  312. .footer-detail{
  313. display: flex;
  314. flex-flow: row;
  315. justify-content: center;
  316. width: 100%;
  317. height: 98rpx;
  318. position: fixed;
  319. left: 0;
  320. bottom: 0;
  321. z-index: 5;
  322. color: #2d2d2d;
  323. background-color:#fff;
  324. }
  325. .footer_left,.footer_buy,.footer_add{
  326. display: inline-block;
  327. flex: 1;
  328. }
  329. .footer_left_each{
  330. width:110rpx;
  331. position: relative;
  332. text-align: center;
  333. }
  334. .footer_left_each .iconfont{
  335. font-size:42rpx;
  336. margin:10rpx 0 6rpx;
  337. }
  338. .navigator-hover{
  339. background-color:rgba(35,35,35,0);
  340. opacity: 1;
  341. }
  342. .kefu_icon{
  343. display: block;
  344. position: absolute;
  345. top:0;
  346. left:0;
  347. width: 110rpx;
  348. height: 104rpx;
  349. z-index: 1;
  350. opacity: 0;
  351. }
  352. .footer_left_each image{
  353. display: block;
  354. width: 43rpx;
  355. height: 40rpx;
  356. margin: 18rpx auto 8rpx;
  357. }
  358. .footer_left_each view{
  359. font-size: 20rpx;
  360. color: #333;
  361. text-align: center;
  362. }
  363. .footer_buy,.footer_add{
  364. padding:0 5rpx;
  365. height: 100%;
  366. font-size: 24rpx;
  367. line-height: 98rpx;
  368. text-align: center;
  369. color: #fff;
  370. background-color:#eea957;
  371. }
  372. .footer_buy{
  373. /* width: 274rpx; */
  374. background-color:#ed4451;
  375. }
  376. .footer_left{
  377. display: flex;
  378. }
  379. .footer_left_each{
  380. flex: 1;
  381. }
  382. /* 商品下架,按钮置灰 */
  383. .footer_btn_gray{
  384. color: #fff;
  385. background-color: #666;
  386. }
  387. .footer_btn_hidden{
  388. display: none;
  389. }
  390. /* 购物车数量 */
  391. view.cart_num{
  392. width:60rpx;
  393. height:28rpx;
  394. font-size: 24rpx;
  395. line-height: 28rpx;
  396. color:#fff;
  397. text-align: center;
  398. position: absolute;
  399. top:18rpx;
  400. left: 50%;
  401. z-index: 6;
  402. }
  403. image.cart_num_icon{
  404. width: 60rpx;
  405. height:38rpx;
  406. margin:-5rpx 0 0 0;
  407. }
  408. .cart_num_num{
  409. width: 40rpx;
  410. height: 38rpx;
  411. font-size: 20rpx;
  412. line-height: 38rpx;
  413. text-align: center;
  414. position: absolute;
  415. top:-5rpx;
  416. left:0;
  417. padding-left:2rpx;
  418. }
  419. /* 立即购买 - 选择规则弹窗 */
  420. .rule_made_wrap_wrap{
  421. /* display: none; */
  422. width: 100%;
  423. height: 100%;
  424. position: fixed;
  425. bottom:-100%;
  426. left:0;
  427. z-index: 10;
  428. overflow: hidden;
  429. }
  430. .rule_made_wrap,.windBg{
  431. width: 100%;
  432. height: 100%;
  433. /* background-color: rgba(0,0,0,0.6); */
  434. position: absolute;
  435. left: 0;
  436. top: 0;
  437. }
  438. .windBg{
  439. position: fixed;
  440. background-color: rgba(0,0,0,0.4);
  441. z-index: 9;
  442. opacity: 0;
  443. }
  444. .rule_made{
  445. width: 100%;
  446. height: 960rpx;
  447. background-color: #fff;
  448. position: absolute;
  449. left: 0;
  450. bottom: 0;
  451. z-index: 17;
  452. overflow-x:hidden;
  453. }
  454. .rule_made_ser{
  455. height: 670rpx;
  456. }
  457. .picker_goods_infor{
  458. position: relative;
  459. width: 370rpx;
  460. margin: 0 0 0 300rpx;
  461. }
  462. .picker_name{
  463. font-size: 24rpx;
  464. font-family: '黑体';
  465. line-height: 30rpx;
  466. height: 60rpx;
  467. color: #232323;
  468. text-overflow: ellipsis;
  469. overflow: hidden;
  470. display: -webkit-box;
  471. -webkit-line-clamp: 2;
  472. -webkit-box-orient: vertical;
  473. padding-top: 21rpx;
  474. }
  475. .picker_rule{
  476. width: 370rpx;
  477. font-size: 20rpx;
  478. line-height: 50rpx;
  479. color: #595959;
  480. }
  481. .picker_rule text{
  482. color: #038ec1;
  483. }
  484. .picker_body{
  485. width: 100%;
  486. height: 664rpx;
  487. overflow-x: hidden;
  488. overflow-y:scroll;
  489. margin:170rpx 0 120rpx 0;
  490. }
  491. /* 服务 */
  492. .picker_body_ser{
  493. height: 380rpx;
  494. }
  495. .picker_body_cont{
  496. width: 86%;
  497. height: 950rpx;
  498. margin:0 0 0 2%;
  499. }
  500. .picker_top{
  501. width: 100%;
  502. min-height: 190rpx;
  503. position: absolute;
  504. left: 0;
  505. bottom: 770rpx;
  506. background-color:#fff;
  507. }
  508. .picker_top_ser{
  509. bottom: 480rpx;
  510. }
  511. .picker_top_cont{
  512. position: relative;
  513. }
  514. .picker_cancel{
  515. position: absolute;
  516. top: 23rpx;
  517. right: 30rpx;
  518. }
  519. .picker_body .margintop{
  520. margin:0;
  521. border-top: 0px none;
  522. }
  523. .picker_body .goods_num{
  524. border-bottom: 0px none;
  525. }
  526. .picker_goods_img{
  527. float: left;
  528. width: 240rpx;
  529. height: 240rpx;
  530. border: 1px solid #f0f0f0;
  531. position: absolute;
  532. left: 30rpx;
  533. bottom: 810rpx;
  534. z-index:18;
  535. background-color: #fff;
  536. }
  537. /* .picker_goods_img image{
  538. width: 190rpx;
  539. height: 190rpx;
  540. } */
  541. .wind_footer_btn{
  542. clear: both;
  543. display: block;
  544. width: 100%;
  545. height: 98rpx;
  546. font-size: 24rpx;
  547. line-height: 98rpx;
  548. text-align: center;
  549. color: #fff !important;
  550. background-color: #ed4451;
  551. position: absolute;
  552. left: 0;
  553. bottom: 0;
  554. z-index: 10000;
  555. opacity:1;
  556. }
  557. .wind_footer_btn_dou{
  558. float: left;
  559. width: 50%;
  560. }
  561. .picker_btn_add{
  562. background-color: #ed4451;
  563. }
  564. .picker_btn_buy{
  565. left:50%;
  566. background-color: #ed4451;
  567. }
  568. .wind_footer_no_btn{
  569. background-color:#666;
  570. }
  571. .show{
  572. display: block;
  573. }
  574. contact-button {
  575. width: 110rpx;
  576. height: 104rpx;
  577. z-index:0;
  578. }
  579. .wind{
  580. width: 200rpx;
  581. height:40rpx;
  582. }
  583. /* 服务弹窗 */
  584. .service_title_wrap{
  585. position: relative;
  586. width: 692rpx;
  587. margin:60rpx auto 70rpx;
  588. }
  589. .service_title_line{
  590. width: 692rpx;
  591. height: 24rpx;
  592. border-bottom: 2px solid #494949;
  593. }
  594. .service_title_cont{
  595. font-size: 24rpx;
  596. width: 140rpx;
  597. text-align: center;
  598. height: 24rpx;
  599. line-height: 24rpx;
  600. color:#232323;
  601. background-color: #fff;
  602. margin:-13rpx auto 0;
  603. }
  604. .service_cont_wrap{
  605. width:692rpx;
  606. margin:20rpx auto 0;
  607. }
  608. .service_cont_icon{
  609. float: left;
  610. display: block;
  611. width: 24rpx;
  612. height: 24rpx;
  613. margin:0 12rpx 0 0;
  614. }
  615. .service_each{
  616. font-size:24rpx;
  617. color:#787878;
  618. margin-bottom:40rpx;
  619. }
  620. .service_each_title{
  621. padding:3rpx 0 14rpx 0;
  622. }
  623. .service_other_title{
  624. text-align: center;
  625. font-size: 24rpx;
  626. color:#232323;
  627. padding: 30rpx 0 60rpx 0;
  628. }
  629. .service_cont_title{
  630. display: block;
  631. float: left;
  632. font-size:24rpx;
  633. color:#787878;
  634. }
  635. .made_bg{
  636. width: 100%;
  637. height: 100%;
  638. position: absolute;
  639. top: 0;
  640. left: 0;
  641. z-index: 16;
  642. }
  643. /* 选择商品&定制详情 */
  644. .choose_goods_wrap{
  645. position: relative;
  646. background-color: #f9f9f9;
  647. margin-bottom:10rpx;
  648. }
  649. .choose_goods_icon{
  650. display: block;
  651. float: left;
  652. width: 37rpx;
  653. height: 37rpx;
  654. margin: 23rpx 25rpx 0 40rpx;
  655. }
  656. .choose_goods_title{
  657. float: left;
  658. display: block;
  659. width: 500rpx;
  660. height: 84rpx;
  661. color: #5a5a5a;
  662. font-size: 24rpx;
  663. line-height: 84rpx;
  664. text-overflow: ellipsis;
  665. overflow: hidden;
  666. white-space: nowrap;
  667. }
  668. .choose_service_title{
  669. float: left;
  670. height: 84rpx;
  671. color: #5a5a5a;
  672. font-size: 24rpx;
  673. line-height: 84rpx;
  674. }
  675. .choose_service_each{
  676. float: left;
  677. margin:30rpx 0 0 34rpx;
  678. }
  679. .choose_service_tit{
  680. line-height: 24rpx;
  681. }
  682. /* 商品详情 */
  683. .goods_infor_down_icon{
  684. display: block;
  685. width: 24rpx;
  686. height: 28rpx;
  687. margin: 18rpx auto 30rpx;
  688. }
  689. /* 提示窗 */
  690. .modal_wrap{
  691. position: fixed;
  692. top:0;
  693. left:0;
  694. width: 100%;
  695. height: 100%;
  696. display: flex;
  697. justify-content: center;
  698. align-items: center;
  699. }
  700. .modal{
  701. font-size: 28rpx;
  702. color:#fff;
  703. padding:15rpx 20rpx;
  704. background-color: rgba(0,0,0,0.6);
  705. }
  706. .hidden{
  707. display: none;
  708. }
  709. /* 定制-客服 */
  710. .dzs_kefu_icon{
  711. display: block;
  712. position: absolute;
  713. top:0;
  714. left:0;
  715. width: 138rpx;
  716. height: 138rpx;
  717. opacity: 1;
  718. line-height: 138rpx;
  719. }
  720. .each_dz_service{
  721. display: block;
  722. width: 144rpx;
  723. height:188rpx;
  724. float:left;
  725. margin:0 0 0 30rpx;
  726. position:relative;
  727. }
  728. .contact_button{
  729. display: block;
  730. /* position: absolute;
  731. top: 0;
  732. bottom: 0;
  733. left: 0;
  734. right: 0;
  735. width: 138rpx;
  736. height: 188rpx;
  737. opacity: 1;
  738. z-index: 22;*/
  739. line-height: 1;
  740. margin: 0;
  741. padding: 0;
  742. border-radius: 0;
  743. }
  744. .contact_button:after,.contact_button:before {
  745. display: none;
  746. border: 0px;
  747. }
  748. /* 商品下架 - 提示 */
  749. .sold_out_wrap{
  750. width: 100%;
  751. height: 60rpx;
  752. position: fixed;
  753. left:0;
  754. bottom: 98rpx;
  755. z-index: 5;
  756. font-size: 24rpx;
  757. line-height: 60rpx;
  758. text-align: center;
  759. color: #fff;
  760. background-color: #666;
  761. }
  762. .sold_out_hidden{
  763. display: none;
  764. }
  765. /* */
  766. .short_time_msg_wrap{
  767. display: none;
  768. width: 100%;
  769. height: 100%;
  770. position: fixed;
  771. top: 0;
  772. left: 0;
  773. z-index: 20;
  774. background-color: rgba(0,0,0,0.6);
  775. }
  776. .short_time_msg_show{
  777. display: block;
  778. }
  779. .short_time_msg{
  780. width: 600rpx;
  781. position: fixed;
  782. top:50%;
  783. left: 50%;
  784. margin: -140rpx 0 0 -300rpx;
  785. background-color: #fff;
  786. border-radius: 20px;
  787. }
  788. .short_time_msg_cont{
  789. font-size: 30rpx;
  790. line-height: 50rpx;
  791. color: #232323;
  792. padding: 30rpx 50rpx;
  793. border-bottom: 1px solid #ccc;
  794. text-align: center;
  795. }
  796. .short_time_msg_btn{
  797. text-align: center;
  798. font-size: 30rpx;
  799. line-height: 80rpx;
  800. color: #ed4451;
  801. text-decoration: underline;
  802. cursor: pointer;
  803. }
  804. .cont_hidden{
  805. overflow-y: hidden;
  806. }
  807. .kucun{
  808. font-size: 20rpx;
  809. text-align: left;
  810. color: #595959;
  811. }
  812. .allHidden{
  813. display: none;
  814. }
  815. .loading_bg{
  816. position: fixed;
  817. top: 0;
  818. left: 0;
  819. z-index: 9999;
  820. width: 100%;
  821. height: 100%;
  822. background-color: #fff;
  823. }
  824. .channel-price{
  825. font-size:50rpx;
  826. }