checkout.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  1. page {
  2. height: 100%;
  3. background: #f4f4f4;
  4. }
  5. .container{
  6. padding: 50rpx 28rpx 180rpx ;
  7. }
  8. .address-box {
  9. width: 100%;
  10. /* height: 166.55rpx;
  11. background-size: 62.5rpx 10.5rpx; */
  12. /* margin-bottom: 20rpx; */
  13. /* padding-top: 10.5rpx; */
  14. }
  15. .address-item {
  16. display: flex;
  17. /* height: 142rpx; */
  18. background: #fff;
  19. padding: 36rpx 16rpx 32rpx;
  20. border-radius: 10rpx;
  21. }
  22. .address-item.address-empty {
  23. line-height: 75rpx;
  24. text-align: center;
  25. }
  26. .address-item .map-icon{
  27. width:28rpx;
  28. height: 28rpx;
  29. margin:0 18rpx 0 0;
  30. }
  31. .address-box .l {
  32. width: 125rpx;
  33. height: 100%;
  34. }
  35. .address-box .l .name {
  36. margin-left: 6.25rpx;
  37. margin-top: -7.25rpx;
  38. display: block;
  39. width: 125rpx;
  40. height: 43rpx;
  41. line-height: 43rpx;
  42. font-size: 30rpx;
  43. color: #333;
  44. margin-bottom: 5rpx;
  45. }
  46. .address-box .l .default {
  47. margin-left: 6.25rpx;
  48. display: block;
  49. width: 62rpx;
  50. height: 33rpx;
  51. border-radius: 5rpx;
  52. border: 1px solid #b4282d;
  53. font-size: 20.5rpx;
  54. text-align: center;
  55. line-height: 29rpx;
  56. color: #b4282d;
  57. }
  58. .address-box .m {
  59. flex: 1;
  60. }
  61. .address-box .mobile {
  62. display: block;
  63. height: 29rpx;
  64. line-height: 29rpx;
  65. margin-bottom: 6.25rpx;
  66. font-size: 26rpx;
  67. }
  68. .address-box .address {
  69. display: block;
  70. /* height: 30rpx; */
  71. line-height: 30rpx;
  72. font-size: 26rpx;
  73. margin:0 0 18rpx 0;
  74. }
  75. .address-bottom{
  76. color: #85868A;
  77. line-height: 24rpx;
  78. height: 24rpx;
  79. font-size: 22rpx;
  80. }
  81. .address-bottom .user-name{
  82. margin:0 32rpx 0 0;
  83. }
  84. .address-box .r {
  85. width: 77rpx;
  86. height: 77rpx;
  87. display: flex;
  88. justify-content: center;
  89. align-items: center;
  90. }
  91. .address-box .r image {
  92. width: 52.078rpx;
  93. height: 52.078rpx;
  94. }
  95. .coupon-box {
  96. width: 100%;
  97. height: 210rpx;
  98. background: #fff;
  99. border-radius:10rpx;
  100. margin-top: 20rpx;
  101. }
  102. .coupon-box .coupon-item {
  103. margin: 0 10rpx;
  104. height: 70rpx;
  105. overflow: hidden;
  106. background: #fff;
  107. display: flex;
  108. padding:0 20rpx 0 10rpx;
  109. align-items: center;
  110. justify-content: space-between;
  111. border-bottom:2rpx solid #E4E4E4;
  112. }
  113. .coupon-box .l {
  114. flex: 1;
  115. height: 70rpx;
  116. display: flex;
  117. align-items: center;
  118. justify-content: space-between;
  119. }
  120. .coupon-box .l .name {
  121. font-size: 24rpx;
  122. }
  123. .coupon-box .l .txt {
  124. font-size: 24rpx;
  125. }
  126. .coupon-box .r {
  127. width: 30rpx;
  128. height: 40rpx;
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. }
  133. .coupon-box .r image {
  134. width: 52.078rpx;
  135. height: 52.078rpx;
  136. }
  137. .message-box {
  138. margin-top: 20rpx;
  139. width: 100%;
  140. height: auto;
  141. overflow: hidden;
  142. background: #fff;
  143. }
  144. .message-box .message-item {
  145. height: 86.078rpx;
  146. overflow: hidden;
  147. background: #fff;
  148. display: flex;
  149. margin-left: 31.25rpx;
  150. padding-right: 31.25rpx;
  151. }
  152. .message-box .message-app {
  153. height: 74.078rpx;
  154. overflow: hidden;
  155. background: #fff;
  156. display: flex;
  157. margin-left: 31.25rpx;
  158. padding-right: 31.25rpx;
  159. padding-top: 18rpx;border-radius: 20rpx;
  160. }
  161. .order-box {
  162. margin-top: 20rpx;
  163. width: 100%;
  164. height: auto;
  165. overflow: hidden;
  166. background: #fff;
  167. }
  168. .order-box .order-item {
  169. border-radius: 10rpx;
  170. height: 70rpx;
  171. overflow: hidden;
  172. background: #fff;
  173. display: flex;
  174. align-items: center;
  175. justify-content: space-between;
  176. padding:0 20rpx;
  177. border-bottom: 1px solid #d9d9d9;
  178. }
  179. .order-box .order-item.tip-item{
  180. padding-bottom:26rpx;
  181. height: auto;
  182. display: flex;
  183. flex-direction: column;
  184. }
  185. .order-box .order-item .l {
  186. width:100rpx;
  187. height: 70rpx;
  188. line-height: 70rpx;
  189. align-items: center;
  190. }
  191. .order-box .order-item .l .name{
  192. font-size: 24rpx;
  193. }
  194. .order-box .order-item .r {
  195. line-height: 70rpx;
  196. flex:1;
  197. height: 70rpx;
  198. line-height: 70rpx;
  199. align-items: center;
  200. text-align: right;
  201. /* overflow: hidden; */
  202. }
  203. .order-box .order-item.no-border {
  204. border-bottom: none;
  205. }
  206. .goods-items {
  207. /* margin-top: 20rpx; */
  208. background: #fff;
  209. /* margin-bottom: 120rpx; */
  210. border-radius: 10rpx;
  211. padding: 20rpx 12rpx;
  212. }
  213. .goods-items .item {
  214. height:210rpx;
  215. align-items: center;
  216. }
  217. .goods-items .item .name{
  218. font-size: 28rpx;
  219. /* height: 28rpx; */
  220. line-height: 32rpx;
  221. color: #2a2a2a;
  222. }
  223. .goods-items .item.no-border {
  224. border-bottom: none;
  225. }
  226. .goods-items .item:last-child {
  227. border-bottom: none;
  228. }
  229. .goods-items .img {
  230. height: 178rpx;
  231. width: 178rpx;
  232. /* background-color: #f4f4f4; */
  233. margin-right: 26rpx;
  234. border-radius: 10rpx;
  235. }
  236. .goods-items .img image {
  237. height: 178rpx;
  238. width: 178rpx;
  239. border-radius:10rpx;
  240. }
  241. .goods-items .info {
  242. flex: 1;
  243. height: 210rpx;
  244. padding:14rpx 0 0;
  245. }
  246. .goods-items .t {
  247. height: 33rpx;
  248. line-height: 33rpx;
  249. margin-bottom: 10rpx;
  250. overflow: hidden;
  251. font-size: 30rpx;
  252. color: #333;
  253. }
  254. .goods-items .t .name {
  255. display: block;
  256. float: left;
  257. }
  258. .goods-items .t .number {
  259. display: block;
  260. float: right;
  261. text-align: right;
  262. }
  263. .goods-items .m {
  264. height: 28rpx;
  265. overflow: hidden;
  266. line-height: 28rpx;
  267. margin-bottom: 16rpx;
  268. font-size: 24rpx;
  269. color: #85868A;
  270. margin-top: 5rpx;
  271. }
  272. .goods-items .b {
  273. height: 28rpx;
  274. line-height: 28rpx;
  275. font-size: 24rpx;
  276. color: #85868A;
  277. }
  278. .order-total {
  279. position: fixed;
  280. left: 0;
  281. bottom: 0;
  282. height: 100rpx;
  283. width: 100%;
  284. display: flex;
  285. }
  286. .order-total .l {
  287. flex: 1;
  288. height: 100rpx;
  289. line-height: 100rpx;
  290. color: #b4282d;
  291. background: #fff;
  292. font-size: 33rpx;
  293. padding-left: 31.25rpx;
  294. border-top: 1rpx solid rgba(0, 0, 0, 0.2);
  295. border-bottom: 1rpx solid rgba(0, 0, 0, 0.2);
  296. }
  297. .order-total .r {
  298. width: 233rpx;
  299. height: 100rpx;
  300. background: #b4282d;
  301. border: 1px solid #b4282d;
  302. line-height: 100rpx;
  303. text-align: center;
  304. color: #fff;
  305. font-size: 30rpx;
  306. }
  307. .actual-price{
  308. color: #2a2a2a;
  309. /* font-weight: bold; */
  310. font-size: 30rpx;
  311. text-align: right;
  312. margin:28rpx 0 0;
  313. }
  314. .actual-price text{
  315. color:#DF1717;
  316. }
  317. .go-pay-wrapper{
  318. position: fixed;
  319. bottom: 0;
  320. left:0;
  321. right:0;
  322. height: 130rpx;
  323. padding:20rpx 24rpx;
  324. /* background:#fff; */
  325. }
  326. view.go-pay-wrapper button > view{
  327. color:#fff;
  328. }
  329. .appoint-time-block{
  330. margin-top:20rpx;
  331. background:#fff;
  332. border-radius: 10rpx;
  333. }
  334. .appoint-time-block view.appoint-time-operate{
  335. padding:0 20rpx;
  336. height: 70rpx;
  337. display: flex;
  338. align-items: center;
  339. justify-content: space-between;
  340. font-size: 24rpx;
  341. }
  342. view.operate-left{
  343. color:#2a2a2a;
  344. }
  345. view.operate-right{
  346. display: flex;
  347. align-items:center;
  348. }
  349. view.operate-right{
  350. color:#09AFFF;
  351. }
  352. view.operate-right .not-select{
  353. color:#333;
  354. }
  355. .appoint-time-show{
  356. border-top:2rpx solid #E4E4E4;
  357. padding:0 24rpx;
  358. font-size: 24rpx;
  359. }
  360. view.one-time{
  361. height: 70rpx;
  362. display: flex;
  363. align-items: center;
  364. justify-content: space-between;
  365. }
  366. view.one-time text{
  367. color:#999;
  368. font-size: 26rpx;
  369. }
  370. .multi-times{
  371. padding:30rpx 0
  372. }
  373. .multi-times-item{
  374. height: 54rpx;
  375. display: flex;
  376. align-items: center;
  377. justify-content: space-between;
  378. }
  379. .multi-times-item text{
  380. font-weight: bold;
  381. font-size: 24rpx;
  382. }
  383. view.appoint-result{
  384. margin-top:18rpx;
  385. border:2rpx solid #09AFFF;
  386. border-radius:20rpx;
  387. line-height:46rpx;
  388. font-size: 26rpx;
  389. padding:10rpx;
  390. }
  391. .orange-font{
  392. color:#FA6400;
  393. font-weight: bold;
  394. font-size: 26rpx;
  395. }
  396. .order-item .message-item{
  397. color:#2a2a2a;
  398. font-size: 24rpx;
  399. font-weight: normal;
  400. height: 70rpx;
  401. }
  402. /* 选择时间 */
  403. view.popup-wrapper{
  404. /* padding: 0 0 20rpx; */
  405. color:#333;
  406. display: flex;
  407. flex-direction: column;
  408. justify-content: space-between;
  409. height: 100%;
  410. z-index:999;
  411. }
  412. view.popup-wrapper view{
  413. color:#888;
  414. font-size: 30rpx;
  415. }
  416. .popup-content{
  417. flex:1;
  418. }
  419. .popup-title{
  420. height: 96rpx;
  421. line-height: 96rpx;
  422. text-align: center;
  423. border-bottom: 1rpx solid #ddd;
  424. }
  425. .popup-content{
  426. display: flex;
  427. }
  428. .time-select-left{
  429. flex:2;
  430. border-right:1rpx solid #ddd;
  431. padding:0 20rpx;
  432. }
  433. .time-select-right{
  434. flex:3;
  435. padding:0 8rpx;
  436. }
  437. .time-select-left-item{
  438. height: 108rpx;
  439. display: flex;
  440. flex-direction: column;
  441. justify-content: center;
  442. }
  443. .popup-content .current-date{
  444. color:#09afff;
  445. font-weight: bold;
  446. }
  447. view.popup-wrapper .time-select-right-item{
  448. height: 104rpx;
  449. border-bottom:1rpx solid #ddd;
  450. display: flex;
  451. align-items: center;
  452. justify-content: space-between;
  453. padding:0 10rpx 0 12rpx;
  454. }
  455. .time-select-right-item view{
  456. color:#6D7278;
  457. font-weight: bold;
  458. }
  459. view.popup-btn-wrapper{
  460. margin:20rpx 0 0;
  461. padding:0 24rpx 20rpx;
  462. }
  463. view.popup-btn-wrapper button > view{
  464. color:#fff;
  465. }
  466. view.popup-wrapper .date-tag{
  467. color:#09afff;
  468. height: 44rpx;
  469. line-height: 42rpx;
  470. width:90rpx;
  471. border:2rpx solid #09afff;
  472. border-radius:44rpx;
  473. text-align: center;
  474. font-weight: normal;
  475. font-size: 24rpx;
  476. display: inline-block;
  477. }
  478. view.popup-wrapper .full-time{
  479. color:#09AFFF;
  480. font-size: 24rpx;
  481. margin:0 0 0 20rpx;
  482. height: 44rpx;
  483. line-height: 44rpx;
  484. float: right;
  485. padding-right:40rpx;
  486. }
  487. .first-appoint-date-item{
  488. height: 108rpx;
  489. display: flex;
  490. align-items: center;
  491. padding:0 0 0 240rpx;
  492. }
  493. .first-time-selected{
  494. margin:0 0 0 60rpx;
  495. }
  496. .select-week-times{
  497. border-top:1rpx solid #ddd;
  498. }
  499. .week-select-left{
  500. flex:1.2;
  501. }
  502. .week-select-left>view.time-select-left-item{
  503. padding:0 0 0 60rpx;
  504. display: flex;
  505. align-items: flex-start;
  506. justify-content: flex-start;
  507. flex-direction: row;
  508. padding:10rpx 0 0 60rpx;
  509. }
  510. .week-select-left>view.time-select-left-item .week-str{
  511. padding:12rpx 0 0 0;
  512. }
  513. view.popup-wrapper view.select-num-tag{
  514. width:32rpx;
  515. height: 32rpx;
  516. line-height: 32rpx;
  517. background:#09AFFF;
  518. border-radius: 34rpx;
  519. font-size: 20rpx;
  520. color:#fff;
  521. text-align: center;
  522. margin:0 0 0 6rpx;
  523. }
  524. /* 支付失败弹框 */
  525. .overlay-wrapper {
  526. display: flex;
  527. align-items: center;
  528. justify-content: center;
  529. height: 100%;
  530. }
  531. .fail-wrapper {
  532. width: 588rpx;
  533. height:502rpx;
  534. border-radius:10rpx;
  535. background: #fff;
  536. padding-bottom:40rpx;
  537. padding:80rpx 0 0;
  538. font-size: 24rpx;
  539. display: flex;
  540. flex-direction: column;
  541. justify-content: space-between;
  542. }
  543. .fail-top{
  544. display: flex;
  545. flex-direction: column;
  546. align-items: center;
  547. }
  548. .fail-top image{
  549. width:110rpx;
  550. height: 110rpx;
  551. }
  552. .fail-text{
  553. font-size: 34rpx;
  554. font-weight: bold;
  555. margin:66rpx 0 24rpx;
  556. height: 34rpx;
  557. }
  558. .fail-bottom{
  559. height: 132rpx;
  560. border-top:2rpx solid #E4E4E4;
  561. display: flex;
  562. justify-content: space-around;
  563. align-items: center;
  564. }
  565. .fail-bottom .btn-devide{
  566. width:2rpx;
  567. height: 130rpx;
  568. background: #E4E4E4;
  569. }
  570. .cancel-btn{
  571. width:202rpx;
  572. height: 72rpx;
  573. line-height: 72rpx;
  574. border:2rpx solid #85868A;
  575. color:#282728;
  576. border-radius:72rpx;
  577. text-align: center;
  578. }
  579. .repay-btn{
  580. width:202rpx;
  581. height: 72rpx;
  582. line-height: 72rpx;
  583. background: #09AFFF;
  584. color:#fff;
  585. border-radius:72rpx;
  586. text-align: center;
  587. }
  588. .discount-title{
  589. height:70rpx;
  590. background: #E0F5FC;
  591. padding:0 10rpx;
  592. display: flex;
  593. align-items: center;
  594. }
  595. .discount-title image{
  596. width:24rpx;
  597. height: 26rpx;
  598. margin:0 8rpx 0 0;
  599. }
  600. .discount-title text{
  601. font-size: 28rpx;
  602. font-weight:bold;
  603. color: #323232;
  604. }
  605. .discount-line{
  606. padding:0 50rpx 0 20rpx;
  607. }
  608. .discount-line .txt{
  609. color: #DF1717;
  610. font-size: 24rpx;
  611. }
  612. .member-benefit,.buy-member{
  613. margin:20rpx 0 0;
  614. height: 70rpx;
  615. background: #fff;
  616. border-radius: 10rpx;
  617. padding:0 20rpx;
  618. display: flex;
  619. align-items: center;
  620. justify-content: space-between;
  621. }
  622. .member-benefit .member-tip{
  623. text-align: right;
  624. }
  625. .member-tag{
  626. width: 142rpx;
  627. padding:0 10rpx;
  628. height: 44rpx;
  629. line-height: 44rpx;
  630. text-align: center;
  631. background: #2E3235;
  632. border-radius: 5rpx;
  633. }
  634. .member-tag text{
  635. font-size: 24rpx;
  636. color: #2A2A2A;
  637. background: linear-gradient(177deg, #F1E3C8 0%, #E6C162 100%);
  638. -webkit-background-clip: text;
  639. -webkit-text-fill-color: transparent;
  640. }
  641. .member-tip{
  642. flex:1;
  643. margin:0 0 0 26rpx;
  644. color:#DF1717;
  645. font-size: 24rpx;
  646. }
  647. .popup-content-special{
  648. position: relative;
  649. }
  650. .popup-title-special{
  651. position: absolute;
  652. left:0;
  653. top:0;
  654. right:0;
  655. background: #fff;
  656. }
  657. .popup-content-special{
  658. height:900rpx ;
  659. margin-top:96rpx;
  660. }
  661. .popup-content-special .time-select-left{
  662. height: 900rpx;
  663. overflow-y: scroll;
  664. }
  665. .stock-text{
  666. font-size: 20rpx;
  667. font-weight: normal;
  668. color:#888
  669. }
  670. .zero-stock{
  671. color:#ccc;
  672. }
  673. .order-box.code-module{
  674. border-radius:10rpx;
  675. padding:8rpx 0;
  676. }
  677. .codeTips{
  678. height: 52rpx;
  679. line-height: 40rpx;
  680. padding-bottom:20rpx;
  681. color:#09afff;
  682. font-size: 26rpx;
  683. text-align: right;
  684. padding:0 20rpx;
  685. }
  686. .codeTips.no-match{
  687. color: #FA6400;
  688. }
  689. .plus-order{
  690. margin-top:20rpx;
  691. width:694rpx;
  692. border-radius: 10rpx;
  693. height:100rpx;
  694. display: flex;
  695. padding:0 20rpx;
  696. background: #fff;
  697. align-items: center;
  698. }
  699. .plus-order .plus-title{
  700. color:#999;
  701. }
  702. .plus-order .plus-name{
  703. flex:1;
  704. margin:0 20rpx;
  705. font-size: 30rpx;
  706. color: #333;
  707. }
  708. .plus-name .plus-num{
  709. color: #09afff;
  710. font-size: 30rpx;
  711. font-weight: bold;
  712. }
  713. .plus-amount{
  714. color: #09afff;
  715. font-size: 32rpx;
  716. font-weight: bold;
  717. }