buyMoonCake.wxss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  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,.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. .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{
  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: #fff;
  323. background-color:#232323;
  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. }
  333. .navigator-hover{
  334. background-color:rgba(35,35,35,1);
  335. opacity: 1;
  336. }
  337. .kefu_icon{
  338. display: block;
  339. position: absolute;
  340. top:0;
  341. left:0;
  342. width: 110rpx;
  343. height: 104rpx;
  344. z-index: 1;
  345. opacity: 0;
  346. }
  347. .footer_left_each image{
  348. display: block;
  349. width: 43rpx;
  350. height: 40rpx;
  351. margin: 18rpx auto 8rpx;
  352. }
  353. .footer_left_each view{
  354. font-size: 20rpx;
  355. color: #fff;
  356. text-align: center;
  357. }
  358. .footer_left_cart{
  359. background-color: #2d2d2d;
  360. }
  361. .footer_buy,.footer_add{
  362. padding:0 5rpx;
  363. height: 100%;
  364. font-size: 24rpx;
  365. line-height: 98rpx;
  366. text-align: center;
  367. color: #fff;
  368. background-color:#c3b496;
  369. }
  370. .footer_buy{
  371. /* width: 274rpx; */
  372. background-color:#b4a078;
  373. }
  374. .footer_left{
  375. display: flex;
  376. }
  377. .footer_left_each{
  378. flex: 1;
  379. }
  380. /* 商品下架,按钮置灰 */
  381. .footer_btn_gray{
  382. color: #fff;
  383. background-color: #666;
  384. }
  385. .footer_btn_hidden{
  386. display: none;
  387. }
  388. /* 购物车数量 */
  389. view.cart_num{
  390. width:60rpx;
  391. height:28rpx;
  392. font-size: 24rpx;
  393. line-height: 28rpx;
  394. color:#fff;
  395. text-align: center;
  396. position: absolute;
  397. top:18rpx;
  398. left: 50%;
  399. z-index: 6;
  400. }
  401. image.cart_num_icon{
  402. width: 60rpx;
  403. height:38rpx;
  404. margin:-5rpx 0 0 0;
  405. }
  406. .cart_num_num{
  407. width: 40rpx;
  408. height: 38rpx;
  409. font-size: 20rpx;
  410. line-height: 38rpx;
  411. text-align: center;
  412. position: absolute;
  413. top:-5rpx;
  414. left:0;
  415. padding-left:2rpx;
  416. }
  417. /* 立即购买 - 选择规则弹窗 */
  418. .rule_made_wrap_wrap{
  419. /* display: none; */
  420. width: 100%;
  421. height: 100%;
  422. position: fixed;
  423. bottom:-100%;
  424. left:0;
  425. z-index: 10;
  426. overflow: hidden;
  427. }
  428. .rule_made_wrap,.windBg{
  429. width: 100%;
  430. height: 100%;
  431. /* background-color: rgba(0,0,0,0.6); */
  432. position: absolute;
  433. left: 0;
  434. top: 0;
  435. }
  436. .windBg{
  437. position: fixed;
  438. background-color: rgba(0,0,0,0.4);
  439. z-index: 9;
  440. opacity: 0;
  441. }
  442. .rule_made{
  443. width: 100%;
  444. height: 960rpx;
  445. background-color: #fff;
  446. position: absolute;
  447. left: 0;
  448. bottom: 0;
  449. z-index: 17;
  450. overflow-x:hidden;
  451. }
  452. .rule_made_ser{
  453. height: 670rpx;
  454. }
  455. .picker_goods_infor{
  456. position: relative;
  457. width: 370rpx;
  458. margin: 0 0 0 300rpx;
  459. }
  460. .picker_name{
  461. font-size: 24rpx;
  462. font-family: '黑体';
  463. line-height: 30rpx;
  464. height: 60rpx;
  465. color: #232323;
  466. text-overflow: ellipsis;
  467. overflow: hidden;
  468. display: -webkit-box;
  469. -webkit-line-clamp: 2;
  470. -webkit-box-orient: vertical;
  471. padding-top: 21rpx;
  472. }
  473. .picker_rule{
  474. width: 370rpx;
  475. font-size: 20rpx;
  476. line-height: 50rpx;
  477. color: #595959;
  478. }
  479. .picker_rule text{
  480. color: #038ec1;
  481. }
  482. .picker_body{
  483. width: 100%;
  484. height: 664rpx;
  485. overflow-x: hidden;
  486. overflow-y:scroll;
  487. margin:170rpx 0 120rpx 0;
  488. }
  489. /* 服务 */
  490. .picker_body_ser{
  491. height: 380rpx;
  492. }
  493. .picker_body_cont{
  494. width: 86%;
  495. height: 950rpx;
  496. margin:0 0 0 2%;
  497. }
  498. .picker_top{
  499. width: 100%;
  500. min-height: 190rpx;
  501. position: absolute;
  502. left: 0;
  503. bottom: 770rpx;
  504. background-color:#fff;
  505. }
  506. .picker_top_ser{
  507. bottom: 480rpx;
  508. }
  509. .picker_top_cont{
  510. position: relative;
  511. }
  512. .picker_cancel{
  513. position: absolute;
  514. top: 23rpx;
  515. right: 30rpx;
  516. }
  517. .picker_body .margintop{
  518. margin:0;
  519. border-top: 0px none;
  520. }
  521. .picker_body .goods_num{
  522. border-bottom: 0px none;
  523. }
  524. .picker_goods_img{
  525. float: left;
  526. width: 240rpx;
  527. height: 240rpx;
  528. border: 1px solid #f0f0f0;
  529. position: absolute;
  530. left: 30rpx;
  531. bottom: 810rpx;
  532. z-index:18;
  533. background-color: #fff;
  534. }
  535. /* .picker_goods_img image{
  536. width: 190rpx;
  537. height: 190rpx;
  538. } */
  539. .wind_footer_btn{
  540. clear: both;
  541. display: block;
  542. width: 100%;
  543. height: 98rpx;
  544. font-size: 24rpx;
  545. line-height: 98rpx;
  546. text-align: center;
  547. color: #fff !important;
  548. background-color: #b4a078;
  549. position: absolute;
  550. left: 0;
  551. bottom: 0;
  552. z-index: 10000;
  553. opacity:1;
  554. }
  555. .wind_footer_btn_dou{
  556. float: left;
  557. width: 50%;
  558. }
  559. .picker_btn_add{
  560. background-color: #c3b496;
  561. }
  562. .picker_btn_buy{
  563. left:50%;
  564. background-color: #b4a078;
  565. }
  566. .wind_footer_no_btn{
  567. background-color:#666;
  568. }
  569. .show{
  570. display: block;
  571. }
  572. contact-button {
  573. width: 110rpx;
  574. height: 104rpx;
  575. z-index:0;
  576. }
  577. .wind{
  578. width: 200rpx;
  579. height:40rpx;
  580. }
  581. /* 服务弹窗 */
  582. .service_title_wrap{
  583. position: relative;
  584. width: 692rpx;
  585. margin:60rpx auto 70rpx;
  586. }
  587. .service_title_line{
  588. width: 692rpx;
  589. height: 24rpx;
  590. border-bottom: 2px solid #494949;
  591. }
  592. .service_title_cont{
  593. font-size: 24rpx;
  594. width: 140rpx;
  595. text-align: center;
  596. height: 24rpx;
  597. line-height: 24rpx;
  598. color:#232323;
  599. background-color: #fff;
  600. margin:-13rpx auto 0;
  601. }
  602. .service_cont_wrap{
  603. width:692rpx;
  604. margin:20rpx auto 0;
  605. }
  606. .service_cont_icon{
  607. float: left;
  608. display: block;
  609. width: 24rpx;
  610. height: 24rpx;
  611. margin:0 12rpx 0 0;
  612. }
  613. .service_each{
  614. font-size:24rpx;
  615. color:#787878;
  616. margin-bottom:40rpx;
  617. }
  618. .service_each_title{
  619. padding:3rpx 0 14rpx 0;
  620. }
  621. .service_other_title{
  622. text-align: center;
  623. font-size: 24rpx;
  624. color:#232323;
  625. padding: 30rpx 0 60rpx 0;
  626. }
  627. .service_cont_title{
  628. display: block;
  629. float: left;
  630. font-size:24rpx;
  631. color:#787878;
  632. }
  633. .made_bg{
  634. width: 100%;
  635. height: 100%;
  636. position: absolute;
  637. top: 0;
  638. left: 0;
  639. z-index: 16;
  640. }
  641. /* 选择商品&定制详情 */
  642. .choose_goods_wrap{
  643. position: relative;
  644. background-color: #f9f9f9;
  645. margin-bottom:10rpx;
  646. }
  647. .choose_goods_icon{
  648. display: block;
  649. float: left;
  650. width: 37rpx;
  651. height: 37rpx;
  652. margin: 23rpx 25rpx 0 40rpx;
  653. }
  654. .choose_goods_title{
  655. float: left;
  656. display: block;
  657. width: 500rpx;
  658. height: 84rpx;
  659. color: #5a5a5a;
  660. font-size: 24rpx;
  661. line-height: 84rpx;
  662. text-overflow: ellipsis;
  663. overflow: hidden;
  664. white-space: nowrap;
  665. }
  666. .choose_service_title{
  667. float: left;
  668. height: 84rpx;
  669. color: #5a5a5a;
  670. font-size: 24rpx;
  671. line-height: 84rpx;
  672. }
  673. .choose_service_each{
  674. float: left;
  675. margin:30rpx 0 0 34rpx;
  676. }
  677. .choose_service_tit{
  678. line-height: 24rpx;
  679. }
  680. /* 商品详情 */
  681. .goods_infor_down_icon{
  682. display: block;
  683. width: 24rpx;
  684. height: 28rpx;
  685. margin: 18rpx auto 30rpx;
  686. }
  687. /* 提示窗 */
  688. .modal_wrap{
  689. position: fixed;
  690. top:0;
  691. left:0;
  692. width: 100%;
  693. height: 100%;
  694. display: flex;
  695. justify-content: center;
  696. align-items: center;
  697. }
  698. .modal{
  699. font-size: 28rpx;
  700. color:#fff;
  701. padding:15rpx 20rpx;
  702. background-color: rgba(0,0,0,0.6);
  703. }
  704. .hidden{
  705. display: none;
  706. }
  707. /* 定制-客服 */
  708. .dzs_kefu_icon{
  709. display: block;
  710. position: absolute;
  711. top:0;
  712. left:0;
  713. width: 138rpx;
  714. height: 138rpx;
  715. opacity: 1;
  716. line-height: 138rpx;
  717. }
  718. .each_dz_service{
  719. display: block;
  720. width: 144rpx;
  721. height:188rpx;
  722. float:left;
  723. margin:0 0 0 30rpx;
  724. position:relative;
  725. }
  726. .contact_button{
  727. display: block;
  728. /* position: absolute;
  729. top: 0;
  730. bottom: 0;
  731. left: 0;
  732. right: 0;
  733. width: 138rpx;
  734. height: 188rpx;
  735. opacity: 1;
  736. z-index: 22;*/
  737. line-height: 1;
  738. margin: 0;
  739. padding: 0;
  740. border-radius: 0;
  741. }
  742. .contact_button:after,.contact_button:before {
  743. display: none;
  744. border: 0px;
  745. }
  746. /* 商品下架 - 提示 */
  747. .sold_out_wrap{
  748. width: 100%;
  749. height: 60rpx;
  750. position: fixed;
  751. left:0;
  752. bottom: 98rpx;
  753. z-index: 5;
  754. font-size: 24rpx;
  755. line-height: 60rpx;
  756. text-align: center;
  757. color: #fff;
  758. background-color: #666;
  759. }
  760. .sold_out_hidden{
  761. display: none;
  762. }
  763. .only_staff_infor{
  764. font-size: 26rpx;
  765. text-align: center;
  766. color:#787878;
  767. padding-top:20rpx;
  768. }
  769. .cont_hidden{
  770. overflow-y: hidden;
  771. }
  772. .kucun{
  773. font-size: 20rpx;
  774. text-align: left;
  775. color: #595959;
  776. }
  777. .allHidden{
  778. display: none;
  779. }
  780. .loading_bg{
  781. position: fixed;
  782. top: 0;
  783. left: 0;
  784. z-index: 9999;
  785. width: 100%;
  786. height: 100%;
  787. background-color: #fff;
  788. }