style.css 21 KB

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