checkout.wxss 12 KB

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