order.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766
  1. .order-page {
  2. background: #f7f8fa;
  3. min-height: 100vh;
  4. padding-bottom: 120rpx;
  5. }
  6. /* 包车主题 */
  7. .charter-theme {
  8. background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
  9. }
  10. /* 活动头部 */
  11. .activity-header {
  12. background: linear-gradient(135deg, #FFA940 0%, #FF8C00 100%);
  13. padding: 40rpx 32rpx;
  14. color: #fff;
  15. }
  16. .charter-theme .activity-header {
  17. background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  18. color: #1a1a1a;
  19. }
  20. .activity-title {
  21. font-size: 40rpx;
  22. font-weight: bold;
  23. text-align: center;
  24. }
  25. /* 班次信息卡片 */
  26. .schedule-card {
  27. background: #fff;
  28. margin: 32rpx;
  29. border-radius: 20rpx;
  30. padding: 32rpx;
  31. box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
  32. }
  33. .charter-card {
  34. background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  35. border: 2rpx solid #d4af37;
  36. box-shadow: 0 8rpx 32rpx rgba(212, 175, 55, 0.3);
  37. }
  38. .schedule-header {
  39. display: flex;
  40. justify-content: space-between;
  41. align-items: center;
  42. margin-bottom: 32rpx;
  43. padding-bottom: 20rpx;
  44. border-bottom: 2rpx solid #f0f0f0;
  45. }
  46. .charter-card .schedule-header {
  47. border-bottom-color: #444;
  48. }
  49. .schedule-title {
  50. font-size: 36rpx;
  51. font-weight: bold;
  52. color: #333;
  53. }
  54. .charter-card .schedule-title {
  55. color: #d4af37;
  56. }
  57. .schedule-type {
  58. background: #FFA940;
  59. color: #fff;
  60. padding: 8rpx 20rpx;
  61. border-radius: 20rpx;
  62. font-size: 24rpx;
  63. font-weight: bold;
  64. }
  65. .charter-card .schedule-type {
  66. background: #d4af37;
  67. color: #1a1a1a;
  68. }
  69. .schedule-details {
  70. margin-bottom: 24rpx;
  71. }
  72. .detail-row {
  73. display: flex;
  74. justify-content: space-between;
  75. margin-bottom: 20rpx;
  76. }
  77. .label {
  78. font-size: 28rpx;
  79. color: #666;
  80. width: 180rpx;
  81. flex-shrink: 0;
  82. }
  83. .charter-card .label {
  84. color: #ccc;
  85. }
  86. .value {
  87. font-size: 28rpx;
  88. color: #333;
  89. flex: 1;
  90. text-align: right;
  91. }
  92. .charter-card .value {
  93. color: #fff;
  94. }
  95. .value.price {
  96. color: #FFA940;
  97. font-weight: bold;
  98. font-size: 32rpx;
  99. }
  100. .charter-card .value.price {
  101. color: #d4af37;
  102. }
  103. .policy-info {
  104. background: #f8f9fa;
  105. padding: 20rpx;
  106. border-radius: 12rpx;
  107. border-left: 4rpx solid #FFA940;
  108. }
  109. .charter-card .policy-info {
  110. background: #333;
  111. border-left-color: #d4af37;
  112. }
  113. .policy-text {
  114. font-size: 24rpx;
  115. color: #666;
  116. }
  117. .charter-card .policy-text {
  118. color: #ccc;
  119. }
  120. /* 折扣选择区域 */
  121. .discount-section {
  122. background: #fff;
  123. margin: 32rpx;
  124. border-radius: 20rpx;
  125. box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
  126. overflow: hidden;
  127. }
  128. .member-info {
  129. padding: 24rpx 32rpx;
  130. border-bottom: 1rpx solid #f0f0f0;
  131. }
  132. .member-level {
  133. display: flex;
  134. align-items: center;
  135. gap: 12rpx;
  136. }
  137. .level-icon {
  138. font-size: 32rpx;
  139. }
  140. .level-name {
  141. font-size: 28rpx;
  142. font-weight: bold;
  143. color: #333;
  144. }
  145. .discount-text {
  146. font-size: 24rpx;
  147. color: #4A90C2;
  148. background: rgba(74, 144, 194, 0.1);
  149. padding: 4rpx 12rpx;
  150. border-radius: 12rpx;
  151. }
  152. .coupon-section {
  153. padding: 24rpx 32rpx;
  154. display: flex;
  155. justify-content: space-between;
  156. align-items: center;
  157. }
  158. .coupon-info {
  159. display: flex;
  160. align-items: center;
  161. gap: 12rpx;
  162. flex: 1;
  163. }
  164. .coupon-icon {
  165. font-size: 32rpx;
  166. }
  167. .coupon-selected {
  168. font-size: 28rpx;
  169. color: #4A90C2;
  170. font-weight: bold;
  171. }
  172. .coupon-placeholder {
  173. font-size: 28rpx;
  174. color: #999;
  175. }
  176. .arrow {
  177. font-size: 24rpx;
  178. color: #999;
  179. }
  180. /* 各个区块 */
  181. .phone-section,
  182. .passenger-section,
  183. .price-section {
  184. margin: 32rpx;
  185. background: #fff;
  186. border-radius: 20rpx;
  187. padding: 32rpx;
  188. box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08);
  189. }
  190. .charter-theme .phone-section,
  191. .charter-theme .passenger-section {
  192. background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  193. border: 2rpx solid #d4af37;
  194. box-shadow: 0 8rpx 32rpx rgba(212, 175, 55, 0.3);
  195. }
  196. .charter-price {
  197. background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  198. border: 2rpx solid #d4af37;
  199. box-shadow: 0 8rpx 32rpx rgba(212, 175, 55, 0.3);
  200. }
  201. .section-title {
  202. font-size: 32rpx;
  203. font-weight: bold;
  204. color: #333;
  205. margin-bottom: 24rpx;
  206. }
  207. .charter-theme .section-title {
  208. color: #d4af37;
  209. }
  210. .section-header {
  211. display: flex;
  212. justify-content: space-between;
  213. align-items: center;
  214. margin-bottom: 24rpx;
  215. }
  216. .passenger-count {
  217. background: #FFA940;
  218. color: #fff;
  219. padding: 8rpx 16rpx;
  220. border-radius: 20rpx;
  221. font-size: 24rpx;
  222. font-weight: bold;
  223. }
  224. .charter-theme .passenger-count {
  225. background: #d4af37;
  226. color: #1a1a1a;
  227. }
  228. /* 手机号区域 */
  229. .phone-display {
  230. background: #f8f9fa;
  231. padding: 24rpx;
  232. border-radius: 12rpx;
  233. border: 2rpx solid #e9ecef;
  234. }
  235. .charter-theme .phone-display {
  236. background: #333;
  237. border-color: #555;
  238. }
  239. .phone-info {
  240. display: flex;
  241. align-items: center;
  242. gap: 16rpx;
  243. }
  244. .phone-icon {
  245. font-size: 32rpx;
  246. }
  247. .phone-number {
  248. font-size: 32rpx;
  249. font-weight: bold;
  250. color: #333;
  251. flex: 1;
  252. }
  253. .charter-theme .phone-number {
  254. color: #fff;
  255. }
  256. .phone-status {
  257. background: #52c41a;
  258. color: #fff;
  259. padding: 4rpx 12rpx;
  260. border-radius: 16rpx;
  261. font-size: 22rpx;
  262. }
  263. .phone-btn {
  264. width: 100%;
  265. background: linear-gradient(135deg, #FFA940 0%, #FF8C00 100%);
  266. color: #fff;
  267. border: none;
  268. border-radius: 50rpx;
  269. padding: 24rpx 0;
  270. font-size: 32rpx;
  271. font-weight: bold;
  272. display: flex;
  273. align-items: center;
  274. justify-content: center;
  275. gap: 12rpx;
  276. box-shadow: 0 8rpx 24rpx rgba(255, 169, 64, 0.3);
  277. }
  278. .charter-btn {
  279. background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  280. color: #1a1a1a;
  281. box-shadow: 0 8rpx 24rpx rgba(212, 175, 55, 0.4);
  282. }
  283. .btn-icon {
  284. font-size: 28rpx;
  285. }
  286. /* 乘车人列表 */
  287. .passenger-list {
  288. margin-bottom: 24rpx;
  289. }
  290. .passenger-item {
  291. display: flex;
  292. justify-content: space-between;
  293. align-items: center;
  294. background: #f8f9fa;
  295. padding: 24rpx;
  296. border-radius: 12rpx;
  297. margin-bottom: 16rpx;
  298. border: 2rpx solid #e9ecef;
  299. }
  300. .charter-theme .passenger-item {
  301. background: #333;
  302. border-color: #555;
  303. }
  304. .passenger-info {
  305. flex: 1;
  306. }
  307. .passenger-name {
  308. font-size: 32rpx;
  309. font-weight: bold;
  310. color: #333;
  311. margin-bottom: 8rpx;
  312. }
  313. .charter-theme .passenger-name {
  314. color: #fff;
  315. }
  316. .passenger-details {
  317. display: flex;
  318. gap: 16rpx;
  319. margin-bottom: 8rpx;
  320. }
  321. .id-type {
  322. background: #FFA940;
  323. color: #fff;
  324. padding: 4rpx 12rpx;
  325. border-radius: 16rpx;
  326. font-size: 22rpx;
  327. }
  328. .charter-theme .id-type {
  329. background: #d4af37;
  330. color: #1a1a1a;
  331. }
  332. .id-number {
  333. font-size: 26rpx;
  334. color: #666;
  335. }
  336. .charter-theme .id-number {
  337. color: #ccc;
  338. }
  339. .passenger-phone {
  340. font-size: 26rpx;
  341. color: #666;
  342. }
  343. .charter-theme .passenger-phone {
  344. color: #ccc;
  345. }
  346. .delete-btn {
  347. background: #ff4d4f;
  348. color: #fff;
  349. border: none;
  350. border-radius: 20rpx;
  351. padding: 12rpx 24rpx;
  352. font-size: 24rpx;
  353. }
  354. .add-passenger-btn {
  355. width: 100%;
  356. background: #f8f9fa;
  357. color: #FFA940;
  358. border: 2rpx solid #FFA940;
  359. border-radius: 50rpx;
  360. padding: 20rpx 0;
  361. font-size: 28rpx;
  362. font-weight: bold;
  363. display: flex;
  364. align-items: center;
  365. justify-content: center;
  366. gap: 12rpx;
  367. }
  368. .charter-theme .add-passenger-btn {
  369. background: #333;
  370. color: #d4af37;
  371. border-color: #d4af37;
  372. }
  373. .passenger-tip {
  374. text-align: center;
  375. margin-top: 16rpx;
  376. }
  377. .tip-text {
  378. font-size: 24rpx;
  379. color: #999;
  380. }
  381. /* 价格区域 */
  382. .price-breakdown {
  383. margin-bottom: 24rpx;
  384. }
  385. .price-item {
  386. display: flex;
  387. justify-content: space-between;
  388. margin-bottom: 16rpx;
  389. }
  390. .price-label {
  391. font-size: 28rpx;
  392. color: #666;
  393. }
  394. .charter-price .price-label {
  395. color: #ccc;
  396. }
  397. .price-value {
  398. font-size: 28rpx;
  399. color: #333;
  400. font-weight: bold;
  401. }
  402. .price-item.discount .price-label {
  403. color: #52C41A;
  404. }
  405. .discount-value {
  406. color: #52C41A !important;
  407. }
  408. .charter-price .price-value {
  409. color: #fff;
  410. }
  411. .total-price {
  412. display: flex;
  413. justify-content: space-between;
  414. align-items: center;
  415. padding-top: 24rpx;
  416. border-top: 2rpx solid #f0f0f0;
  417. }
  418. .charter-price .total-price {
  419. border-top-color: #444;
  420. }
  421. .total-label {
  422. font-size: 32rpx;
  423. font-weight: bold;
  424. color: #333;
  425. }
  426. .charter-price .total-label {
  427. color: #d4af37;
  428. }
  429. .total-value {
  430. font-size: 40rpx;
  431. font-weight: bold;
  432. color: #FFA940;
  433. }
  434. .charter-price .total-value {
  435. color: #d4af37;
  436. }
  437. /* 支付区域 */
  438. .pay-section {
  439. position: fixed;
  440. bottom: 0;
  441. left: 0;
  442. right: 0;
  443. background: #fff;
  444. padding: 24rpx 32rpx;
  445. box-shadow: 0 -4rpx 20rpx rgba(0,0,0,0.1);
  446. }
  447. .charter-theme .pay-section {
  448. background: #1a1a1a;
  449. border-top: 2rpx solid #d4af37;
  450. }
  451. .pay-btn {
  452. width: 100%;
  453. background: linear-gradient(135deg, #FFA940 0%, #FF8C00 100%);
  454. color: #fff;
  455. border: none;
  456. border-radius: 50rpx;
  457. padding: 28rpx 0;
  458. font-size: 36rpx;
  459. font-weight: bold;
  460. display: flex;
  461. align-items: center;
  462. justify-content: center;
  463. gap: 16rpx;
  464. box-shadow: 0 8rpx 24rpx rgba(255, 169, 64, 0.3);
  465. }
  466. .charter-pay-btn {
  467. background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  468. color: #1a1a1a;
  469. box-shadow: 0 8rpx 24rpx rgba(212, 175, 55, 0.4);
  470. }
  471. .pay-icon {
  472. font-size: 32rpx;
  473. }
  474. /* 乘车人选择器模态框 */
  475. .passenger-modal-overlay {
  476. position: fixed;
  477. top: 0;
  478. left: 0;
  479. right: 0;
  480. bottom: 0;
  481. background: rgba(0, 0, 0, 0.5);
  482. display: flex;
  483. align-items: center;
  484. justify-content: center;
  485. z-index: 1000;
  486. animation: fadeIn 0.3s ease;
  487. }
  488. .passenger-modal-content {
  489. background: #fff;
  490. border-radius: 24rpx;
  491. width: calc(100% - 64rpx);
  492. max-width: 640rpx;
  493. max-height: 80vh;
  494. overflow: hidden;
  495. animation: slideUp 0.3s ease;
  496. }
  497. @keyframes fadeIn {
  498. from { opacity: 0; }
  499. to { opacity: 1; }
  500. }
  501. @keyframes slideUp {
  502. from {
  503. opacity: 0;
  504. transform: translateY(40rpx);
  505. }
  506. to {
  507. opacity: 1;
  508. transform: translateY(0);
  509. }
  510. }
  511. .passenger-modal-header {
  512. display: flex;
  513. align-items: center;
  514. justify-content: space-between;
  515. padding: 32rpx;
  516. border-bottom: 1rpx solid #f0f0f0;
  517. background: rgba(74, 144, 194, 0.05);
  518. }
  519. .passenger-modal-title {
  520. font-size: 36rpx;
  521. font-weight: bold;
  522. color: #2c3e50;
  523. }
  524. .passenger-modal-close {
  525. background: transparent;
  526. border: none;
  527. font-size: 32rpx;
  528. color: #999;
  529. padding: 8rpx;
  530. line-height: 1;
  531. }
  532. .passenger-modal-body {
  533. max-height: 50vh;
  534. overflow-y: auto;
  535. padding: 24rpx 32rpx;
  536. }
  537. .no-saved-passengers {
  538. text-align: center;
  539. padding: 80rpx 32rpx;
  540. }
  541. .no-passengers-icon {
  542. font-size: 100rpx;
  543. margin-bottom: 24rpx;
  544. opacity: 0.6;
  545. }
  546. .no-passengers-text {
  547. font-size: 32rpx;
  548. color: #666;
  549. margin-bottom: 12rpx;
  550. font-weight: 600;
  551. }
  552. .no-passengers-desc {
  553. font-size: 26rpx;
  554. color: #999;
  555. }
  556. .saved-passenger-list {
  557. margin-top: 16rpx;
  558. }
  559. .saved-passenger-item {
  560. display: flex;
  561. align-items: center;
  562. justify-content: space-between;
  563. background: rgba(74, 144, 194, 0.05);
  564. border-radius: 16rpx;
  565. padding: 24rpx;
  566. margin-bottom: 16rpx;
  567. border: 2rpx solid rgba(74, 144, 194, 0.1);
  568. transition: all 0.3s ease;
  569. }
  570. .saved-passenger-item:active {
  571. background: rgba(74, 144, 194, 0.1);
  572. transform: scale(0.98);
  573. }
  574. .saved-passenger-info {
  575. flex: 1;
  576. }
  577. .saved-passenger-name {
  578. font-size: 32rpx;
  579. font-weight: 600;
  580. color: #2c3e50;
  581. margin-bottom: 8rpx;
  582. }
  583. .saved-passenger-details {
  584. display: flex;
  585. align-items: center;
  586. margin-bottom: 8rpx;
  587. }
  588. .saved-passenger-type {
  589. font-size: 24rpx;
  590. color: #4A90C2;
  591. background: rgba(74, 144, 194, 0.1);
  592. padding: 4rpx 12rpx;
  593. border-radius: 12rpx;
  594. margin-right: 12rpx;
  595. }
  596. .saved-passenger-id {
  597. font-size: 26rpx;
  598. color: #666;
  599. font-family: 'Courier New', monospace;
  600. }
  601. .saved-passenger-phone {
  602. font-size: 26rpx;
  603. color: #666;
  604. font-family: 'Courier New', monospace;
  605. }
  606. .select-icon {
  607. font-size: 32rpx;
  608. color: #4A90C2;
  609. margin-left: 16rpx;
  610. }
  611. .passenger-modal-actions {
  612. display: flex;
  613. padding: 24rpx 32rpx 32rpx;
  614. gap: 16rpx;
  615. border-top: 1rpx solid #f0f0f0;
  616. background: rgba(74, 144, 194, 0.02);
  617. }
  618. .passenger-action-btn {
  619. flex: 1;
  620. padding: 24rpx 16rpx;
  621. border-radius: 50rpx;
  622. font-size: 28rpx;
  623. font-weight: 600;
  624. border: none;
  625. transition: all 0.3s ease;
  626. display: flex;
  627. align-items: center;
  628. justify-content: center;
  629. gap: 8rpx;
  630. }
  631. .passenger-action-btn.secondary {
  632. background: #f8f9fa;
  633. color: #666;
  634. border: 2rpx solid #e9ecef;
  635. }
  636. .passenger-action-btn.secondary:active {
  637. background: #e9ecef;
  638. }
  639. .passenger-action-btn.primary {
  640. background: linear-gradient(135deg, #4A90C2 0%, #357ABD 100%);
  641. color: #fff;
  642. box-shadow: 0 4rpx 16rpx rgba(74, 144, 194, 0.3);
  643. }
  644. .passenger-action-btn.primary:active {
  645. transform: translateY(1rpx);
  646. box-shadow: 0 2rpx 8rpx rgba(74, 144, 194, 0.2);
  647. }