style.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245
  1. /* Global Box Sizing Fix */
  2. view,
  3. text,
  4. image,
  5. scroll-view,
  6. button {
  7. box-sizing: border-box;
  8. }
  9. /* 页面背景 */
  10. page {
  11. background-color: #F8F8F8;
  12. }
  13. .container {
  14. padding-bottom: 30rpx;
  15. }
  16. /* 顶部背景 */
  17. .nav-bg {
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. width: 100%;
  22. height: 310rpx;
  23. /* Reduced by another 20rpx */
  24. background: linear-gradient(180deg, #FFE0B2 0%, #FFF3E0 100%);
  25. border-bottom-left-radius: 60rpx;
  26. border-bottom-right-radius: 60rpx;
  27. z-index: 1;
  28. overflow: hidden;
  29. }
  30. /* Custom Navigation Bar */
  31. .custom-nav-bar {
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. z-index: 100;
  37. padding-top: var(--status-bar-height);
  38. height: 88rpx;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. }
  43. .nav-title {
  44. font-size: 34rpx;
  45. font-weight: bold;
  46. color: #333;
  47. }
  48. /* 头部区域 */
  49. .header-section {
  50. position: relative;
  51. z-index: 2;
  52. padding: 88rpx 30rpx 0;
  53. }
  54. /* 用户信息 */
  55. .user-info {
  56. display: flex;
  57. align-items: center;
  58. margin-bottom: 40rpx;
  59. }
  60. .avatar {
  61. width: 100rpx;
  62. height: 100rpx;
  63. border-radius: 50%;
  64. margin-right: 24rpx;
  65. border: 4rpx solid #fff;
  66. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.1);
  67. }
  68. .info-content {
  69. flex: 1;
  70. display: flex;
  71. flex-direction: column;
  72. }
  73. .top-row {
  74. display: flex;
  75. align-items: center;
  76. margin-bottom: 8rpx;
  77. }
  78. .name {
  79. font-size: 36rpx;
  80. font-weight: bold;
  81. color: #333;
  82. margin-right: 16rpx;
  83. }
  84. /* 状态胶囊 */
  85. .status-pill {
  86. background-color: #4E4E4E;
  87. border-radius: 24rpx;
  88. display: flex;
  89. align-items: center;
  90. padding: 2rpx 20rpx 2rpx 6rpx;
  91. /* Increased right/left padding to elongate */
  92. }
  93. .status-dot-bg {
  94. width: 24rpx;
  95. /* Smaller icon bg */
  96. height: 24rpx;
  97. background-color: #00E676;
  98. border-radius: 50%;
  99. display: flex;
  100. align-items: center;
  101. justify-content: center;
  102. margin-right: 6rpx;
  103. }
  104. .check-mark {
  105. color: #fff;
  106. font-size: 14rpx;
  107. /* Smaller check */
  108. font-weight: bold;
  109. }
  110. .status-text {
  111. color: #fff;
  112. font-size: 22rpx;
  113. /* Smaller font (11pt) */
  114. margin-right: 6rpx;
  115. font-weight: normal;
  116. }
  117. .status-pill .arrow-down {
  118. color: #fff;
  119. font-size: 10rpx;
  120. /* Half size */
  121. }
  122. .bottom-row {
  123. display: flex;
  124. align-items: center;
  125. font-size: 24rpx;
  126. color: #333;
  127. }
  128. .city-label {
  129. margin-right: 4rpx;
  130. }
  131. .city-arrow {
  132. font-family: monospace;
  133. }
  134. /* 通知铃铛 */
  135. .notification-box {
  136. position: relative;
  137. width: 60rpx;
  138. height: 60rpx;
  139. display: flex;
  140. align-items: center;
  141. justify-content: center;
  142. }
  143. .bell-img {
  144. width: 44rpx;
  145. height: 44rpx;
  146. }
  147. .badge-count {
  148. position: absolute;
  149. top: -4rpx;
  150. right: -4rpx;
  151. background-color: #FF5252;
  152. color: #fff;
  153. font-size: 20rpx;
  154. width: 32rpx;
  155. height: 32rpx;
  156. line-height: 32rpx;
  157. text-align: center;
  158. border-radius: 50%;
  159. border: 2rpx solid #fff;
  160. }
  161. /* 统计卡片 - 悬浮样式 */
  162. .stats-card {
  163. background-color: #fff;
  164. border-radius: 30rpx;
  165. padding: 30rpx 0;
  166. display: flex;
  167. justify-content: space-around;
  168. align-items: center;
  169. box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.06);
  170. margin-bottom: 10rpx;
  171. /* 10rpx spacing to task header */
  172. margin-top: -10rpx;
  173. position: relative;
  174. width: 100%;
  175. }
  176. .stat-item {
  177. display: flex;
  178. flex-direction: column;
  179. align-items: center;
  180. flex: 1;
  181. }
  182. .num {
  183. font-size: 40rpx;
  184. /* Increased font size */
  185. font-weight: 800;
  186. color: #333;
  187. margin-bottom: 10rpx;
  188. font-family: Arial, sans-serif;
  189. }
  190. .label {
  191. font-size: 24rpx;
  192. color: #888;
  193. }
  194. .divider {
  195. width: 1px;
  196. height: 40rpx;
  197. background-color: #EEEEEE;
  198. }
  199. /* 任务大厅标题栏 - 吸顶容器 */
  200. .task-header {
  201. position: sticky;
  202. top: calc(88rpx + var(--status-bar-height));
  203. z-index: 90;
  204. margin-top: 0;
  205. margin-bottom: 10rpx;
  206. width: 100%;
  207. /* Flex removed, padding removed, handled by inner */
  208. }
  209. /* 标题栏内部内容 */
  210. .header-inner {
  211. position: relative;
  212. z-index: 3;
  213. /* Layer 3: Topmost */
  214. display: flex;
  215. justify-content: space-between;
  216. align-items: center;
  217. height: 94rpx;
  218. padding: 0 30rpx;
  219. background-color: transparent;
  220. transition: background-color 0.2s;
  221. }
  222. .left-title {
  223. display: flex;
  224. align-items: center;
  225. }
  226. .orange-bar {
  227. width: 8rpx;
  228. height: 32rpx;
  229. background-color: #FF5722;
  230. border-radius: 4rpx;
  231. margin-right: 15rpx;
  232. }
  233. .left-title .title {
  234. font-size: 28rpx;
  235. font-weight: 900;
  236. color: #333;
  237. font-style: italic;
  238. }
  239. .left-title .count {
  240. font-size: 24rpx;
  241. color: #999;
  242. margin-left: 8rpx;
  243. font-weight: normal;
  244. }
  245. .filter-options {
  246. display: flex;
  247. align-items: center;
  248. font-size: 24rpx;
  249. color: #666;
  250. }
  251. .filter-item {
  252. margin-left: 30rpx;
  253. transition: color 0.3s;
  254. display: flex;
  255. align-items: center;
  256. }
  257. .filter-item.active {
  258. color: #FF5722;
  259. font-weight: bold;
  260. }
  261. /* Sort Icon Design: Up and Down arrows */
  262. .sort-icon {
  263. display: flex;
  264. flex-direction: column;
  265. margin-left: 6rpx;
  266. justify-content: center;
  267. height: 20rpx;
  268. }
  269. .sort-icon .up {
  270. width: 0;
  271. height: 0;
  272. border-left: 6rpx solid transparent;
  273. border-right: 6rpx solid transparent;
  274. border-bottom: 6rpx solid #ccc;
  275. margin-bottom: 2rpx;
  276. }
  277. .sort-icon .down {
  278. width: 0;
  279. height: 0;
  280. border-left: 6rpx solid transparent;
  281. border-right: 6rpx solid transparent;
  282. border-top: 6rpx solid #ccc;
  283. }
  284. .filter-item.active .sort-icon .up.active {
  285. border-bottom-color: #FF5722;
  286. }
  287. .filter-item.active .sort-icon .down.active {
  288. border-top-color: #FF5722;
  289. }
  290. .dropdown {
  291. display: flex;
  292. align-items: center;
  293. margin-left: 30rpx;
  294. background-color: transparent;
  295. padding: 6rpx 20rpx;
  296. border-radius: 30rpx;
  297. border: none;
  298. box-shadow: none;
  299. }
  300. .dropdown text {
  301. margin-left: 0;
  302. font-size: 24rpx;
  303. color: #333;
  304. }
  305. .dropdown .arrow-down {
  306. font-size: 18rpx;
  307. margin-left: 6rpx;
  308. color: #999;
  309. }
  310. /* 任务大厅列表 */
  311. .task-list {
  312. padding: 0 30rpx;
  313. width: 100%;
  314. }
  315. /* 任务卡片优化 */
  316. .task-card {
  317. background-color: #fff;
  318. border-radius: 24rpx;
  319. padding: 20rpx 20rpx;
  320. margin-bottom: 20rpx;
  321. box-shadow: 0 5rpx 20rpx rgba(0, 0, 0, 0.04);
  322. width: 100%;
  323. }
  324. .card-header {
  325. display: flex;
  326. justify-content: space-between;
  327. align-items: center;
  328. margin-bottom: 15rpx;
  329. }
  330. .type-badge {
  331. display: flex;
  332. align-items: center;
  333. }
  334. .type-icon {
  335. width: 44rpx;
  336. height: 44rpx;
  337. margin-right: 15rpx;
  338. background-color: #FFF3E0;
  339. border-radius: 50%;
  340. padding: 6rpx;
  341. box-sizing: border-box;
  342. }
  343. .type-text {
  344. font-size: 28rpx;
  345. font-weight: bold;
  346. color: #333;
  347. }
  348. .price {
  349. font-size: 28rpx;
  350. font-weight: bold;
  351. color: #FF5252;
  352. }
  353. .time-row {
  354. font-size: 26rpx;
  355. color: #666;
  356. margin-bottom: 20rpx;
  357. }
  358. .time-row .value {
  359. color: #333;
  360. margin-left: 10rpx;
  361. }
  362. /* 宠物卡片 */
  363. .pet-card {
  364. background-color: #FFF8F0;
  365. border-radius: 16rpx;
  366. padding: 15rpx 20rpx;
  367. display: flex;
  368. align-items: center;
  369. margin-bottom: 20rpx;
  370. }
  371. .pet-avatar {
  372. width: 80rpx;
  373. height: 80rpx;
  374. border-radius: 50%;
  375. margin-right: 20rpx;
  376. }
  377. .pet-info {
  378. flex: 1;
  379. display: flex;
  380. flex-direction: column;
  381. }
  382. .pet-name {
  383. font-size: 28rpx;
  384. font-weight: bold;
  385. color: #333;
  386. margin-bottom: 5rpx;
  387. }
  388. .pet-breed {
  389. font-size: 24rpx;
  390. color: #999;
  391. }
  392. .pet-profile-btn {
  393. font-size: 24rpx;
  394. color: #FF9800;
  395. border: 1px solid #FF9800;
  396. padding: 6rpx 20rpx;
  397. border-radius: 50rpx;
  398. background-color: #fff;
  399. }
  400. /* 路线信息 */
  401. .route-info {
  402. margin-bottom: 20rpx;
  403. }
  404. .route-item {
  405. display: flex;
  406. align-items: flex-start;
  407. padding-bottom: 20rpx;
  408. position: relative;
  409. width: 100%;
  410. }
  411. /* 路线项底部的间隔 */
  412. .route-item:not(:last-child) {
  413. margin-bottom: 16rpx;
  414. }
  415. .route-item:last-child {
  416. padding-bottom: 0;
  417. margin-bottom: 0;
  418. }
  419. .route-line-vertical {
  420. position: absolute;
  421. left: 19rpx;
  422. top: 46rpx;
  423. bottom: -15rpx;
  424. /* Adjusted to connect the now-closer nodes */
  425. border-left: 2rpx dashed #E0E0E0;
  426. width: 0;
  427. z-index: 0;
  428. }
  429. .icon-circle {
  430. width: 40rpx;
  431. height: 40rpx;
  432. border-radius: 50%;
  433. color: #fff;
  434. font-size: 22rpx;
  435. display: flex;
  436. align-items: center;
  437. justify-content: center;
  438. margin-right: 20rpx;
  439. flex-shrink: 0;
  440. font-weight: bold;
  441. margin-top: 6rpx;
  442. position: relative;
  443. z-index: 1;
  444. /* Above line */
  445. }
  446. .icon-circle.start {
  447. background-color: #FFB74D;
  448. }
  449. .icon-circle.end {
  450. background-color: #81C784;
  451. }
  452. .icon-circle.service {
  453. background-color: #81C784;
  454. }
  455. .address-box {
  456. flex: 1;
  457. display: flex;
  458. flex-direction: column;
  459. padding-right: 20rpx;
  460. width: 0;
  461. }
  462. .addr-title {
  463. font-size: 28rpx;
  464. font-weight: bold;
  465. color: #333;
  466. margin-bottom: 6rpx;
  467. }
  468. .addr-desc {
  469. font-size: 24rpx;
  470. color: #999;
  471. line-height: normal;
  472. }
  473. .distance-tag {
  474. display: flex;
  475. align-items: center;
  476. background-color: #FFF3E0;
  477. padding: 6rpx 6rpx 6rpx 12rpx;
  478. border-radius: 30rpx;
  479. flex-shrink: 0;
  480. }
  481. .distance-tag text {
  482. font-size: 24rpx;
  483. color: #FF5722;
  484. margin-right: 5rpx;
  485. font-weight: normal;
  486. }
  487. .nav-arrow {
  488. width: 32rpx;
  489. height: 32rpx;
  490. }
  491. .service-content {
  492. margin-top: -10rpx;
  493. /* Shifted up using negative margin for max compactness */
  494. font-size: 24rpx;
  495. /* 12pt */
  496. color: #666;
  497. padding-left: 60rpx;
  498. }
  499. .content-label {
  500. color: #999;
  501. margin-right: 10rpx;
  502. }
  503. /* 备注 */
  504. .remark-box {
  505. background-color: #F8F8F8;
  506. padding: 15rpx 20rpx;
  507. border-radius: 8rpx;
  508. font-size: 24rpx;
  509. color: #666;
  510. margin-bottom: 20rpx;
  511. }
  512. /* 按钮组 */
  513. .action-btns {
  514. display: flex;
  515. justify-content: space-between;
  516. }
  517. .btn {
  518. height: 64rpx;
  519. /* Increased height */
  520. line-height: 64rpx;
  521. border-radius: 32rpx;
  522. /* Matches height/2 */
  523. font-size: 28rpx;
  524. /* Slightly larger */
  525. font-weight: normal;
  526. width: 48%;
  527. }
  528. .btn::after {
  529. border: none;
  530. }
  531. .btn.reject {
  532. background-color: #F5F5F5;
  533. color: #999;
  534. box-shadow: none;
  535. }
  536. .btn.accept {
  537. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  538. color: #fff;
  539. box-shadow: 0 5rpx 15rpx rgba(255, 87, 34, 0.3);
  540. }
  541. .bg-circle-right {
  542. position: absolute;
  543. top: -20rpx;
  544. right: -20rpx;
  545. width: 185rpx;
  546. /* +20rpx */
  547. height: 185rpx;
  548. /* +20rpx */
  549. border-radius: 50%;
  550. background-color: rgba(255, 218, 185, 0.8);
  551. /* 80% opacity */
  552. }
  553. /* 筛选面板 (Absolute Child) */
  554. .filter-panel {
  555. position: absolute;
  556. /* Relative to .task-header */
  557. top: 94rpx;
  558. /* Start right below header */
  559. left: 0;
  560. width: 100%;
  561. background-color: #fff;
  562. z-index: 2;
  563. /* Layer 2: Below inner(3), Above mask(1) */
  564. padding: 30rpx 30rpx 40rpx;
  565. border-bottom-left-radius: 30rpx;
  566. border-bottom-right-radius: 30rpx;
  567. box-shadow: 0 10rpx 30rpx rgba(0, 0, 0, 0.1);
  568. transform: translateY(-20rpx);
  569. /* Slightly tucked start */
  570. opacity: 0;
  571. transition: all 0.25s ease-out;
  572. visibility: hidden;
  573. }
  574. .filter-panel.show {
  575. transform: translateY(0);
  576. opacity: 1;
  577. visibility: visible;
  578. }
  579. /* 筛选遮罩 (Absolute Child) */
  580. .filter-mask {
  581. position: absolute;
  582. top: 94rpx;
  583. /* Start below header */
  584. left: 0;
  585. right: 0;
  586. height: 100vh;
  587. /* Cover visible area below */
  588. background-color: rgba(0, 0, 0, 0.5);
  589. z-index: 1;
  590. /* Layer 1: Lowest in header */
  591. }
  592. .filter-section {
  593. margin-bottom: 40rpx;
  594. }
  595. .section-title {
  596. font-size: 28rpx;
  597. font-weight: bold;
  598. color: #333;
  599. margin-bottom: 20rpx;
  600. display: block;
  601. }
  602. .options-grid {
  603. display: flex;
  604. flex-wrap: wrap;
  605. gap: 20rpx;
  606. }
  607. .option-btn {
  608. width: calc(33.33% - 14rpx);
  609. /* 3 cols with gap */
  610. height: 64rpx;
  611. line-height: 64rpx;
  612. text-align: center;
  613. border-radius: 32rpx;
  614. font-size: 26rpx;
  615. color: #666;
  616. background-color: #fff;
  617. border: 2rpx solid #E0E0E0;
  618. margin-bottom: 10rpx;
  619. }
  620. .option-btn.active {
  621. color: #FF5722;
  622. background-color: #FFF3E0;
  623. border-color: #FF5722;
  624. font-weight: bold;
  625. }
  626. .filter-actions {
  627. display: flex;
  628. justify-content: space-between;
  629. margin-top: 50rpx;
  630. }
  631. .action-btn {
  632. width: 48%;
  633. height: 64rpx;
  634. /* Match .btn */
  635. line-height: 64rpx;
  636. border-radius: 32rpx;
  637. /* Match .btn */
  638. font-size: 28rpx;
  639. /* Match .btn */
  640. font-weight: normal;
  641. /* Match .btn */
  642. }
  643. .action-btn::after {
  644. border: none;
  645. }
  646. .action-btn.reset {
  647. background-color: #F5F5F5;
  648. color: #999;
  649. /* Match light gray */
  650. }
  651. .action-btn.confirm {
  652. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  653. color: #fff;
  654. box-shadow: 0 5rpx 15rpx rgba(255, 87, 34, 0.3);
  655. }
  656. /* 状态胶囊 */
  657. .status-pill {
  658. display: flex;
  659. align-items: center;
  660. background-color: #333333;
  661. /* Dark background */
  662. border-radius: 20rpx;
  663. padding: 4rpx 16rpx 4rpx 8rpx;
  664. margin-left: 16rpx;
  665. transition: background-color 0.3s;
  666. }
  667. .status-pill.resting {
  668. background-color: #424242;
  669. /* Slightly lighter dark */
  670. }
  671. .status-dot-bg {
  672. width: 24rpx;
  673. height: 24rpx;
  674. background-color: #4CAF50;
  675. border-radius: 50%;
  676. margin-right: 6rpx;
  677. display: flex;
  678. justify-content: center;
  679. align-items: center;
  680. }
  681. .check-mark {
  682. color: #fff;
  683. font-size: 14rpx;
  684. font-weight: bold;
  685. }
  686. .status-pill.resting .status-dot-bg {
  687. background-color: #FF5722;
  688. /* Warning color for resting */
  689. }
  690. .status-icon {
  691. width: 24rpx;
  692. height: 24rpx;
  693. margin-right: 6rpx;
  694. }
  695. .status-text {
  696. font-size: 22rpx;
  697. color: #fff;
  698. margin-right: 6rpx;
  699. }
  700. .status-pill .arrow-down {
  701. color: #fff;
  702. font-size: 10rpx;
  703. /* Reduced size */
  704. margin-left: 4rpx;
  705. /* Adjust spacing */
  706. }
  707. /* 空状态 - 休息中 */
  708. .empty-state {
  709. display: flex;
  710. flex-direction: column;
  711. align-items: center;
  712. justify-content: center;
  713. padding-top: 150rpx;
  714. }
  715. .empty-icon {
  716. width: 200rpx;
  717. height: 200rpx;
  718. margin-bottom: 40rpx;
  719. opacity: 0.5;
  720. }
  721. .empty-text {
  722. font-size: 28rpx;
  723. color: #666;
  724. margin-bottom: 60rpx;
  725. }
  726. .start-work-btn {
  727. width: 300rpx;
  728. height: 80rpx;
  729. line-height: 80rpx;
  730. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  731. border-radius: 40rpx;
  732. color: #fff;
  733. font-size: 30rpx;
  734. font-weight: bold;
  735. box-shadow: 0 5rpx 15rpx rgba(255, 87, 34, 0.3);
  736. }
  737. /* 自定义确认弹窗 */
  738. .modal-mask {
  739. position: fixed;
  740. top: 0;
  741. left: 0;
  742. right: 0;
  743. bottom: 0;
  744. background-color: rgba(0, 0, 0, 0.5);
  745. z-index: 999;
  746. display: flex;
  747. align-items: center;
  748. justify-content: center;
  749. }
  750. .custom-modal {
  751. width: 600rpx;
  752. background-color: #fff;
  753. border-radius: 24rpx;
  754. padding: 40rpx 50rpx;
  755. display: flex;
  756. flex-direction: column;
  757. align-items: center;
  758. }
  759. .modal-title {
  760. font-size: 36rpx;
  761. font-weight: bold;
  762. color: #333;
  763. margin-bottom: 30rpx;
  764. }
  765. .modal-content {
  766. font-size: 30rpx;
  767. color: #666;
  768. margin-bottom: 50rpx;
  769. text-align: center;
  770. }
  771. .modal-btns {
  772. width: 100%;
  773. display: flex;
  774. justify-content: space-between;
  775. }
  776. .modal-btn {
  777. width: 45%;
  778. height: 80rpx;
  779. line-height: 80rpx;
  780. border-radius: 40rpx;
  781. font-size: 30rpx;
  782. font-weight: bold;
  783. margin: 0;
  784. }
  785. .modal-btn::after {
  786. border: none;
  787. }
  788. .modal-btn.cancel {
  789. background-color: #F5F5F5;
  790. color: #999;
  791. }
  792. .modal-btn.confirm {
  793. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  794. color: #fff;
  795. box-shadow: 0 5rpx 15rpx rgba(255, 87, 34, 0.3);
  796. }
  797. /* 宠物档案弹窗 */
  798. .pet-modal-mask {
  799. position: fixed;
  800. top: 0;
  801. left: 0;
  802. right: 0;
  803. bottom: 0;
  804. background-color: rgba(0, 0, 0, 0.4);
  805. z-index: 1000;
  806. display: flex;
  807. align-items: center;
  808. justify-content: center;
  809. }
  810. .pet-modal-content {
  811. width: 680rpx;
  812. height: 85vh;
  813. background-color: #fff;
  814. border-radius: 20rpx;
  815. display: flex;
  816. flex-direction: column;
  817. overflow: hidden;
  818. }
  819. .pet-modal-header {
  820. display: flex;
  821. align-items: center;
  822. justify-content: space-between;
  823. padding: 30rpx;
  824. border-bottom: 1rpx solid #F0F0F0;
  825. }
  826. .pet-modal-title {
  827. font-size: 34rpx;
  828. font-weight: bold;
  829. color: #333;
  830. }
  831. .pet-modal-scroll {
  832. flex: 1;
  833. height: 0;
  834. padding: 30rpx;
  835. box-sizing: border-box;
  836. }
  837. .pet-base-info {
  838. display: flex;
  839. align-items: center;
  840. margin-bottom: 40rpx;
  841. }
  842. .pm-avatar {
  843. width: 120rpx;
  844. height: 120rpx;
  845. border-radius: 50%;
  846. margin-right: 30rpx;
  847. border: 2rpx solid #f5f5f5;
  848. }
  849. .pm-info-text {
  850. flex: 1;
  851. display: flex;
  852. flex-direction: column;
  853. }
  854. .pm-name-row {
  855. display: flex;
  856. align-items: center;
  857. margin-bottom: 15rpx;
  858. }
  859. .pm-name {
  860. font-size: 36rpx;
  861. font-weight: bold;
  862. color: #333;
  863. margin-right: 20rpx;
  864. }
  865. .pm-gender {
  866. display: flex;
  867. align-items: center;
  868. background-color: #E3F2FD;
  869. padding: 4rpx 12rpx;
  870. border-radius: 20rpx;
  871. }
  872. .pm-gender text {
  873. font-size: 22rpx;
  874. color: #1E88E5;
  875. }
  876. .pm-gender .gender-icon {
  877. font-weight: bold;
  878. margin-right: 4rpx;
  879. }
  880. .pm-gender.female {
  881. background-color: #FCE4EC;
  882. }
  883. .pm-gender.female text {
  884. color: #D81B60;
  885. }
  886. .pm-breed {
  887. font-size: 26rpx;
  888. color: #999;
  889. }
  890. .pm-detail-grid {
  891. display: flex;
  892. flex-wrap: wrap;
  893. justify-content: space-between;
  894. }
  895. .pm-grid-item {
  896. background-color: #F8F8F8;
  897. border-radius: 16rpx;
  898. padding: 24rpx;
  899. margin-bottom: 20rpx;
  900. display: flex;
  901. flex-direction: column;
  902. }
  903. .pm-grid-item.half {
  904. width: 48%;
  905. box-sizing: border-box;
  906. }
  907. .pm-grid-item.full {
  908. width: 100%;
  909. box-sizing: border-box;
  910. }
  911. .pm-label {
  912. font-size: 24rpx;
  913. color: #999;
  914. margin-bottom: 10rpx;
  915. }
  916. .pm-val {
  917. font-size: 28rpx;
  918. color: #333;
  919. font-weight: 500;
  920. }
  921. .pm-tags {
  922. display: flex;
  923. flex-wrap: wrap;
  924. gap: 20rpx;
  925. margin-bottom: 40rpx;
  926. }
  927. .pm-tag {
  928. background-color: #FFF8EB;
  929. border: 2rpx solid #FFCC80;
  930. color: #FF9800;
  931. font-size: 22rpx;
  932. padding: 8rpx 24rpx;
  933. border-radius: 30rpx;
  934. }
  935. .pm-section-title {
  936. display: flex;
  937. align-items: center;
  938. margin-bottom: 30rpx;
  939. padding-top: 30rpx;
  940. border-top: 2rpx dashed #F0F0F0;
  941. }
  942. .pm-section-title .orange-bar {
  943. width: 8rpx;
  944. height: 32rpx;
  945. background-color: #FF9800;
  946. margin-right: 16rpx;
  947. border-radius: 4rpx;
  948. }
  949. .pm-section-title text {
  950. font-size: 30rpx;
  951. font-weight: bold;
  952. color: #333;
  953. }
  954. .pm-log-list {
  955. display: flex;
  956. flex-direction: column;
  957. }
  958. .pm-log-item {
  959. display: flex;
  960. flex-direction: column;
  961. padding: 24rpx 0;
  962. border-bottom: 1rpx solid #F0F0F0;
  963. }
  964. .pm-log-item:last-child {
  965. border-bottom: none;
  966. }
  967. .pm-log-date {
  968. font-size: 24rpx;
  969. color: #999;
  970. margin-bottom: 16rpx;
  971. }
  972. .pm-log-text {
  973. font-size: 28rpx;
  974. color: #333;
  975. line-height: 1.6;
  976. margin-bottom: 20rpx;
  977. }
  978. .pm-log-recorder {
  979. font-size: 24rpx;
  980. color: #FF9800;
  981. align-self: flex-end;
  982. }
  983. /* 拒绝接单弹窗输入框 */
  984. .reject-textarea {
  985. width: 100%;
  986. height: 200rpx;
  987. background-color: #F8F8F8;
  988. border-radius: 12rpx;
  989. padding: 24rpx;
  990. font-size: 28rpx;
  991. line-height: 1.5;
  992. box-sizing: border-box;
  993. margin-bottom: 20rpx;
  994. }
  995. .mt-30 {
  996. margin-top: 30rpx;
  997. }
  998. /* 宠物档案底部关闭按钮 */
  999. .pm-bottom-close {
  1000. width: 100%;
  1001. height: 80rpx;
  1002. line-height: 80rpx;
  1003. background-color: #F5F5F5;
  1004. color: #666;
  1005. border-radius: 40rpx;
  1006. font-size: 30rpx;
  1007. font-weight: bold;
  1008. margin: 0;
  1009. }
  1010. .pm-bottom-close::after {
  1011. border: none;
  1012. }
  1013. /* 宠物档案原生关闭图标 */
  1014. .close-icon-btn {
  1015. font-size: 48rpx;
  1016. color: #999;
  1017. line-height: 1;
  1018. padding: 0 10rpx;
  1019. }
  1020. /* 确认接单弹窗内容 */
  1021. .modal-content-box {
  1022. display: flex;
  1023. flex-direction: column;
  1024. align-items: center;
  1025. margin-bottom: 20rpx;
  1026. }
  1027. .modal-content-main {
  1028. font-size: 30rpx;
  1029. color: #333;
  1030. margin-bottom: 16rpx;
  1031. }
  1032. .modal-content-sub {
  1033. font-size: 24rpx;
  1034. color: #999;
  1035. }
  1036. /* 地图导航 Action Sheet */
  1037. .nav-modal-mask {
  1038. position: fixed;
  1039. top: 0;
  1040. left: 0;
  1041. right: 0;
  1042. bottom: 0;
  1043. background-color: rgba(0, 0, 0, 0.5);
  1044. z-index: 1000;
  1045. display: flex;
  1046. flex-direction: column;
  1047. justify-content: flex-end;
  1048. }
  1049. .nav-action-sheet {
  1050. background-color: #fff;
  1051. width: 100%;
  1052. border-top-left-radius: 24rpx;
  1053. border-top-right-radius: 24rpx;
  1054. overflow: hidden;
  1055. padding-bottom: constant(safe-area-inset-bottom);
  1056. padding-bottom: env(safe-area-inset-bottom);
  1057. }
  1058. .nav-sheet-title {
  1059. text-align: center;
  1060. padding: 30rpx 0;
  1061. font-size: 13px;
  1062. color: #999;
  1063. border-bottom: 1rpx solid #efefef;
  1064. }
  1065. .nav-sheet-item {
  1066. text-align: center;
  1067. padding: 30rpx 0;
  1068. font-size: 13px;
  1069. color: #333;
  1070. background-color: #fff;
  1071. border-bottom: 1rpx solid #efefef;
  1072. }
  1073. .nav-sheet-item.cancel {
  1074. border-bottom: none;
  1075. color: #666;
  1076. }
  1077. .nav-sheet-gap {
  1078. height: 16rpx;
  1079. background-color: #F8F8F8;
  1080. }