电速宝
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxss 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. .container {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. display: flex;
  8. flex-direction: column;
  9. background-color: #f9f9f9;
  10. }
  11. .map {
  12. width: 100%;
  13. height: 60%;
  14. }
  15. .control-panel {
  16. position: fixed;
  17. bottom: 60rpx;
  18. left: 0;
  19. right: 0;
  20. display: flex;
  21. justify-content: center;
  22. padding: 0 20rpx;
  23. }
  24. .btn {
  25. width: 80%;
  26. height: 80rpx;
  27. line-height: 80rpx;
  28. text-align: center;
  29. color: white;
  30. border-radius: 40rpx;
  31. font-size: 30rpx;
  32. }
  33. .info {
  34. position: fixed;
  35. top: 30rpx;
  36. left: 50%;
  37. transform: translateX(-50%);
  38. background-color: rgba(0, 0, 0, 0.7);
  39. color: white;
  40. padding: 15rpx 30rpx;
  41. border-radius: 10rpx;
  42. font-size: 28rpx;
  43. z-index: 100;
  44. }
  45. /* 加载提示 */
  46. .loading-mask {
  47. position: fixed;
  48. top: 0;
  49. left: 0;
  50. right: 0;
  51. bottom: 0;
  52. background-color: rgba(0, 0, 0, 0.3);
  53. display: flex;
  54. justify-content: center;
  55. align-items: center;
  56. z-index: 100;
  57. }
  58. .loading-view {
  59. background-color: white;
  60. padding: 30rpx 60rpx;
  61. border-radius: 10rpx;
  62. }
  63. /* 错误提示 */
  64. .error-message {
  65. position: fixed;
  66. top: 50%;
  67. left: 50%;
  68. transform: translate(-50%, -50%);
  69. background-color: rgba(0, 0, 0, 0.7);
  70. color: white;
  71. padding: 20rpx 40rpx;
  72. border-radius: 8rpx;
  73. font-size: 28rpx;
  74. z-index: 99;
  75. }
  76. /* 路线列表容器 */
  77. .routes-container {
  78. /* background-color: white; */
  79. padding: 20rpx;
  80. /* border-top: 1px solid #eee; */
  81. max-height: 50vh;
  82. overflow-y: auto;
  83. }
  84. /* 目的地标题 */
  85. .destination-title {
  86. font-size: 32rpx;
  87. color: #333;
  88. padding-bottom: 10rpx;
  89. /* border-bottom: 1px solid #f0f0f0; */
  90. }
  91. /* 目的地标题 */
  92. .destination-title1 {
  93. color: #333;
  94. }
  95. .destination-font {
  96. font-size: 28rpx;
  97. width: 100%;
  98. display: flex;
  99. align-items: center;
  100. justify-content: space-between;
  101. color: #333;
  102. margin-top: 10rpx;
  103. /* border-bottom: 1px solid #f0f0f0; */
  104. }
  105. .route{
  106. width: 100%;
  107. display: flex;
  108. }
  109. /* 路线列表 */
  110. .routes-list {
  111. display: flex;
  112. flex-direction: column;
  113. gap: 15rpx;
  114. }
  115. /* 路线项 */
  116. .route-item {
  117. padding: 15rpx;
  118. border-radius: 8rpx;
  119. background-color: #f9f9f9;
  120. border: 1px solid #eee;
  121. }
  122. .route-item.active {
  123. background-color: #e8f4ff;
  124. border-color: #007aff;
  125. }
  126. /* 路线头部 */
  127. .route-header {
  128. display: flex;
  129. justify-content: space-between;
  130. margin-bottom: 10rpx;
  131. }
  132. .route-number {
  133. font-size: 28rpx;
  134. font-weight: 500;
  135. color: #333;
  136. }
  137. .route-policy {
  138. font-size: 24rpx;
  139. color: #666;
  140. background-color: #f0f0f0;
  141. padding: 2rpx 10rpx;
  142. border-radius: 12rpx;
  143. }
  144. .route-item.active .route-policy {
  145. background-color: #007aff;
  146. color: white;
  147. }
  148. /* 路线详情 */
  149. .route-details {
  150. display: flex;
  151. justify-content: space-between;
  152. align-items: center;
  153. }
  154. .detail-item {
  155. display: flex;
  156. align-items: center;
  157. margin-right: 20rpx;
  158. }
  159. .detail-text {
  160. font-size: 26rpx;
  161. color: #333;
  162. margin-left: 8rpx;
  163. }
  164. /* 路况信息 */
  165. .traffic-info {
  166. margin-top: 10rpx;
  167. }
  168. .traffic-text {
  169. font-size: 24rpx;
  170. color: #ff6b00;
  171. }
  172. .storagecartext{
  173. width:100%;
  174. margin-bottom: 10rpx;
  175. display: flex;
  176. flex-direction: column;
  177. justify-content: space-between;
  178. /* align-items: center; */
  179. box-sizing: border-box;
  180. }
  181. .storagecartext_box{
  182. display: flex;
  183. }
  184. .contact-info{
  185. display: flex;
  186. align-items: center;
  187. margin-top: 20rpx;
  188. }
  189. .icon-call{
  190. margin-left: 10rpx;
  191. }
  192. .action-images{
  193. }
  194. .storagecar{
  195. width: 260rpx;
  196. height: 180rpx;
  197. }
  198. .storagecar1{
  199. width: 200rpx;
  200. height: 100rpx;
  201. margin-right: 30rpx;
  202. }
  203. .driver{
  204. display: flex;
  205. }
  206. .detailsbox{
  207. width: 100%;
  208. background-color: #ffffff;
  209. border-radius: 40rpx;
  210. padding: 0rpx 20rpx;
  211. box-sizing: border-box;
  212. }
  213. .viewmore{
  214. width: 100%;
  215. margin-top: 20rpx;
  216. background-color: #ffffff;
  217. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
  218. border-radius: 20rpx;
  219. padding: 0rpx 20rpx;
  220. box-sizing: border-box;
  221. }
  222. .viewmore_box{
  223. width: 100%;
  224. height: 100rpx;
  225. display: flex;
  226. align-items: center;
  227. justify-content: space-between;
  228. }
  229. .viewmore_left{
  230. font-size: 32rpx;
  231. }
  232. .viewmore_right{
  233. font-size: 26rpx;
  234. display: flex;
  235. }
  236. .viewmore_content{
  237. }
  238. .viewmore_details{
  239. width: 100%;
  240. height: 100rpx;
  241. }
  242. /* 1111111111111111111111111 */
  243. /* pages/taxi-detail/taxi-detail.wxss */
  244. .taxi-card-container {
  245. position: fixed;
  246. left: 0;
  247. right: 0;
  248. bottom: 0;
  249. z-index: 999;
  250. display: flex;
  251. flex-direction: column;
  252. align-items: center;
  253. }
  254. .mask {
  255. position: fixed;
  256. top: 0;
  257. left: 0;
  258. right: 0;
  259. bottom: 0;
  260. background: rgba(0, 0, 0, 0.5);
  261. z-index: -1;
  262. transition: opacity 0.3s ease;
  263. }
  264. .taxi-card {
  265. width: 100%;
  266. background: #fff;
  267. box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  268. overflow: hidden;
  269. position: relative;
  270. }
  271. /* 拖动指示器 */
  272. .drag-handler {
  273. display: flex;
  274. justify-content: center;
  275. padding: 12rpx 0;
  276. background: #f8f9fa;
  277. }
  278. .drag-bar {
  279. width: 60rpx;
  280. height: 8rpx;
  281. background: #ddd;
  282. border-radius: 4rpx;
  283. }
  284. /* 卡片内容样式 */
  285. .card-content {
  286. /* padding: 0 20rpx 20rpx; */
  287. padding: 0rpx 20rpx 20rpx;
  288. height: calc(100% - 52rpx);
  289. overflow-y: auto;
  290. box-sizing: border-box;
  291. }
  292. /* 全屏模式样式 */
  293. .fullscreen-header {
  294. display: flex;
  295. justify-content: space-between;
  296. align-items: center;
  297. margin-bottom: 30rpx;
  298. padding-bottom: 16rpx;
  299. border-bottom: 1px solid #f5f5f5;
  300. }
  301. .header-title {
  302. font-size: 36rpx;
  303. font-weight: 600;
  304. color: #333;
  305. }
  306. .close-fullscreen {
  307. width: 60rpx;
  308. height: 60rpx;
  309. line-height: 60rpx;
  310. padding: 0;
  311. font-size: 40rpx;
  312. color: #666;
  313. background: transparent;
  314. }
  315. .close-fullscreen::after {
  316. border: none;
  317. }
  318. .fee-list {
  319. margin-bottom: 30rpx;
  320. }
  321. /* 基础内容样式保持不变 */
  322. .card-section .section-title {
  323. font-size: 32rpx;
  324. font-weight: 600;
  325. margin-bottom: 20rpx;
  326. color: #333;
  327. }
  328. .price-tag {
  329. font-size: 36rpx;
  330. font-weight: 700;
  331. color: #ff4d4f;
  332. margin-bottom: 12rpx;
  333. }
  334. .route-brief {
  335. font-size: 28rpx;
  336. color: #666;
  337. }
  338. .route-detail {
  339. margin-bottom: 20rpx;
  340. }
  341. .route-point {
  342. font-size: 28rpx;
  343. color: #333;
  344. margin-bottom: 12rpx;
  345. display: flex;
  346. align-items: center;
  347. }
  348. .route-point:before {
  349. content: '';
  350. width: 16rpx;
  351. height: 16rpx;
  352. border-radius: 50%;
  353. background: #ff4d4f;
  354. margin-right: 12rpx;
  355. display: inline-block;
  356. }
  357. .route-point:last-child:before {
  358. background: #00b42a;
  359. }
  360. .route-line {
  361. width: 4rpx;
  362. height: 40rpx;
  363. background: #eee;
  364. margin-left: 8rpx;
  365. margin-bottom: 12rpx;
  366. }
  367. .trip-meta {
  368. display: flex;
  369. justify-content: space-between;
  370. font-size: 26rpx;
  371. color: #666;
  372. background: #f8f9fa;
  373. padding: 16rpx;
  374. border-radius: 12rpx;
  375. }
  376. .fee-item {
  377. display: flex;
  378. justify-content: space-between;
  379. font-size: 28rpx;
  380. padding: 16rpx 0;
  381. border-bottom: 1px solid #f5f5f5;
  382. }
  383. .fee-item:last-child {
  384. border-bottom: none;
  385. }
  386. .fee-label {
  387. color: #666;
  388. }
  389. .fee-value {
  390. color: #333;
  391. font-weight: 500;
  392. }
  393. .fee-total .fee-label {
  394. font-weight: 600;
  395. color: #333;
  396. }
  397. .fee-total .fee-value {
  398. font-size: 32rpx;
  399. font-weight: 700;
  400. color: #ff4d4f;
  401. }
  402. .confirm-btn {
  403. width: 100%;
  404. height: 96rpx;
  405. line-height: 96rpx;
  406. background: #ff4d4f;
  407. color: #fff;
  408. font-size: 32rpx;
  409. border-radius: 48rpx;
  410. margin-top: 30rpx;
  411. }
  412. .confirm-btn::after {
  413. border: none;
  414. }
  415. /* 详情区块通用样式 */
  416. .detail-section {
  417. /* margin-bottom: 30rpx; */
  418. }
  419. .card_more{
  420. display: flex;
  421. justify-content: space-between;
  422. border-top: 1rpx solid #f5f5f5;
  423. padding-top: 20rpx;
  424. }
  425. .card_morebox{
  426. width: 140rpx;
  427. height: 60rpx;
  428. display: flex;
  429. align-items: center;
  430. justify-content: center;
  431. border-radius: 50rpx;
  432. background-color: #fff;
  433. box-shadow: 0 -2rpx 12px rgba(0, 0, 0, 0.1);
  434. }
  435. .card_box{
  436. width: 100%;
  437. border-radius: 10rpx;
  438. margin-top:16rpx;
  439. padding: 0rpx 20rpx;
  440. box-shadow: 0 -2rpx 12px rgba(0, 0, 0, 0.1);
  441. box-sizing: border-box;
  442. }
  443. .section-title {
  444. font-size: 28rpx;
  445. font-weight: 600;
  446. color: #333;
  447. margin-bottom: 20rpx;
  448. padding-top: 10rpx;
  449. }
  450. .section-action{
  451. display: flex;
  452. align-items: center;
  453. }
  454. .section-title1 {
  455. font-size: 38rpx;
  456. font-weight: 600;
  457. color: #333;
  458. margin-bottom: 20rpx;
  459. padding-top: 10rpx;
  460. }
  461. .section_yuan{
  462. font-size: 28rpx;
  463. }
  464. /* 司机信息样式 */
  465. .driver-section {
  466. display: flex;
  467. align-items: center;
  468. background-color: #fafafa;
  469. border-radius: 20rpx;
  470. padding: 20rpx;
  471. }
  472. .driver-avatar {
  473. width: 100rpx;
  474. height: 100rpx;
  475. border-radius: 50%;
  476. margin-right: 20rpx;
  477. }
  478. .order-status{
  479. display: flex;
  480. align-items: center;
  481. }
  482. .driver-info {
  483. flex: 1;
  484. }
  485. .driver-name {
  486. font-size: 26rpx;
  487. font-weight: 500;
  488. color: #333;
  489. margin-bottom: 10rpx;
  490. }
  491. .driver-grade {
  492. font-size: 22rpx;
  493. color: #ffc53d;
  494. margin-left: 10rpx;
  495. }
  496. .car-info {
  497. font-size: 22rpx;
  498. color: #666;
  499. margin-bottom: 10rpx;
  500. }
  501. .contact-btn {
  502. background-color: #40a9ff;
  503. color: #fff;
  504. font-size: 22rpx;
  505. padding: 5rpx 15rpx;
  506. border-radius: 15rpx;
  507. border: none;
  508. }
  509. /* 详情列表样式 */
  510. .detail-list {
  511. background-color: #fafafa;
  512. border-radius: 20rpx;
  513. padding: 20rpx;
  514. }
  515. .detail-item {
  516. display: flex;
  517. justify-content: space-between;
  518. padding: 15rpx 0;
  519. border-bottom: 1rpx solid #eee;
  520. }
  521. .detail-item:last-child {
  522. border-bottom: none;
  523. }
  524. .item-label {
  525. font-size: 24rpx;
  526. color: #666;
  527. }
  528. .item-value {
  529. font-size: 24rpx;
  530. color: #333;
  531. text-align: right;
  532. }
  533. /* 费用明细样式 */
  534. .fee-list {
  535. background-color: #fafafa;
  536. border-radius: 20rpx;
  537. padding: 20rpx;
  538. }
  539. .fee-item {
  540. display: flex;
  541. justify-content: space-between;
  542. padding: 15rpx 0;
  543. border-bottom: 1rpx solid #eee;
  544. }
  545. .fee-item:last-child {
  546. border-bottom: none;
  547. }
  548. .fee-label {
  549. font-size: 24rpx;
  550. color: #666;
  551. }
  552. .fee-value {
  553. font-size: 24rpx;
  554. color: #333;
  555. }
  556. .total-fee .fee-label {
  557. font-weight: 600;
  558. color: #333;
  559. font-size: 26rpx;
  560. }
  561. .total-fee .fee-value {
  562. font-weight: 600;
  563. color: #ff4d4f;
  564. font-size: 28rpx;
  565. }
  566. .estimated-time {
  567. font-size: 24rpx;
  568. color: #ff6b00;
  569. margin-left: 20rpx;
  570. }
  571. .destination-title1 .estimated-time {
  572. /* display: block; */
  573. margin-left: 0;
  574. }
  575. .section-header{
  576. height: 80rpx;
  577. display: flex;
  578. align-items: center;
  579. justify-content: space-between;
  580. }