detail.css 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429
  1. /* 页面背景 */
  2. body {
  3. background-color: #F8F8F8;
  4. }
  5. .detail-container {
  6. padding-bottom: 6.25rem;
  7. }
  8. /* 骨架屏加载动画 */
  9. .loading-container {
  10. padding: 0.9375rem;
  11. }
  12. .skeleton-header {
  13. background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
  14. border-radius: 0.625rem;
  15. padding: 1.25rem;
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. margin-bottom: 0.625rem;
  20. }
  21. .skeleton-progress {
  22. background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
  23. border-radius: 0 0 0.625rem 0.625rem;
  24. margin-top: -1.25rem;
  25. padding: 0.9375rem 1.25rem 1.25rem;
  26. display: flex;
  27. justify-content: space-around;
  28. margin-bottom: 0.78125rem;
  29. }
  30. .skeleton-circle {
  31. width: 1.25rem;
  32. height: 1.25rem;
  33. border-radius: 50%;
  34. background-color: rgba(255, 255, 255, 0.3);
  35. }
  36. .skeleton-card {
  37. background-color: #fff;
  38. border-radius: 0.625rem;
  39. padding: 0.9375rem;
  40. margin-bottom: 0.78125rem;
  41. box-shadow: 0 0.15625rem 0.625rem rgba(0, 0, 0, 0.03);
  42. }
  43. .skeleton-line {
  44. border-radius: 0.25rem;
  45. background-color: #f0f0f0;
  46. }
  47. /* 骨架屏闪光动画 */
  48. .skeleton-ani {
  49. background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
  50. background-size: 400% 100%;
  51. animation: skeleton-loading 1.4s ease infinite;
  52. }
  53. .skeleton-header .skeleton-ani {
  54. background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.35) 37%, rgba(255, 255, 255, 0.2) 63%);
  55. background-size: 400% 100%;
  56. animation: skeleton-loading 1.4s ease infinite;
  57. }
  58. .skeleton-progress .skeleton-ani {
  59. background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 25%, rgba(255, 255, 255, 0.35) 37%, rgba(255, 255, 255, 0.2) 63%);
  60. background-size: 400% 100%;
  61. animation: skeleton-loading 1.4s ease infinite;
  62. }
  63. @keyframes skeleton-loading {
  64. 0% {
  65. background-position: 100% 50%;
  66. }
  67. 100% {
  68. background-position: 0 50%;
  69. }
  70. }
  71. /* 顶部动态状态区 */
  72. .detail-header {
  73. background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
  74. padding: 1.25rem 1.25rem 1.5625rem 1.25rem;
  75. color: #fff;
  76. border-radius: 0.625rem;
  77. margin: 0.9375rem 0.9375rem 0.78125rem 0.9375rem;
  78. box-shadow: 0 0.15625rem 0.46875rem rgba(255, 87, 34, 0.2);
  79. }
  80. .status-row {
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. margin-bottom: 1.25rem;
  85. }
  86. .status-title {
  87. font-size: 0.875rem;
  88. font-weight: bold;
  89. }
  90. .status-price {
  91. font-size: 1.25rem;
  92. font-weight: bold;
  93. }
  94. /* 进度条 */
  95. .progress-bar {
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: flex-start;
  99. padding: 0 0.3125rem;
  100. }
  101. /* 默认步骤:未完成,半透明 */
  102. .step-item {
  103. display: flex;
  104. flex-direction: column;
  105. align-items: center;
  106. flex: 1;
  107. position: relative;
  108. opacity: 0.5;
  109. }
  110. /* 已完成步骤:高亮 */
  111. .step-item.done {
  112. opacity: 1;
  113. }
  114. .step-item.done .step-circle {
  115. background-color: #fff;
  116. color: #FF5722;
  117. font-weight: bold;
  118. }
  119. .step-item.done .step-text {
  120. font-weight: 500;
  121. }
  122. /* 当前步骤:最强调 */
  123. .step-item.active {
  124. opacity: 1;
  125. }
  126. .step-item.active .step-circle {
  127. background-color: #fff;
  128. color: #FF5722;
  129. font-weight: bold;
  130. width: 1.5rem;
  131. height: 1.5rem;
  132. font-size: 0.75rem;
  133. box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
  134. }
  135. .step-item.active .step-text {
  136. font-weight: bold;
  137. }
  138. .step-circle-wrapper {
  139. position: relative;
  140. width: 100%;
  141. display: flex;
  142. justify-content: center;
  143. margin-bottom: 0.3125rem;
  144. }
  145. /* 默认圆圈:半透明 */
  146. .step-circle {
  147. width: 1.25rem;
  148. height: 1.25rem;
  149. border-radius: 50%;
  150. background-color: rgba(255, 255, 255, 0.3);
  151. color: rgba(255, 255, 255, 0.8);
  152. font-size: 0.625rem;
  153. display: flex;
  154. justify-content: center;
  155. align-items: center;
  156. position: relative;
  157. z-index: 2;
  158. transition: all 0.2s;
  159. }
  160. /* 连接线 */
  161. .step-line {
  162. position: absolute;
  163. top: 50%;
  164. right: calc(50% + 0.625rem);
  165. width: calc(100% - 1.25rem);
  166. height: 0.0625rem;
  167. background-color: rgba(255, 255, 255, 0.3);
  168. z-index: 1;
  169. transform: translateY(-50%);
  170. }
  171. .step-line.active-line {
  172. background-color: #fff;
  173. height: 0.09375rem;
  174. }
  175. .step-text {
  176. font-size: 0.75rem;
  177. }
  178. /* 内容区通用卡片 */
  179. .detail-content {
  180. width: 100%;
  181. box-sizing: border-box;
  182. padding: 0 0.9375rem;
  183. position: relative;
  184. z-index: 10;
  185. }
  186. .white-card {
  187. background-color: #fff;
  188. border-radius: 0.625rem;
  189. padding: 0.9375rem;
  190. margin-bottom: 0.78125rem;
  191. box-shadow: 0 0.15625rem 0.625rem rgba(0, 0, 0, 0.03);
  192. }
  193. /* 宠物信息条 */
  194. .pet-bar {
  195. display: flex;
  196. align-items: center;
  197. }
  198. .pb-avatar {
  199. width: 3.125rem;
  200. height: 3.125rem;
  201. border-radius: 50%;
  202. margin-right: 0.625rem;
  203. }
  204. .pb-info {
  205. flex: 1;
  206. display: flex;
  207. flex-direction: column;
  208. }
  209. .pb-name-row {
  210. margin-bottom: 0.3125rem;
  211. }
  212. .pb-name {
  213. font-size: 1rem;
  214. font-weight: bold;
  215. color: #333;
  216. margin-right: 0.46875rem;
  217. }
  218. .pb-breed {
  219. font-size: 0.8125rem;
  220. color: #999;
  221. }
  222. .pb-tags {
  223. display: flex;
  224. }
  225. .pb-tag {
  226. background-color: #FFF3E0;
  227. color: #FF9800;
  228. font-size: 0.6875rem;
  229. padding: 0.125rem 0.5rem;
  230. border-radius: 0.25rem;
  231. }
  232. .pb-actions {
  233. display: flex;
  234. align-items: center;
  235. }
  236. .pb-btn {
  237. display: flex;
  238. align-items: center;
  239. justify-content: center;
  240. }
  241. .profile-btn {
  242. border: 0.0625rem solid #FF9800;
  243. color: #FF9800;
  244. font-size: 0.75rem;
  245. padding: 0.25rem 0.625rem;
  246. border-radius: 0.9375rem;
  247. margin-right: 0.625rem;
  248. }
  249. .phone-btn {
  250. width: 1.875rem;
  251. height: 1.875rem;
  252. border-radius: 50%;
  253. background-color: #FFF3E0;
  254. }
  255. .phone-icon {
  256. width: 1rem;
  257. height: 1rem;
  258. }
  259. /* 服务及路线信息 */
  260. .si-row {
  261. display: flex;
  262. align-items: flex-start;
  263. margin-bottom: 0.9375rem;
  264. }
  265. .si-row:last-child {
  266. margin-bottom: 0;
  267. }
  268. .si-icon {
  269. width: 1.125rem;
  270. height: 1.125rem;
  271. margin-right: 0.625rem;
  272. margin-top: 0.125rem;
  273. }
  274. .si-icon-uni {
  275. margin-right: 0.625rem;
  276. margin-top: 0.125rem;
  277. display: flex;
  278. align-items: center;
  279. justify-content: center;
  280. }
  281. .si-content {
  282. flex: 1;
  283. display: flex;
  284. flex-direction: column;
  285. }
  286. .si-label {
  287. font-size: 0.75rem;
  288. color: #999;
  289. margin-bottom: 0.1875rem;
  290. }
  291. .icon-bg {
  292. width: 1.375rem;
  293. height: 1.375rem;
  294. border-radius: 0.25rem;
  295. display: flex;
  296. justify-content: center;
  297. align-items: center;
  298. margin-right: 0.625rem;
  299. margin-top: 0.125rem;
  300. flex-shrink: 0;
  301. }
  302. .icon-bg.grey-bg {
  303. background-color: #F8F8F8;
  304. }
  305. .custom-icon {
  306. width: 0.875rem;
  307. height: 0.875rem;
  308. }
  309. .custom-icon-file {
  310. width: 1.125rem;
  311. height: 1.125rem;
  312. }
  313. .si-val {
  314. font-size: 0.875rem;
  315. color: #333;
  316. }
  317. .record-btn {
  318. font-size: 0.75rem;
  319. color: #FF5722;
  320. display: flex;
  321. align-items: center;
  322. }
  323. .record-arrow {
  324. width: 0.75rem;
  325. height: 0.75rem;
  326. margin-left: 0.1875rem;
  327. }
  328. .record-history-row {
  329. margin-top: 0.9375rem;
  330. padding-top: 0.78125rem;
  331. border-top: 1px dashed #f0f0f0;
  332. display: flex;
  333. justify-content: space-between;
  334. align-items: center;
  335. }
  336. /* 地址展现复用图标逻辑 */
  337. .addr-row {
  338. position: relative;
  339. align-items: stretch;
  340. }
  341. .icon-circle {
  342. width: 1.25rem;
  343. height: 1.25rem;
  344. border-radius: 50%;
  345. color: #fff;
  346. font-size: 0.6875rem;
  347. display: flex;
  348. align-items: center;
  349. justify-content: center;
  350. margin-right: 0.625rem;
  351. flex-shrink: 0;
  352. font-weight: bold;
  353. margin-top: 0.1875rem;
  354. position: relative;
  355. z-index: 1;
  356. }
  357. .icon-circle.start {
  358. background-color: #FFB74D;
  359. }
  360. .icon-circle.end {
  361. background-color: #81C784;
  362. }
  363. .icon-circle.service {
  364. background-color: #81C784;
  365. }
  366. .route-line-vertical {
  367. position: absolute;
  368. left: 0.59375rem;
  369. top: 1.4375rem;
  370. bottom: -0.1875rem;
  371. border-left: 0.0625rem dashed #E0E0E0;
  372. width: 0;
  373. z-index: 0;
  374. }
  375. .si-addr-title {
  376. font-size: 0.9375rem;
  377. font-weight: bold;
  378. color: #333;
  379. margin-bottom: 0.1875rem;
  380. }
  381. .si-addr-desc {
  382. font-size: 0.75rem;
  383. color: #999;
  384. }
  385. .nav-btn-circle {
  386. width: 1.5625rem;
  387. height: 1.5625rem;
  388. background-color: #FFF3E0;
  389. border-radius: 50%;
  390. display: flex;
  391. align-items: center;
  392. justify-content: center;
  393. margin-top: 0.1875rem;
  394. }
  395. .nav-arrow {
  396. width: 0.875rem;
  397. height: 0.875rem;
  398. }
  399. /* 打卡任务区 */
  400. .task-card {
  401. display: flex;
  402. flex-direction: column;
  403. }
  404. .tc-title {
  405. font-size: 0.9375rem;
  406. font-weight: bold;
  407. color: #333;
  408. margin-bottom: 0.46875rem;
  409. }
  410. .tc-desc {
  411. font-size: 0.6875rem;
  412. color: #666;
  413. margin-bottom: 0.375rem;
  414. }
  415. .media-grid {
  416. display: flex;
  417. flex-wrap: wrap;
  418. gap: 0.625rem;
  419. margin-bottom: 0.625rem;
  420. }
  421. .media-item {
  422. width: 5rem;
  423. height: 5rem;
  424. position: relative;
  425. border-radius: 0.375rem;
  426. }
  427. .media-preview {
  428. width: 100%;
  429. height: 100%;
  430. border-radius: 0.375rem;
  431. }
  432. .media-del {
  433. position: absolute;
  434. top: -0.3125rem;
  435. right: -0.3125rem;
  436. width: 1.125rem;
  437. height: 1.125rem;
  438. background-color: rgba(0, 0, 0, 0.5);
  439. color: #fff;
  440. border-radius: 50%;
  441. display: flex;
  442. align-items: center;
  443. justify-content: center;
  444. font-size: 0.75rem;
  445. z-index: 2;
  446. }
  447. .media-add {
  448. width: 5rem;
  449. height: 5rem;
  450. border: 0.0625rem dashed #ccc;
  451. border-radius: 0.375rem;
  452. display: flex;
  453. flex-direction: column;
  454. align-items: center;
  455. justify-content: center;
  456. background-color: #FAFAFA;
  457. box-sizing: border-box;
  458. }
  459. .upload-icon-small {
  460. width: 1.25rem;
  461. height: 1.25rem;
  462. margin-bottom: 0.3125rem;
  463. }
  464. .upload-text-small {
  465. font-size: 0.6875rem;
  466. color: #999;
  467. }
  468. .full-media-add {
  469. width: 100%;
  470. height: 4.375rem;
  471. background-color: #FAFAFA;
  472. border: 0.0625rem dashed #E0E0E0;
  473. border-radius: 0.375rem;
  474. display: flex;
  475. flex-direction: column;
  476. justify-content: center;
  477. align-items: center;
  478. margin-top: 0.3125rem;
  479. }
  480. .upload-icon-large {
  481. width: 1.5625rem;
  482. height: 1.5625rem;
  483. margin-bottom: 0.3125rem;
  484. opacity: 0.5;
  485. }
  486. .upload-text-large {
  487. font-size: 0.75rem;
  488. color: #999;
  489. }
  490. /* 基础信息区 */
  491. .bi-row {
  492. display: flex;
  493. align-items: flex-start;
  494. margin-bottom: 0.78125rem;
  495. }
  496. .bi-row:last-child {
  497. margin-bottom: 0;
  498. }
  499. .bi-icon {
  500. width: 1rem;
  501. height: 1rem;
  502. margin-right: 0.625rem;
  503. margin-top: 0.125rem;
  504. }
  505. .bi-icon-uni {
  506. margin-right: 0.625rem;
  507. margin-top: 0.125rem;
  508. display: flex;
  509. align-items: center;
  510. justify-content: center;
  511. }
  512. .bi-content {
  513. flex: 1;
  514. display: flex;
  515. flex-direction: column;
  516. }
  517. .bi-label {
  518. font-size: 0.75rem;
  519. color: #999;
  520. margin-bottom: 0.1875rem;
  521. }
  522. .bi-val-row {
  523. display: flex;
  524. align-items: center;
  525. }
  526. .bi-val {
  527. font-size: 0.875rem;
  528. color: #333;
  529. }
  530. .bi-copy {
  531. background-color: #F0F0F0;
  532. color: #666;
  533. font-size: 0.625rem;
  534. padding: 0.0625rem 0.3125rem;
  535. border-radius: 0.1875rem;
  536. margin-left: 0.46875rem;
  537. }
  538. /* 订单进度 */
  539. .tl-title-row {
  540. display: flex;
  541. align-items: center;
  542. margin-bottom: 0.9375rem;
  543. }
  544. .orange-bar {
  545. width: 0.25rem;
  546. height: 1rem;
  547. background-color: #FF9800;
  548. margin-right: 0.5rem;
  549. border-radius: 0.125rem;
  550. }
  551. .tl-title {
  552. font-size: 0.9375rem;
  553. font-weight: bold;
  554. color: #333;
  555. }
  556. .tl-list {
  557. display: flex;
  558. flex-direction: column;
  559. padding-left: 0.3125rem;
  560. }
  561. .tl-item {
  562. display: flex;
  563. position: relative;
  564. padding-bottom: 1.25rem;
  565. }
  566. .tl-item:last-child {
  567. padding-bottom: 0;
  568. }
  569. .tl-marker {
  570. width: 0.5rem;
  571. height: 0.5rem;
  572. border-radius: 50%;
  573. background-color: #E0E0E0;
  574. position: absolute;
  575. left: 0;
  576. top: 0.1875rem;
  577. z-index: 2;
  578. display: flex;
  579. justify-content: center;
  580. align-items: center;
  581. }
  582. .tl-marker.active {
  583. background-color: #fff;
  584. border: 0.09375rem solid #FF9800;
  585. width: 0.5625rem;
  586. height: 0.5625rem;
  587. left: -0.03125rem;
  588. /* offset for border width */
  589. }
  590. .tl-dot-inner {
  591. width: 0.3125rem;
  592. height: 0.3125rem;
  593. border-radius: 50%;
  594. background-color: #FF9800;
  595. }
  596. .tl-item:not(:last-child)::after {
  597. content: '';
  598. position: absolute;
  599. left: 0.21875rem;
  600. top: 0.75rem;
  601. bottom: -0.1875rem;
  602. width: 0.0625rem;
  603. background-color: #FFE0B2;
  604. z-index: 1;
  605. }
  606. .tl-content-row {
  607. margin-left: 1.25rem;
  608. display: flex;
  609. flex-direction: column;
  610. width: 100%;
  611. }
  612. .tl-header {
  613. display: flex;
  614. justify-content: space-between;
  615. align-items: center;
  616. width: 100%;
  617. margin-bottom: 0.3125rem;
  618. }
  619. .tl-status {
  620. font-size: 0.875rem;
  621. color: #333;
  622. font-weight: 500;
  623. }
  624. .tl-time {
  625. font-size: 0.75rem;
  626. color: #999;
  627. }
  628. .tl-medias {
  629. display: flex;
  630. flex-wrap: wrap;
  631. gap: 0.46875rem;
  632. margin-bottom: 0.46875rem;
  633. }
  634. .tl-img {
  635. width: 4.375rem;
  636. height: 4.375rem;
  637. border-radius: 0.25rem;
  638. }
  639. .tl-remark {
  640. font-size: 0.75rem;
  641. color: #666;
  642. background-color: #F9F9F9;
  643. padding: 0.46875rem;
  644. border-radius: 0.25rem;
  645. line-height: 1.5;
  646. }
  647. /* 底部操作栏 */
  648. .bottom-action-bar {
  649. position: fixed;
  650. bottom: 0;
  651. left: 0;
  652. width: 100%;
  653. height: 3.75rem;
  654. background-color: #fff;
  655. display: flex;
  656. align-items: center;
  657. justify-content: space-between;
  658. padding: 0 0.9375rem;
  659. box-shadow: 0 -0.15625rem 0.625rem rgba(0, 0, 0, 0.05);
  660. box-sizing: border-box;
  661. padding-bottom: constant(safe-area-inset-bottom);
  662. padding-bottom: env(safe-area-inset-bottom);
  663. z-index: 100;
  664. }
  665. .action-left,
  666. .action-right {
  667. display: flex;
  668. align-items: center;
  669. }
  670. .action-btn {
  671. height: 2rem;
  672. line-height: 2rem;
  673. border-radius: 1rem;
  674. font-size: 0.8125rem;
  675. padding: 0 1.09375rem;
  676. margin: 0;
  677. }
  678. .action-left .action-btn:first-child {
  679. margin-right: 0.625rem;
  680. }
  681. .action-btn.grey-outline {
  682. background-color: #fff;
  683. color: #666;
  684. border: 1px solid #E0E0E0;
  685. }
  686. .action-btn.orange-outline {
  687. background-color: #FFF8F0;
  688. color: #FF9800;
  689. border: 1px solid #FF9800;
  690. }
  691. .action-btn.primary {
  692. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  693. color: #fff;
  694. box-shadow: 0 0.125rem 0.375rem rgba(255, 87, 34, 0.2);
  695. border: none;
  696. }
  697. .action-btn.grey-bg {
  698. background: #E0E0E0;
  699. color: #999;
  700. box-shadow: none;
  701. border: none;
  702. }
  703. .action-btn::after {
  704. border: none;
  705. }
  706. /* 上传图片视频弹窗 */
  707. .upload-modal-mask {
  708. position: fixed;
  709. top: 0;
  710. left: 0;
  711. width: 100%;
  712. height: 100%;
  713. background-color: rgba(0, 0, 0, 0.4);
  714. z-index: 999;
  715. display: flex;
  716. justify-content: center;
  717. align-items: center;
  718. }
  719. .upload-modal-content {
  720. width: 18.75rem;
  721. background-color: #ffffff;
  722. border-radius: 0.625rem;
  723. padding: 1.25rem;
  724. box-sizing: border-box;
  725. display: flex;
  726. flex-direction: column;
  727. }
  728. .um-header {
  729. text-align: center;
  730. margin-bottom: 1.25rem;
  731. }
  732. .um-title {
  733. font-size: 1rem;
  734. font-weight: bold;
  735. color: #333;
  736. }
  737. .um-remark-hint {
  738. display: block;
  739. font-size: 0.75rem;
  740. color: #FF9800;
  741. margin-top: 0.375rem;
  742. }
  743. .um-grid {
  744. display: flex;
  745. flex-wrap: wrap;
  746. margin-bottom: 0.9375rem;
  747. }
  748. .um-item {
  749. width: 4.0625rem;
  750. height: 4.0625rem;
  751. border-radius: 0.25rem;
  752. margin-right: 0.625rem;
  753. margin-bottom: 0.625rem;
  754. position: relative;
  755. background-color: #f5f5f5;
  756. overflow: hidden;
  757. }
  758. .um-item:nth-child(4n) {
  759. margin-right: 0;
  760. }
  761. .um-preview {
  762. width: 100%;
  763. height: 100%;
  764. }
  765. .um-del {
  766. position: absolute;
  767. top: 0.125rem;
  768. right: 0.125rem;
  769. width: 1.125rem;
  770. height: 1.125rem;
  771. line-height: 1rem;
  772. text-align: center;
  773. background-color: rgba(0, 0, 0, 0.5);
  774. color: #fff;
  775. border-radius: 50%;
  776. font-size: 0.875rem;
  777. }
  778. .um-add {
  779. width: 4.0625rem;
  780. height: 4.0625rem;
  781. border-radius: 0.25rem;
  782. border: 1px dashed #e5e5e5;
  783. display: flex;
  784. flex-direction: column;
  785. justify-content: center;
  786. align-items: center;
  787. box-sizing: border-box;
  788. margin-bottom: 0.625rem;
  789. }
  790. .um-add-icon {
  791. width: 1.375rem;
  792. height: 1.375rem;
  793. margin-bottom: 0.3125rem;
  794. opacity: 0.4;
  795. }
  796. .um-add-text {
  797. font-size: 0.75rem;
  798. color: #ccc;
  799. }
  800. .um-textarea {
  801. width: 100%;
  802. height: 5rem;
  803. background-color: #ffffff;
  804. border-radius: 0.375rem;
  805. padding: 0.75rem;
  806. font-size: 0.875rem;
  807. color: #333;
  808. box-sizing: border-box;
  809. border: 1px solid #f0f0f0;
  810. }
  811. .um-footer {
  812. margin-top: 1.25rem;
  813. display: flex;
  814. justify-content: center;
  815. }
  816. .um-submit-btn {
  817. width: 100%;
  818. height: 2.75rem;
  819. line-height: 2.75rem;
  820. border-radius: 1.375rem;
  821. font-size: 1rem;
  822. background-color: #E0E0E0;
  823. color: #fff;
  824. border: none;
  825. text-align: center;
  826. }
  827. .um-submit-btn.active {
  828. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  829. color: #fff;
  830. box-shadow: 0 0.125rem 0.3125rem rgba(255, 87, 34, 0.3);
  831. }
  832. .um-submit-btn::after {
  833. border: none;
  834. }
  835. /* 宠物档案弹窗 */
  836. .pet-modal-mask {
  837. position: fixed;
  838. top: 0;
  839. left: 0;
  840. width: 100%;
  841. height: 100%;
  842. background-color: rgba(0, 0, 0, 0.5);
  843. z-index: 999;
  844. display: flex;
  845. justify-content: center;
  846. align-items: center;
  847. }
  848. .pet-modal-content {
  849. width: 21.25rem;
  850. max-height: 85vh;
  851. background-color: #fff;
  852. border-radius: 0.625rem;
  853. display: flex;
  854. flex-direction: column;
  855. overflow: hidden;
  856. box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
  857. }
  858. .pet-modal-header {
  859. display: flex;
  860. align-items: center;
  861. padding: 0.875rem 0.9375rem 0.625rem;
  862. border-bottom: 1px solid #f5f5f5;
  863. flex-shrink: 0;
  864. }
  865. .pet-modal-title {
  866. font-size: 1rem;
  867. font-weight: bold;
  868. color: #333;
  869. }
  870. .close-icon-btn {
  871. width: 1.625rem;
  872. height: 1.625rem;
  873. line-height: 1.625rem;
  874. text-align: center;
  875. font-size: 1.125rem;
  876. color: #999;
  877. border-radius: 50%;
  878. background-color: #f5f5f5;
  879. flex-shrink: 0;
  880. }
  881. .pm-remark-btn {
  882. height: 1.625rem;
  883. line-height: 1.625rem;
  884. padding: 0 0.75rem;
  885. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  886. color: #fff;
  887. font-size: 0.8125rem;
  888. border-radius: 0.8125rem;
  889. margin-right: 0.5rem;
  890. font-weight: bold;
  891. flex-shrink: 0;
  892. }
  893. .pet-modal-scroll {
  894. flex: 1;
  895. height: 65vh;
  896. overflow: auto;
  897. }
  898. .pet-base-info {
  899. display: flex;
  900. align-items: center;
  901. padding: 0.75rem 0.9375rem;
  902. border-bottom: 1px solid #f9f9f9;
  903. }
  904. .pm-avatar {
  905. width: 3.125rem;
  906. height: 3.125rem;
  907. border-radius: 50%;
  908. margin-right: 0.625rem;
  909. flex-shrink: 0;
  910. }
  911. .pm-info-text {
  912. flex: 1;
  913. display: flex;
  914. flex-direction: column;
  915. }
  916. .pm-name-row {
  917. display: flex;
  918. align-items: center;
  919. margin-bottom: 0.25rem;
  920. }
  921. .pm-name {
  922. font-size: 1rem;
  923. font-weight: bold;
  924. color: #333;
  925. margin-right: 0.375rem;
  926. }
  927. .pm-gender {
  928. display: flex;
  929. align-items: center;
  930. background-color: #E3F2FD;
  931. color: #1976D2;
  932. font-size: 0.6875rem;
  933. padding: 0.0625rem 0.3125rem;
  934. border-radius: 0.3125rem;
  935. }
  936. .pm-gender.female {
  937. background-color: #FCE4EC;
  938. color: #C2185B;
  939. }
  940. .gender-icon {
  941. font-size: 0.6875rem;
  942. margin-right: 0.125rem;
  943. }
  944. .pm-breed {
  945. font-size: 0.8125rem;
  946. color: #999;
  947. }
  948. .pm-detail-grid {
  949. padding: 0.625rem 0.9375rem;
  950. display: flex;
  951. flex-wrap: wrap;
  952. gap: 0.5rem;
  953. border-bottom: 1px solid #f9f9f9;
  954. }
  955. .pm-grid-item {
  956. background-color: #FAFAFA;
  957. border-radius: 0.375rem;
  958. padding: 0.5rem 0.625rem;
  959. display: flex;
  960. flex-direction: column;
  961. }
  962. .pm-grid-item.half {
  963. width: calc(50% - 0.25rem);
  964. }
  965. .pm-grid-item.full {
  966. width: 100%;
  967. }
  968. .pm-label {
  969. font-size: 0.75rem;
  970. color: #999;
  971. margin-bottom: 0.25rem;
  972. }
  973. .pm-val {
  974. font-size: 0.875rem;
  975. color: #333;
  976. line-height: 1.5;
  977. }
  978. .pm-tags-row {
  979. display: flex;
  980. flex-wrap: wrap;
  981. padding: 0.5rem 0.9375rem;
  982. gap: 0.5rem;
  983. border-bottom: 1px solid #f9f9f9;
  984. }
  985. .pm-tag-chip {
  986. background-color: #FFF3E0;
  987. border: 1px solid #FFB74D;
  988. border-radius: 0.625rem;
  989. padding: 0.1875rem 0.625rem;
  990. }
  991. .pm-tag-chip-text {
  992. font-size: 0.75rem;
  993. color: #FF9800;
  994. }
  995. .pm-log-section {
  996. padding: 0.625rem 0.9375rem;
  997. }
  998. .pm-log-header {
  999. display: flex;
  1000. align-items: center;
  1001. margin-bottom: 0.625rem;
  1002. }
  1003. .pm-log-section-title {
  1004. font-size: 0.875rem;
  1005. font-weight: bold;
  1006. color: #333;
  1007. }
  1008. .pm-log-item {
  1009. padding: 0.5625rem 0;
  1010. border-bottom: 0.03125rem solid #f5f5f5;
  1011. display: flex;
  1012. flex-direction: column;
  1013. }
  1014. .pm-log-date {
  1015. font-size: 0.75rem;
  1016. color: #999;
  1017. margin-bottom: 0.25rem;
  1018. }
  1019. .pm-log-text {
  1020. font-size: 0.875rem;
  1021. color: #333;
  1022. line-height: 1.6;
  1023. margin-bottom: 0.1875rem;
  1024. }
  1025. .pm-log-recorder {
  1026. font-size: 0.6875rem;
  1027. color: #FF9800;
  1028. text-align: right;
  1029. }
  1030. .pm-log-recorder.system {
  1031. color: #999;
  1032. }
  1033. .pm-bottom-close {
  1034. margin: 0.5rem 0.9375rem;
  1035. height: 2.25rem;
  1036. line-height: 2.25rem;
  1037. border-radius: 1.125rem;
  1038. font-size: 0.875rem;
  1039. background-color: #f5f5f5;
  1040. color: #666;
  1041. border: none;
  1042. }
  1043. .pm-bottom-close::after {
  1044. border: none;
  1045. }
  1046. /* 宠护小结底部弹窗 */
  1047. .sum-modal-mask {
  1048. position: fixed;
  1049. top: 0;
  1050. left: 0;
  1051. width: 100%;
  1052. height: 100%;
  1053. background-color: rgba(0, 0, 0, 0.50);
  1054. z-index: 999;
  1055. display: flex;
  1056. align-items: flex-end;
  1057. }
  1058. .sum-modal-sheet {
  1059. width: 100%;
  1060. max-height: 90vh;
  1061. background-color: #fff;
  1062. border-radius: 0.75rem 0.75rem 0 0;
  1063. display: flex;
  1064. flex-direction: column;
  1065. overflow: hidden;
  1066. }
  1067. .sum-modal-scroll {
  1068. flex: 1;
  1069. overflow: hidden;
  1070. }
  1071. .sum-modal-inner {
  1072. padding: 1rem 1.125rem 0;
  1073. }
  1074. .sum-modal-title {
  1075. display: block;
  1076. font-size: 1.0625rem;
  1077. font-weight: bold;
  1078. color: #333;
  1079. text-align: center;
  1080. margin-bottom: 0.9375rem;
  1081. }
  1082. .sum-meta-row {
  1083. display: flex;
  1084. margin-bottom: 0.5rem;
  1085. align-items: flex-start;
  1086. }
  1087. .sum-meta-label {
  1088. font-size: 0.8125rem;
  1089. color: #999;
  1090. flex-shrink: 0;
  1091. width: 4.375rem;
  1092. }
  1093. .sum-meta-val {
  1094. font-size: 0.75rem;
  1095. color: #333;
  1096. flex: 1;
  1097. }
  1098. .sum-section-title {
  1099. font-size: 0.8125rem;
  1100. font-weight: bold;
  1101. color: #333;
  1102. padding-left: 0.375rem;
  1103. border-left: 0.1875rem solid #FF9800;
  1104. margin-top: 0.75rem;
  1105. margin-bottom: 0.5rem;
  1106. }
  1107. .sum-pet-card {
  1108. background-color: #FAFAFA;
  1109. border-radius: 0.375rem;
  1110. padding: 0.625rem;
  1111. display: flex;
  1112. align-items: center;
  1113. }
  1114. .sum-pet-avatar {
  1115. width: 2.5rem;
  1116. height: 2.5rem;
  1117. border-radius: 50%;
  1118. margin-right: 0.625rem;
  1119. flex-shrink: 0;
  1120. }
  1121. .sum-pet-info {
  1122. flex: 1;
  1123. display: flex;
  1124. flex-direction: column;
  1125. }
  1126. .sum-pet-name-row {
  1127. display: flex;
  1128. align-items: center;
  1129. margin-bottom: 0.25rem;
  1130. }
  1131. .sum-pet-name {
  1132. font-size: 0.8125rem;
  1133. font-weight: bold;
  1134. color: #333;
  1135. margin-right: 0.375rem;
  1136. }
  1137. .sum-pet-breed {
  1138. font-size: 0.75rem;
  1139. color: #999;
  1140. }
  1141. .sum-pet-remark {
  1142. font-size: 0.75rem;
  1143. color: #666;
  1144. line-height: 1.5;
  1145. }
  1146. .sum-textarea {
  1147. width: 100%;
  1148. min-height: 6.875rem;
  1149. background-color: #fff;
  1150. border: 1px solid #eeeeee;
  1151. border-radius: 0.375rem;
  1152. padding: 0.5625rem;
  1153. font-size: 0.8125rem;
  1154. color: #333;
  1155. box-sizing: border-box;
  1156. line-height: 1.8;
  1157. }
  1158. .sum-sign-row {
  1159. display: flex;
  1160. align-items: center;
  1161. margin-top: 0.9375rem;
  1162. padding: 0.5rem 0;
  1163. border-top: 1px solid #f5f5f5;
  1164. }
  1165. .sum-sign-label {
  1166. font-size: 0.8125rem;
  1167. color: #999;
  1168. margin-right: 0.3125rem;
  1169. }
  1170. .sum-sign-val {
  1171. font-size: 0.8125rem;
  1172. color: #333;
  1173. }
  1174. .sum-footer {
  1175. padding: 0.625rem 1.125rem 1.125rem;
  1176. padding-bottom: max(1.125rem, constant(safe-area-inset-bottom));
  1177. padding-bottom: max(1.125rem, env(safe-area-inset-bottom));
  1178. background-color: #fff;
  1179. }
  1180. .sum-submit-btn {
  1181. width: 100%;
  1182. height: 2.625rem;
  1183. line-height: 2.625rem;
  1184. border-radius: 1.3125rem;
  1185. font-size: 0.9375rem;
  1186. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  1187. color: #fff;
  1188. border: none;
  1189. box-shadow: 0 0.125rem 0.5rem rgba(255, 87, 34, 0.25);
  1190. }
  1191. .sum-submit-btn::after {
  1192. border: none;
  1193. }
  1194. /* 宠护小结 - 居中白卡样式 */
  1195. .sum-modal-mask {
  1196. position: fixed;
  1197. top: 0;
  1198. left: 0;
  1199. width: 100%;
  1200. height: 100%;
  1201. background-color: rgba(0, 0, 0, 0.5);
  1202. z-index: 999;
  1203. display: flex;
  1204. justify-content: center;
  1205. align-items: center;
  1206. }
  1207. .sum-modal-card {
  1208. width: 20.625rem;
  1209. max-height: 80vh;
  1210. background-color: #fff;
  1211. border-radius: 0.625rem;
  1212. display: flex;
  1213. flex-direction: column;
  1214. overflow: hidden;
  1215. box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
  1216. }
  1217. .sum-modal-scroll {
  1218. flex: 1;
  1219. overflow: hidden;
  1220. }
  1221. /* 宠物档案 - 备注按钮 */
  1222. .pet-modal-header {
  1223. display: flex;
  1224. align-items: center;
  1225. padding: 0.9375rem 0.9375rem 0.625rem;
  1226. border-bottom: 1px solid #f5f5f5;
  1227. }
  1228. .pm-remark-btn {
  1229. height: 1.625rem;
  1230. line-height: 1.625rem;
  1231. padding: 0 0.75rem;
  1232. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  1233. color: #fff;
  1234. font-size: 0.8125rem;
  1235. border-radius: 0.8125rem;
  1236. margin-right: 0.5rem;
  1237. font-weight: bold;
  1238. }
  1239. /* 标签芯片 */
  1240. .pm-tags-row {
  1241. display: flex;
  1242. flex-wrap: wrap;
  1243. padding: 0 0.75rem 0.625rem;
  1244. gap: 0.5rem;
  1245. }
  1246. .pm-tag-chip {
  1247. background-color: #FFF3E0;
  1248. border: 1px solid #FFB74D;
  1249. border-radius: 0.625rem;
  1250. padding: 0.1875rem 0.625rem;
  1251. }
  1252. .pm-tag-chip-text {
  1253. font-size: 0.75rem;
  1254. color: #FF9800;
  1255. }
  1256. /* 备注日志 */
  1257. .pm-log-section {
  1258. padding: 0.625rem 0.75rem;
  1259. border-top: 1px solid #f5f5f5;
  1260. margin-top: 0.3125rem;
  1261. }
  1262. .pm-log-header {
  1263. display: flex;
  1264. align-items: center;
  1265. margin-bottom: 0.625rem;
  1266. }
  1267. .pm-log-section-title {
  1268. font-size: 0.875rem;
  1269. font-weight: bold;
  1270. color: #333;
  1271. }
  1272. .pm-log-item {
  1273. padding: 0.5rem 0;
  1274. border-bottom: 1px solid #f9f9f9;
  1275. display: flex;
  1276. flex-direction: column;
  1277. }
  1278. .pm-log-date {
  1279. font-size: 0.75rem;
  1280. color: #999;
  1281. margin-bottom: 0.25rem;
  1282. }
  1283. .pm-log-text {
  1284. font-size: 0.875rem;
  1285. color: #333;
  1286. line-height: 1.6;
  1287. margin-bottom: 0.1875rem;
  1288. }
  1289. .pm-log-recorder {
  1290. font-size: 0.6875rem;
  1291. color: #FF9800;
  1292. text-align: right;
  1293. }
  1294. .pm-log-recorder.system {
  1295. color: #999;
  1296. }
  1297. /* 弹窗遮罩 */
  1298. .modal-mask {
  1299. position: fixed;
  1300. top: 0;
  1301. left: 0;
  1302. right: 0;
  1303. bottom: 0;
  1304. background-color: rgba(0, 0, 0, 0.5);
  1305. z-index: 999;
  1306. display: flex;
  1307. align-items: center;
  1308. justify-content: center;
  1309. }
  1310. /* 异常记录弹窗 */
  1311. .anomaly-modal-content {
  1312. width: 20.3125rem;
  1313. background-color: #fff;
  1314. border-radius: 0.625rem;
  1315. padding: 0.9375rem;
  1316. position: relative;
  1317. max-height: 80vh;
  1318. display: flex;
  1319. flex-direction: column;
  1320. }
  1321. .am-header {
  1322. display: flex;
  1323. justify-content: space-between;
  1324. align-items: center;
  1325. margin-bottom: 0.9375rem;
  1326. padding-bottom: 0.625rem;
  1327. border-bottom: 1px solid #f5f5f5;
  1328. }
  1329. .am-title {
  1330. font-size: 1rem;
  1331. font-weight: bold;
  1332. color: #333;
  1333. }
  1334. .am-scroll-list {
  1335. flex: 1;
  1336. }
  1337. .am-item {
  1338. padding: 0.75rem;
  1339. background-color: #F9FAFB;
  1340. border-radius: 0.375rem;
  1341. margin-bottom: 0.75rem;
  1342. }
  1343. .am-item-header {
  1344. display: flex;
  1345. justify-content: space-between;
  1346. align-items: center;
  1347. margin-bottom: 0.5rem;
  1348. }
  1349. .am-item-type {
  1350. font-size: 0.875rem;
  1351. font-weight: bold;
  1352. color: #333;
  1353. }
  1354. .am-item-status {
  1355. font-size: 0.6875rem;
  1356. padding: 0.125rem 0.5rem;
  1357. border-radius: 0.625rem;
  1358. }
  1359. .am-item-status.status-0 {
  1360. background-color: #FFF3E0;
  1361. color: #FF9800;
  1362. }
  1363. .am-item-status.status-1 {
  1364. background-color: #E8F5E9;
  1365. color: #4CAF50;
  1366. }
  1367. .am-item-status.status-2 {
  1368. background-color: #FFEBEE;
  1369. color: #F44336;
  1370. }
  1371. .am-item-content {
  1372. font-size: 0.8125rem;
  1373. color: #666;
  1374. line-height: 1.6;
  1375. display: block;
  1376. margin-bottom: 0.5rem;
  1377. }
  1378. .am-item-photos {
  1379. display: flex;
  1380. flex-wrap: wrap;
  1381. gap: 0.375rem;
  1382. margin-bottom: 0.625rem;
  1383. }
  1384. .am-photo {
  1385. width: 4.0625rem;
  1386. height: 4.0625rem;
  1387. border-radius: 0.25rem;
  1388. }
  1389. .am-audit-box {
  1390. margin-top: 0.625rem;
  1391. padding-top: 0.625rem;
  1392. border-top: 1px dashed #E0E0E0;
  1393. }
  1394. .am-audit-header {
  1395. display: flex;
  1396. justify-content: space-between;
  1397. align-items: center;
  1398. margin-bottom: 0.25rem;
  1399. }
  1400. .am-audit-label {
  1401. font-size: 0.75rem;
  1402. font-weight: bold;
  1403. color: #333;
  1404. }
  1405. .am-audit-time {
  1406. font-size: 0.6875rem;
  1407. color: #999;
  1408. }
  1409. .am-audit-remark {
  1410. font-size: 0.75rem;
  1411. color: #666;
  1412. line-height: 1.5;
  1413. }
  1414. .empty-list {
  1415. display: flex;
  1416. flex-direction: column;
  1417. align-items: center;
  1418. padding: 3.125rem 0;
  1419. }
  1420. .empty-icon {
  1421. width: 6.25rem;
  1422. height: 6.25rem;
  1423. margin-bottom: 0.625rem;
  1424. opacity: 0.5;
  1425. }
  1426. .empty-text {
  1427. font-size: 0.8125rem;
  1428. color: #999;
  1429. }