checkout.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  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: 28rpx;
  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. }
  270. .goods-items .b {
  271. height: 28rpx;
  272. line-height: 28rpx;
  273. font-size: 24rpx;
  274. color: #85868A;
  275. }
  276. .order-total {
  277. position: fixed;
  278. left: 0;
  279. bottom: 0;
  280. height: 100rpx;
  281. width: 100%;
  282. display: flex;
  283. }
  284. .order-total .l {
  285. flex: 1;
  286. height: 100rpx;
  287. line-height: 100rpx;
  288. color: #b4282d;
  289. background: #fff;
  290. font-size: 33rpx;
  291. padding-left: 31.25rpx;
  292. border-top: 1rpx solid rgba(0, 0, 0, 0.2);
  293. border-bottom: 1rpx solid rgba(0, 0, 0, 0.2);
  294. }
  295. .order-total .r {
  296. width: 233rpx;
  297. height: 100rpx;
  298. background: #b4282d;
  299. border: 1px solid #b4282d;
  300. line-height: 100rpx;
  301. text-align: center;
  302. color: #fff;
  303. font-size: 30rpx;
  304. }
  305. .actual-price{
  306. color: #2a2a2a;
  307. /* font-weight: bold; */
  308. font-size: 30rpx;
  309. text-align: right;
  310. margin:28rpx 0 0;
  311. }
  312. .actual-price text{
  313. color:#DF1717;
  314. }
  315. .go-pay-wrapper{
  316. position: fixed;
  317. bottom: 0;
  318. left:0;
  319. right:0;
  320. height: 130rpx;
  321. padding:20rpx 24rpx;
  322. /* background:#fff; */
  323. }
  324. view.go-pay-wrapper button > view{
  325. color:#fff;
  326. }
  327. .appoint-time-block{
  328. margin-top:20rpx;
  329. background:#fff;
  330. border-radius: 10rpx;
  331. }
  332. .appoint-time-block view.appoint-time-operate{
  333. padding:0 20rpx;
  334. height: 70rpx;
  335. display: flex;
  336. align-items: center;
  337. justify-content: space-between;
  338. font-size: 24rpx;
  339. }
  340. view.operate-left{
  341. color:#2a2a2a;
  342. }
  343. view.operate-right{
  344. display: flex;
  345. align-items:center;
  346. }
  347. view.operate-right{
  348. color:#09AFFF;
  349. }
  350. view.operate-right .not-select{
  351. color:#333;
  352. }
  353. .appoint-time-show{
  354. border-top:2rpx solid #E4E4E4;
  355. padding:0 24rpx;
  356. font-size: 24rpx;
  357. }
  358. view.one-time{
  359. height: 70rpx;
  360. display: flex;
  361. align-items: center;
  362. justify-content: space-between;
  363. }
  364. view.one-time text{
  365. color:#999;
  366. font-size: 26rpx;
  367. }
  368. .multi-times{
  369. padding:30rpx 0
  370. }
  371. .multi-times-item{
  372. height: 54rpx;
  373. display: flex;
  374. align-items: center;
  375. justify-content: space-between;
  376. }
  377. .multi-times-item text{
  378. font-weight: bold;
  379. font-size: 24rpx;
  380. }
  381. view.appoint-result{
  382. margin-top:18rpx;
  383. border:2rpx solid #09AFFF;
  384. border-radius:20rpx;
  385. line-height:46rpx;
  386. font-size: 26rpx;
  387. padding:10rpx;
  388. }
  389. .orange-font{
  390. color:#FA6400;
  391. font-weight: bold;
  392. font-size: 26rpx;
  393. }
  394. .order-item .message-item{
  395. color:#2a2a2a;
  396. font-size: 24rpx;
  397. font-weight: normal;
  398. height: 70rpx;
  399. }
  400. /* 选择时间 */
  401. view.popup-wrapper{
  402. /* padding: 0 0 20rpx; */
  403. color:#333;
  404. display: flex;
  405. flex-direction: column;
  406. justify-content: space-between;
  407. height: 100%;
  408. z-index:999;
  409. }
  410. view.popup-wrapper view{
  411. color:#888;
  412. font-size: 30rpx;
  413. }
  414. .popup-content{
  415. flex:1;
  416. }
  417. .popup-title{
  418. height: 96rpx;
  419. line-height: 96rpx;
  420. text-align: center;
  421. border-bottom: 1rpx solid #ddd;
  422. }
  423. .popup-content{
  424. display: flex;
  425. }
  426. .time-select-left{
  427. flex:2;
  428. border-right:1rpx solid #ddd;
  429. padding:0 20rpx;
  430. }
  431. .time-select-right{
  432. flex:3;
  433. padding:0 8rpx;
  434. }
  435. .time-select-left-item{
  436. height: 108rpx;
  437. display: flex;
  438. flex-direction: column;
  439. justify-content: center;
  440. }
  441. .popup-content view.current-date{
  442. color:#09afff;
  443. font-weight: bold;
  444. }
  445. view.popup-wrapper .time-select-right-item{
  446. height: 104rpx;
  447. border-bottom:1rpx solid #ddd;
  448. display: flex;
  449. align-items: center;
  450. justify-content: space-between;
  451. padding:0 24rpx;
  452. }
  453. .time-select-right-item view{
  454. color:#6D7278;
  455. font-weight: bold;
  456. }
  457. view.popup-btn-wrapper{
  458. margin:20rpx 0 0;
  459. padding:0 24rpx 20rpx;
  460. }
  461. view.popup-btn-wrapper button > view{
  462. color:#fff;
  463. }
  464. view.popup-wrapper .date-tag{
  465. color:#09afff;
  466. height: 44rpx;
  467. line-height: 44rpx;
  468. width:130rpx;
  469. border:1rpx solid #09afff;
  470. border-radius:44rpx;
  471. text-align: center;
  472. font-weight: normal;
  473. font-size: 28rpx;
  474. display: inline-block;
  475. }
  476. view.popup-wrapper .full-time{
  477. color:#09AFFF;
  478. font-size: 24rpx;
  479. margin:0 0 0 20rpx;
  480. height: 44rpx;
  481. line-height: 44rpx;
  482. float: right;
  483. padding-right:40rpx;
  484. }
  485. .first-appoint-date-item{
  486. height: 108rpx;
  487. display: flex;
  488. align-items: center;
  489. padding:0 0 0 240rpx;
  490. }
  491. .first-time-selected{
  492. margin:0 0 0 60rpx;
  493. }
  494. .select-week-times{
  495. border-top:1rpx solid #ddd;
  496. }
  497. .week-select-left{
  498. flex:1.2;
  499. }
  500. .week-select-left>view.time-select-left-item{
  501. padding:0 0 0 60rpx;
  502. display: flex;
  503. align-items: flex-start;
  504. justify-content: flex-start;
  505. flex-direction: row;
  506. padding:10rpx 0 0 60rpx;
  507. }
  508. .week-select-left>view.time-select-left-item .week-str{
  509. padding:12rpx 0 0 0;
  510. }
  511. view.popup-wrapper view.select-num-tag{
  512. width:32rpx;
  513. height: 32rpx;
  514. line-height: 32rpx;
  515. background:#09AFFF;
  516. border-radius: 34rpx;
  517. font-size: 20rpx;
  518. color:#fff;
  519. text-align: center;
  520. margin:0 0 0 6rpx;
  521. }
  522. /* 支付失败弹框 */
  523. .overlay-wrapper {
  524. display: flex;
  525. align-items: center;
  526. justify-content: center;
  527. height: 100%;
  528. }
  529. .fail-wrapper {
  530. width: 588rpx;
  531. height:502rpx;
  532. border-radius:10rpx;
  533. background: #fff;
  534. padding-bottom:40rpx;
  535. padding:80rpx 0 0;
  536. font-size: 24rpx;
  537. display: flex;
  538. flex-direction: column;
  539. justify-content: space-between;
  540. }
  541. .fail-top{
  542. display: flex;
  543. flex-direction: column;
  544. align-items: center;
  545. }
  546. .fail-top image{
  547. width:110rpx;
  548. height: 110rpx;
  549. }
  550. .fail-text{
  551. font-size: 34rpx;
  552. font-weight: bold;
  553. margin:66rpx 0 24rpx;
  554. height: 34rpx;
  555. }
  556. .fail-bottom{
  557. height: 132rpx;
  558. border-top:2rpx solid #E4E4E4;
  559. display: flex;
  560. justify-content: space-around;
  561. align-items: center;
  562. }
  563. .fail-bottom .btn-devide{
  564. width:2rpx;
  565. height: 130rpx;
  566. background: #E4E4E4;
  567. }
  568. .cancel-btn{
  569. width:202rpx;
  570. height: 72rpx;
  571. line-height: 72rpx;
  572. border:2rpx solid #85868A;
  573. color:#282728;
  574. border-radius:72rpx;
  575. text-align: center;
  576. }
  577. .repay-btn{
  578. width:202rpx;
  579. height: 72rpx;
  580. line-height: 72rpx;
  581. background: #09AFFF;
  582. color:#fff;
  583. border-radius:72rpx;
  584. text-align: center;
  585. }
  586. .discount-title{
  587. height:70rpx;
  588. background: #E0F5FC;
  589. padding:0 10rpx;
  590. display: flex;
  591. align-items: center;
  592. }
  593. .discount-title image{
  594. width:24rpx;
  595. height: 26rpx;
  596. margin:0 8rpx 0 0;
  597. }
  598. .discount-title text{
  599. font-size: 28rpx;
  600. font-weight:bold;
  601. color: #323232;
  602. }
  603. .discount-line{
  604. padding:0 50rpx 0 20rpx;
  605. }
  606. .discount-line .txt{
  607. color: #DF1717;
  608. font-size: 24rpx;
  609. }
  610. .member-benefit,.buy-member{
  611. margin:20rpx 0 0;
  612. height: 70rpx;
  613. background: #fff;
  614. border-radius: 10rpx;
  615. padding:0 20rpx;
  616. display: flex;
  617. align-items: center;
  618. justify-content: space-between;
  619. }
  620. .member-benefit .member-tip{
  621. text-align: right;
  622. }
  623. .member-tag{
  624. width: 142rpx;
  625. padding:0 10rpx;
  626. height: 44rpx;
  627. line-height: 44rpx;
  628. text-align: center;
  629. background: #2E3235;
  630. border-radius: 5rpx;
  631. }
  632. .member-tag text{
  633. font-size: 24rpx;
  634. color: #2A2A2A;
  635. background: linear-gradient(177deg, #F1E3C8 0%, #E6C162 100%);
  636. -webkit-background-clip: text;
  637. -webkit-text-fill-color: transparent;
  638. }
  639. .member-tip{
  640. flex:1;
  641. margin:0 0 0 26rpx;
  642. color:#DF1717;
  643. font-size: 24rpx;
  644. }
  645. .popup-content-special{
  646. position: relative;
  647. }
  648. .popup-title-special{
  649. position: absolute;
  650. left:0;
  651. top:0;
  652. right:0;
  653. background: #fff;
  654. }
  655. .popup-content-special{
  656. height:900rpx ;
  657. margin-top:96rpx;
  658. }
  659. .popup-content-special .time-select-left{
  660. height: 900rpx;
  661. overflow-y: scroll;
  662. }