index.css 23 KB

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