detail-style.css 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662
  1. /* 页面背景 */
  2. page {
  3. background-color: #F8F8F8;
  4. }
  5. .detail-container {
  6. padding-bottom: 200rpx;
  7. }
  8. /* 骨架屏加载动画 */
  9. .loading-container {
  10. padding: 30rpx;
  11. }
  12. .skeleton-header {
  13. background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
  14. border-radius: 20rpx;
  15. padding: 40rpx;
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. margin-bottom: 20rpx;
  20. }
  21. .skeleton-progress {
  22. background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
  23. border-radius: 0 0 20rpx 20rpx;
  24. margin-top: -40rpx;
  25. padding: 30rpx 40rpx 40rpx;
  26. display: flex;
  27. justify-content: space-around;
  28. margin-bottom: 25rpx;
  29. }
  30. .skeleton-circle {
  31. width: 40rpx;
  32. height: 40rpx;
  33. border-radius: 50%;
  34. background-color: rgba(255, 255, 255, 0.3);
  35. }
  36. .skeleton-card {
  37. background-color: #fff;
  38. border-radius: 20rpx;
  39. padding: 30rpx;
  40. margin-bottom: 25rpx;
  41. box-shadow: 0 5rpx 20rpx rgba(0, 0, 0, 0.03);
  42. }
  43. .skeleton-line {
  44. border-radius: 8rpx;
  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: 40rpx 40rpx 50rpx 40rpx;
  75. color: #fff;
  76. border-radius: 20rpx;
  77. margin: 30rpx 30rpx 25rpx 30rpx;
  78. box-shadow: 0 5rpx 15rpx 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: 40rpx;
  85. }
  86. .status-title {
  87. font-size: 28rpx;
  88. font-weight: bold;
  89. }
  90. .status-price {
  91. font-size: 40rpx;
  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 10rpx;
  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: 48rpx;
  131. height: 48rpx;
  132. font-size: 24rpx;
  133. box-shadow: 0 4rpx 16rpx 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: 10rpx;
  144. }
  145. /* 默认圆圈:半透明 */
  146. .step-circle {
  147. width: 40rpx;
  148. height: 40rpx;
  149. border-radius: 50%;
  150. background-color: rgba(255, 255, 255, 0.3);
  151. color: rgba(255, 255, 255, 0.8);
  152. font-size: 20rpx;
  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% + 20rpx);
  165. width: calc(100% - 40rpx);
  166. height: 2rpx;
  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: 3rpx;
  174. }
  175. .step-text {
  176. font-size: 24rpx;
  177. }
  178. /* 内容区通用卡片 */
  179. .detail-content {
  180. width: 100%;
  181. box-sizing: border-box;
  182. padding: 0 30rpx;
  183. position: relative;
  184. z-index: 10;
  185. }
  186. .white-card {
  187. background-color: #fff;
  188. border-radius: 20rpx;
  189. padding: 30rpx;
  190. margin-bottom: 25rpx;
  191. box-shadow: 0 5rpx 20rpx rgba(0, 0, 0, 0.03);
  192. }
  193. /* 宠物信息条 */
  194. .pet-bar {
  195. display: flex;
  196. align-items: center;
  197. }
  198. .pb-avatar {
  199. width: 100rpx;
  200. height: 100rpx;
  201. border-radius: 50%;
  202. margin-right: 20rpx;
  203. }
  204. .pb-info {
  205. flex: 1;
  206. display: flex;
  207. flex-direction: column;
  208. }
  209. .pb-name-row {
  210. margin-bottom: 10rpx;
  211. }
  212. .pb-name {
  213. font-size: 32rpx;
  214. font-weight: bold;
  215. color: #333;
  216. margin-right: 15rpx;
  217. }
  218. .pb-breed {
  219. font-size: 26rpx;
  220. color: #999;
  221. }
  222. .pb-tags {
  223. display: flex;
  224. }
  225. .pb-tag {
  226. background-color: #FFF3E0;
  227. color: #FF9800;
  228. font-size: 22rpx;
  229. padding: 4rpx 16rpx;
  230. border-radius: 8rpx;
  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: 2rpx solid #FF9800;
  243. color: #FF9800;
  244. font-size: 24rpx;
  245. padding: 8rpx 20rpx;
  246. border-radius: 30rpx;
  247. margin-right: 20rpx;
  248. }
  249. .phone-btn {
  250. width: 60rpx;
  251. height: 60rpx;
  252. border-radius: 50%;
  253. background-color: #FFF3E0;
  254. }
  255. .phone-icon {
  256. width: 32rpx;
  257. height: 32rpx;
  258. }
  259. /* 服务及路线信息 */
  260. .si-row {
  261. display: flex;
  262. align-items: flex-start;
  263. margin-bottom: 30rpx;
  264. }
  265. .si-row:last-child {
  266. margin-bottom: 0;
  267. }
  268. .si-icon {
  269. width: 36rpx;
  270. height: 36rpx;
  271. margin-right: 20rpx;
  272. margin-top: 4rpx;
  273. }
  274. .si-icon-uni {
  275. margin-right: 20rpx;
  276. margin-top: 4rpx;
  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: 24rpx;
  288. color: #999;
  289. margin-bottom: 6rpx;
  290. }
  291. .icon-bg {
  292. width: 44rpx;
  293. height: 44rpx;
  294. border-radius: 8rpx;
  295. display: flex;
  296. justify-content: center;
  297. align-items: center;
  298. margin-right: 20rpx;
  299. margin-top: 4rpx;
  300. flex-shrink: 0;
  301. }
  302. .icon-bg.grey-bg {
  303. background-color: #F8F8F8;
  304. }
  305. .custom-icon {
  306. width: 28rpx;
  307. height: 28rpx;
  308. }
  309. .custom-icon-file {
  310. width: 36rpx;
  311. height: 36rpx;
  312. }
  313. .si-val {
  314. font-size: 28rpx;
  315. color: #333;
  316. }
  317. .record-btn {
  318. font-size: 24rpx;
  319. color: #FF5722;
  320. display: flex;
  321. align-items: center;
  322. }
  323. .record-arrow {
  324. width: 24rpx;
  325. height: 24rpx;
  326. margin-left: 6rpx;
  327. }
  328. .record-history-row {
  329. margin-top: 30rpx;
  330. padding-top: 25rpx;
  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: 40rpx;
  343. height: 40rpx;
  344. border-radius: 50%;
  345. color: #fff;
  346. font-size: 22rpx;
  347. display: flex;
  348. align-items: center;
  349. justify-content: center;
  350. margin-right: 20rpx;
  351. flex-shrink: 0;
  352. font-weight: bold;
  353. margin-top: 6rpx;
  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: 19rpx;
  369. top: 46rpx;
  370. bottom: -6rpx;
  371. border-left: 2rpx dashed #E0E0E0;
  372. width: 0;
  373. z-index: 0;
  374. }
  375. .si-addr-title {
  376. font-size: 30rpx;
  377. font-weight: bold;
  378. color: #333;
  379. margin-bottom: 6rpx;
  380. }
  381. .si-addr-desc {
  382. font-size: 24rpx;
  383. color: #999;
  384. }
  385. .nav-btn-circle {
  386. width: 50rpx;
  387. height: 50rpx;
  388. background-color: #FFF3E0;
  389. border-radius: 50%;
  390. display: flex;
  391. align-items: center;
  392. justify-content: center;
  393. margin-top: 6rpx;
  394. }
  395. .nav-arrow {
  396. width: 28rpx;
  397. height: 28rpx;
  398. }
  399. /* 打卡任务区 */
  400. .task-card {
  401. display: flex;
  402. flex-direction: column;
  403. }
  404. .tc-title {
  405. font-size: 30rpx;
  406. font-weight: bold;
  407. color: #333;
  408. margin-bottom: 15rpx;
  409. }
  410. .tc-desc {
  411. font-size: 22rpx;
  412. color: #666;
  413. margin-bottom: 12rpx;
  414. }
  415. .media-grid {
  416. display: flex;
  417. flex-wrap: wrap;
  418. gap: 20rpx;
  419. margin-bottom: 20rpx;
  420. }
  421. .media-item {
  422. width: 160rpx;
  423. height: 160rpx;
  424. position: relative;
  425. border-radius: 12rpx;
  426. }
  427. .media-preview {
  428. width: 100%;
  429. height: 100%;
  430. border-radius: 12rpx;
  431. }
  432. .media-del {
  433. position: absolute;
  434. top: -10rpx;
  435. right: -10rpx;
  436. width: 36rpx;
  437. height: 36rpx;
  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: 24rpx;
  445. z-index: 2;
  446. }
  447. .media-add {
  448. width: 160rpx;
  449. height: 160rpx;
  450. border: 2rpx dashed #ccc;
  451. border-radius: 12rpx;
  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: 40rpx;
  461. height: 40rpx;
  462. margin-bottom: 10rpx;
  463. }
  464. .upload-text-small {
  465. font-size: 22rpx;
  466. color: #999;
  467. }
  468. .full-media-add {
  469. width: 100%;
  470. height: 140rpx;
  471. background-color: #FAFAFA;
  472. border: 2rpx dashed #E0E0E0;
  473. border-radius: 12rpx;
  474. display: flex;
  475. flex-direction: column;
  476. justify-content: center;
  477. align-items: center;
  478. margin-top: 10rpx;
  479. }
  480. .upload-icon-large {
  481. width: 50rpx;
  482. height: 50rpx;
  483. margin-bottom: 10rpx;
  484. opacity: 0.5;
  485. }
  486. .upload-text-large {
  487. font-size: 24rpx;
  488. color: #999;
  489. }
  490. /* 基础信息区 */
  491. .bi-row {
  492. display: flex;
  493. align-items: flex-start;
  494. margin-bottom: 25rpx;
  495. }
  496. .bi-row:last-child {
  497. margin-bottom: 0;
  498. }
  499. .bi-icon {
  500. width: 32rpx;
  501. height: 32rpx;
  502. margin-right: 20rpx;
  503. margin-top: 4rpx;
  504. }
  505. .bi-icon-uni {
  506. margin-right: 20rpx;
  507. margin-top: 4rpx;
  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: 24rpx;
  519. color: #999;
  520. margin-bottom: 6rpx;
  521. }
  522. .bi-val-row {
  523. display: flex;
  524. align-items: center;
  525. }
  526. .bi-val {
  527. font-size: 28rpx;
  528. color: #333;
  529. }
  530. .bi-copy {
  531. background-color: #F0F0F0;
  532. color: #666;
  533. font-size: 20rpx;
  534. padding: 2rpx 10rpx;
  535. border-radius: 6rpx;
  536. margin-left: 15rpx;
  537. }
  538. /* 订单进度 */
  539. .tl-title-row {
  540. display: flex;
  541. align-items: center;
  542. margin-bottom: 30rpx;
  543. }
  544. .orange-bar {
  545. width: 8rpx;
  546. height: 32rpx;
  547. background-color: #FF9800;
  548. margin-right: 16rpx;
  549. border-radius: 4rpx;
  550. }
  551. .tl-title {
  552. font-size: 30rpx;
  553. font-weight: bold;
  554. color: #333;
  555. }
  556. .tl-list {
  557. display: flex;
  558. flex-direction: column;
  559. padding-left: 10rpx;
  560. }
  561. .tl-item {
  562. display: flex;
  563. position: relative;
  564. padding-bottom: 40rpx;
  565. }
  566. .tl-item:last-child {
  567. padding-bottom: 0;
  568. }
  569. .tl-marker {
  570. width: 16rpx;
  571. height: 16rpx;
  572. border-radius: 50%;
  573. background-color: #E0E0E0;
  574. position: absolute;
  575. left: 0;
  576. top: 6rpx;
  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: 3rpx solid #FF9800;
  585. width: 18rpx;
  586. height: 18rpx;
  587. left: -1rpx;
  588. /* offset for border width */
  589. }
  590. .tl-dot-inner {
  591. width: 10rpx;
  592. height: 10rpx;
  593. border-radius: 50%;
  594. background-color: #FF9800;
  595. }
  596. .tl-item:not(:last-child)::after {
  597. content: '';
  598. position: absolute;
  599. left: 7rpx;
  600. top: 24rpx;
  601. bottom: -6rpx;
  602. width: 2rpx;
  603. background-color: #FFE0B2;
  604. z-index: 1;
  605. }
  606. .tl-content-row {
  607. margin-left: 40rpx;
  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: 10rpx;
  618. }
  619. .tl-status {
  620. font-size: 28rpx;
  621. color: #333;
  622. font-weight: 500;
  623. }
  624. .tl-time {
  625. font-size: 24rpx;
  626. color: #999;
  627. }
  628. .tl-medias {
  629. display: flex;
  630. flex-wrap: wrap;
  631. gap: 15rpx;
  632. margin-bottom: 15rpx;
  633. }
  634. .tl-img {
  635. width: 140rpx;
  636. height: 140rpx;
  637. border-radius: 8rpx;
  638. }
  639. .tl-remark {
  640. font-size: 24rpx;
  641. color: #666;
  642. background-color: #F9F9F9;
  643. padding: 15rpx;
  644. border-radius: 8rpx;
  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: 120rpx;
  654. background-color: #fff;
  655. display: flex;
  656. align-items: center;
  657. justify-content: space-between;
  658. padding: 0 30rpx;
  659. box-shadow: 0 -5rpx 20rpx 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: 64rpx;
  672. line-height: 64rpx;
  673. border-radius: 32rpx;
  674. font-size: 26rpx;
  675. padding: 0 35rpx;
  676. margin: 0;
  677. }
  678. .action-left .action-btn:first-child {
  679. margin-right: 20rpx;
  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 4rpx 12rpx 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: 600rpx;
  721. background-color: #ffffff;
  722. border-radius: 20rpx;
  723. padding: 40rpx;
  724. box-sizing: border-box;
  725. display: flex;
  726. flex-direction: column;
  727. }
  728. .um-header {
  729. text-align: center;
  730. margin-bottom: 40rpx;
  731. }
  732. .um-title {
  733. font-size: 32rpx;
  734. font-weight: bold;
  735. color: #333;
  736. }
  737. .um-remark-hint {
  738. display: block;
  739. font-size: 24rpx;
  740. color: #FF9800;
  741. margin-top: 12rpx;
  742. }
  743. .um-grid {
  744. display: flex;
  745. flex-wrap: wrap;
  746. margin-bottom: 30rpx;
  747. }
  748. .um-item {
  749. width: 130rpx;
  750. height: 130rpx;
  751. border-radius: 8rpx;
  752. margin-right: 20rpx;
  753. margin-bottom: 20rpx;
  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: 4rpx;
  768. right: 4rpx;
  769. width: 36rpx;
  770. height: 36rpx;
  771. line-height: 32rpx;
  772. text-align: center;
  773. background-color: rgba(0, 0, 0, 0.5);
  774. color: #fff;
  775. border-radius: 50%;
  776. font-size: 28rpx;
  777. }
  778. .um-add {
  779. width: 130rpx;
  780. height: 130rpx;
  781. border-radius: 8rpx;
  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: 20rpx;
  789. }
  790. .um-add-icon {
  791. width: 44rpx;
  792. height: 44rpx;
  793. margin-bottom: 10rpx;
  794. opacity: 0.4;
  795. }
  796. .um-add-text {
  797. font-size: 24rpx;
  798. color: #ccc;
  799. }
  800. .um-textarea {
  801. width: 100%;
  802. height: 160rpx;
  803. background-color: #ffffff;
  804. border-radius: 12rpx;
  805. padding: 24rpx;
  806. font-size: 28rpx;
  807. color: #333;
  808. box-sizing: border-box;
  809. border: 1px solid #f0f0f0;
  810. }
  811. .um-footer {
  812. margin-top: 40rpx;
  813. display: flex;
  814. justify-content: center;
  815. }
  816. .um-submit-btn {
  817. width: 100%;
  818. height: 88rpx;
  819. line-height: 88rpx;
  820. border-radius: 44rpx;
  821. font-size: 32rpx;
  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 4rpx 10rpx 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: 680rpx;
  850. max-height: 85vh;
  851. background-color: #fff;
  852. border-radius: 20rpx;
  853. display: flex;
  854. flex-direction: column;
  855. overflow: hidden;
  856. box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.15);
  857. }
  858. .pet-modal-header {
  859. display: flex;
  860. align-items: center;
  861. padding: 28rpx 30rpx 20rpx;
  862. border-bottom: 1px solid #f5f5f5;
  863. flex-shrink: 0;
  864. }
  865. .pet-modal-title {
  866. font-size: 32rpx;
  867. font-weight: bold;
  868. color: #333;
  869. }
  870. .close-icon-btn {
  871. width: 52rpx;
  872. height: 52rpx;
  873. line-height: 52rpx;
  874. text-align: center;
  875. font-size: 36rpx;
  876. color: #999;
  877. border-radius: 50%;
  878. background-color: #f5f5f5;
  879. flex-shrink: 0;
  880. }
  881. .pm-remark-btn {
  882. height: 52rpx;
  883. line-height: 52rpx;
  884. padding: 0 24rpx;
  885. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  886. color: #fff;
  887. font-size: 26rpx;
  888. border-radius: 26rpx;
  889. margin-right: 16rpx;
  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: 24rpx 30rpx;
  902. border-bottom: 1px solid #f9f9f9;
  903. }
  904. .pm-avatar {
  905. width: 100rpx;
  906. height: 100rpx;
  907. border-radius: 50%;
  908. margin-right: 20rpx;
  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: 8rpx;
  920. }
  921. .pm-name {
  922. font-size: 32rpx;
  923. font-weight: bold;
  924. color: #333;
  925. margin-right: 12rpx;
  926. }
  927. .pm-gender {
  928. display: flex;
  929. align-items: center;
  930. background-color: #E3F2FD;
  931. color: #1976D2;
  932. font-size: 22rpx;
  933. padding: 2rpx 10rpx;
  934. border-radius: 10rpx;
  935. }
  936. .pm-gender.female {
  937. background-color: #FCE4EC;
  938. color: #C2185B;
  939. }
  940. .gender-icon {
  941. font-size: 22rpx;
  942. margin-right: 4rpx;
  943. }
  944. .pm-breed {
  945. font-size: 26rpx;
  946. color: #999;
  947. }
  948. .pm-detail-grid {
  949. padding: 20rpx 30rpx;
  950. display: flex;
  951. flex-wrap: wrap;
  952. gap: 16rpx;
  953. border-bottom: 1px solid #f9f9f9;
  954. }
  955. .pm-grid-item {
  956. background-color: #FAFAFA;
  957. border-radius: 12rpx;
  958. padding: 16rpx 20rpx;
  959. display: flex;
  960. flex-direction: column;
  961. }
  962. .pm-grid-item.half {
  963. width: calc(50% - 8rpx);
  964. }
  965. .pm-grid-item.full {
  966. width: 100%;
  967. }
  968. .pm-label {
  969. font-size: 24rpx;
  970. color: #999;
  971. margin-bottom: 8rpx;
  972. }
  973. .pm-val {
  974. font-size: 28rpx;
  975. color: #333;
  976. line-height: 1.5;
  977. }
  978. .pm-tags-row {
  979. display: flex;
  980. flex-wrap: wrap;
  981. padding: 16rpx 30rpx;
  982. gap: 16rpx;
  983. border-bottom: 1px solid #f9f9f9;
  984. }
  985. .pm-tag-chip {
  986. background-color: #FFF3E0;
  987. border: 1px solid #FFB74D;
  988. border-radius: 20rpx;
  989. padding: 6rpx 20rpx;
  990. }
  991. .pm-tag-chip-text {
  992. font-size: 24rpx;
  993. color: #FF9800;
  994. }
  995. .pm-log-section {
  996. padding: 20rpx 30rpx;
  997. }
  998. .pm-log-header {
  999. display: flex;
  1000. align-items: center;
  1001. margin-bottom: 20rpx;
  1002. }
  1003. .pm-log-section-title {
  1004. font-size: 28rpx;
  1005. font-weight: bold;
  1006. color: #333;
  1007. }
  1008. .pm-log-item {
  1009. padding: 18rpx 0;
  1010. border-bottom: 1rpx solid #f5f5f5;
  1011. display: flex;
  1012. flex-direction: column;
  1013. }
  1014. .pm-log-date {
  1015. font-size: 24rpx;
  1016. color: #999;
  1017. margin-bottom: 8rpx;
  1018. }
  1019. .pm-log-text {
  1020. font-size: 28rpx;
  1021. color: #333;
  1022. line-height: 1.6;
  1023. margin-bottom: 6rpx;
  1024. }
  1025. .pm-log-recorder {
  1026. font-size: 22rpx;
  1027. color: #FF9800;
  1028. text-align: right;
  1029. }
  1030. .pm-log-recorder.system {
  1031. color: #999;
  1032. }
  1033. .pm-bottom-close {
  1034. margin: 16rpx 30rpx;
  1035. height: 72rpx;
  1036. line-height: 72rpx;
  1037. border-radius: 36rpx;
  1038. font-size: 28rpx;
  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: 24rpx 24rpx 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: 32rpx 36rpx 0;
  1073. }
  1074. .sum-modal-title {
  1075. display: block;
  1076. font-size: 34rpx;
  1077. font-weight: bold;
  1078. color: #333;
  1079. text-align: center;
  1080. margin-bottom: 30rpx;
  1081. }
  1082. .sum-meta-row {
  1083. display: flex;
  1084. margin-bottom: 16rpx;
  1085. align-items: flex-start;
  1086. }
  1087. .sum-meta-label {
  1088. font-size: 26rpx;
  1089. color: #999;
  1090. flex-shrink: 0;
  1091. width: 140rpx;
  1092. }
  1093. .sum-meta-val {
  1094. font-size: 24rpx;
  1095. color: #333;
  1096. flex: 1;
  1097. }
  1098. .sum-section-title {
  1099. font-size: 26rpx;
  1100. font-weight: bold;
  1101. color: #333;
  1102. padding-left: 12rpx;
  1103. border-left: 6rpx solid #FF9800;
  1104. margin-top: 24rpx;
  1105. margin-bottom: 16rpx;
  1106. }
  1107. .sum-pet-card {
  1108. background-color: #FAFAFA;
  1109. border-radius: 12rpx;
  1110. padding: 20rpx;
  1111. display: flex;
  1112. align-items: center;
  1113. }
  1114. .sum-pet-avatar {
  1115. width: 80rpx;
  1116. height: 80rpx;
  1117. border-radius: 50%;
  1118. margin-right: 20rpx;
  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: 8rpx;
  1130. }
  1131. .sum-pet-name {
  1132. font-size: 26rpx;
  1133. font-weight: bold;
  1134. color: #333;
  1135. margin-right: 12rpx;
  1136. }
  1137. .sum-pet-breed {
  1138. font-size: 24rpx;
  1139. color: #999;
  1140. }
  1141. .sum-pet-remark {
  1142. font-size: 24rpx;
  1143. color: #666;
  1144. line-height: 1.5;
  1145. }
  1146. .sum-textarea {
  1147. width: 100%;
  1148. min-height: 220rpx;
  1149. background-color: #fff;
  1150. border: 1px solid #eeeeee;
  1151. border-radius: 12rpx;
  1152. padding: 18rpx;
  1153. font-size: 26rpx;
  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: 30rpx;
  1162. padding: 16rpx 0;
  1163. border-top: 1px solid #f5f5f5;
  1164. }
  1165. .sum-sign-label {
  1166. font-size: 26rpx;
  1167. color: #999;
  1168. margin-right: 10rpx;
  1169. }
  1170. .sum-sign-val {
  1171. font-size: 26rpx;
  1172. color: #333;
  1173. }
  1174. .sum-footer {
  1175. padding: 20rpx 36rpx 36rpx;
  1176. padding-bottom: max(36rpx, constant(safe-area-inset-bottom));
  1177. padding-bottom: max(36rpx, env(safe-area-inset-bottom));
  1178. background-color: #fff;
  1179. }
  1180. .sum-submit-btn {
  1181. width: 100%;
  1182. height: 84rpx;
  1183. line-height: 84rpx;
  1184. border-radius: 42rpx;
  1185. font-size: 30rpx;
  1186. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  1187. color: #fff;
  1188. border: none;
  1189. box-shadow: 0 4rpx 16rpx 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: 660rpx;
  1209. max-height: 80vh;
  1210. background-color: #fff;
  1211. border-radius: 20rpx;
  1212. display: flex;
  1213. flex-direction: column;
  1214. overflow: hidden;
  1215. box-shadow: 0 8rpx 32rpx 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: 30rpx 30rpx 20rpx;
  1226. border-bottom: 1px solid #f5f5f5;
  1227. }
  1228. .pm-remark-btn {
  1229. height: 52rpx;
  1230. line-height: 52rpx;
  1231. padding: 0 24rpx;
  1232. background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
  1233. color: #fff;
  1234. font-size: 26rpx;
  1235. border-radius: 26rpx;
  1236. margin-right: 16rpx;
  1237. font-weight: bold;
  1238. }
  1239. /* 标签芯片 */
  1240. .pm-tags-row {
  1241. display: flex;
  1242. flex-wrap: wrap;
  1243. padding: 0 24rpx 20rpx;
  1244. gap: 16rpx;
  1245. }
  1246. .pm-tag-chip {
  1247. background-color: #FFF3E0;
  1248. border: 1px solid #FFB74D;
  1249. border-radius: 20rpx;
  1250. padding: 6rpx 20rpx;
  1251. }
  1252. .pm-tag-chip-text {
  1253. font-size: 24rpx;
  1254. color: #FF9800;
  1255. }
  1256. /* 备注日志 */
  1257. .pm-log-section {
  1258. padding: 20rpx 24rpx;
  1259. border-top: 1px solid #f5f5f5;
  1260. margin-top: 10rpx;
  1261. }
  1262. .pm-log-header {
  1263. display: flex;
  1264. align-items: center;
  1265. margin-bottom: 20rpx;
  1266. }
  1267. .pm-log-section-title {
  1268. font-size: 28rpx;
  1269. font-weight: bold;
  1270. color: #333;
  1271. }
  1272. .pm-log-item {
  1273. padding: 16rpx 0;
  1274. border-bottom: 1px solid #f9f9f9;
  1275. display: flex;
  1276. flex-direction: column;
  1277. }
  1278. .pm-log-date {
  1279. font-size: 24rpx;
  1280. color: #999;
  1281. margin-bottom: 8rpx;
  1282. }
  1283. .pm-log-text {
  1284. font-size: 28rpx;
  1285. color: #333;
  1286. line-height: 1.6;
  1287. margin-bottom: 6rpx;
  1288. }
  1289. .pm-log-recorder {
  1290. font-size: 22rpx;
  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: 650rpx;
  1313. background-color: #fff;
  1314. border-radius: 20rpx;
  1315. padding: 30rpx;
  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: 30rpx;
  1326. padding-bottom: 20rpx;
  1327. border-bottom: 1px solid #f5f5f5;
  1328. }
  1329. .am-title {
  1330. font-size: 32rpx;
  1331. font-weight: bold;
  1332. color: #333;
  1333. }
  1334. .am-scroll-list {
  1335. flex: 1;
  1336. }
  1337. .am-item {
  1338. padding: 24rpx;
  1339. background-color: #F9FAFB;
  1340. border-radius: 12rpx;
  1341. margin-bottom: 24rpx;
  1342. }
  1343. .am-item-header {
  1344. display: flex;
  1345. justify-content: space-between;
  1346. align-items: center;
  1347. margin-bottom: 16rpx;
  1348. }
  1349. .am-item-type {
  1350. font-size: 28rpx;
  1351. font-weight: bold;
  1352. color: #333;
  1353. }
  1354. .am-item-status {
  1355. font-size: 22rpx;
  1356. padding: 4rpx 16rpx;
  1357. border-radius: 20rpx;
  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: 26rpx;
  1373. color: #666;
  1374. line-height: 1.6;
  1375. display: block;
  1376. margin-bottom: 16rpx;
  1377. }
  1378. .am-item-photos {
  1379. display: flex;
  1380. flex-wrap: wrap;
  1381. gap: 12rpx;
  1382. margin-bottom: 20rpx;
  1383. }
  1384. .am-photo {
  1385. width: 130rpx;
  1386. height: 130rpx;
  1387. border-radius: 8rpx;
  1388. }
  1389. .am-audit-box {
  1390. margin-top: 20rpx;
  1391. padding-top: 20rpx;
  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: 8rpx;
  1399. }
  1400. .am-audit-label {
  1401. font-size: 24rpx;
  1402. font-weight: bold;
  1403. color: #333;
  1404. }
  1405. .am-audit-time {
  1406. font-size: 22rpx;
  1407. color: #999;
  1408. }
  1409. .am-audit-remark {
  1410. font-size: 24rpx;
  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: 100rpx 0;
  1419. }
  1420. .empty-icon {
  1421. width: 200rpx;
  1422. height: 200rpx;
  1423. margin-bottom: 20rpx;
  1424. opacity: 0.5;
  1425. }
  1426. .empty-text {
  1427. font-size: 26rpx;
  1428. color: #999;
  1429. }