| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624 |
- /* 页面背景 */
- body {
- background-color: #F8F8F8;
- }
- .detail-container {
- padding-bottom: 6.25rem;
- }
- /* 骨架屏加载动画 */
- .loading-container {
- padding: 0.9375rem;
- }
- .skeleton-header {
- background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
- border-radius: 0.625rem;
- padding: 1.25rem;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 0.625rem;
- }
- .skeleton-progress {
- background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
- border-radius: 0 0 0.625rem 0.625rem;
- margin-top: -1.25rem;
- padding: 0.9375rem 1.25rem 1.25rem;
- display: flex;
- justify-content: space-around;
- margin-bottom: 0.78125rem;
- }
- .skeleton-circle {
- width: 1.25rem;
- height: 1.25rem;
- border-radius: 50%;
- background-color: rgba(255, 255, 255, 0.3);
- }
- .skeleton-card {
- background-color: #fff;
- border-radius: 0.625rem;
- padding: 0.9375rem;
- margin-bottom: 0.78125rem;
- box-shadow: 0 0.15625rem 0.625rem rgba(0, 0, 0, 0.03);
- }
- .skeleton-line {
- border-radius: 0.25rem;
- background-color: #f0f0f0;
- }
- /* 骨架屏闪光动画 */
- .skeleton-ani {
- background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
- background-size: 400% 100%;
- animation: skeleton-loading 1.4s ease infinite;
- }
- .skeleton-header .skeleton-ani {
- 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%);
- background-size: 400% 100%;
- animation: skeleton-loading 1.4s ease infinite;
- }
- .skeleton-progress .skeleton-ani {
- 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%);
- background-size: 400% 100%;
- animation: skeleton-loading 1.4s ease infinite;
- }
- @keyframes skeleton-loading {
- 0% {
- background-position: 100% 50%;
- }
- 100% {
- background-position: 0 50%;
- }
- }
- /* 顶部动态状态区 */
- .detail-header {
- background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
- padding: 1.25rem 1.25rem 1.5625rem 1.25rem;
- color: #fff;
- border-radius: 0.625rem;
- margin: 0.9375rem 0.9375rem 0.78125rem 0.9375rem;
- box-shadow: 0 0.15625rem 0.46875rem rgba(255, 87, 34, 0.2);
- }
- .status-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 1.25rem;
- }
- .status-title {
- font-size: 0.875rem;
- font-weight: bold;
- }
- .status-price {
- font-size: 1.25rem;
- font-weight: bold;
- }
- /* 进度条 */
- .progress-bar {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- padding: 0 0.3125rem;
- }
- /* 默认步骤:未完成,半透明 */
- .step-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- flex: 1;
- position: relative;
- opacity: 0.5;
- }
- /* 已完成步骤:高亮 */
- .step-item.done {
- opacity: 1;
- }
- .step-item.done .step-circle {
- background-color: #fff;
- color: #FF5722;
- font-weight: bold;
- }
- .step-item.done .step-text {
- font-weight: 500;
- }
- /* 当前步骤:最强调 */
- .step-item.active {
- opacity: 1;
- }
- .step-item.active .step-circle {
- background-color: #fff;
- color: #FF5722;
- font-weight: bold;
- width: 1.5rem;
- height: 1.5rem;
- font-size: 0.75rem;
- box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
- }
- .step-item.active .step-text {
- font-weight: bold;
- }
- .step-circle-wrapper {
- position: relative;
- width: 100%;
- display: flex;
- justify-content: center;
- margin-bottom: 0.3125rem;
- }
- /* 默认圆圈:半透明 */
- .step-circle {
- width: 1.25rem;
- height: 1.25rem;
- border-radius: 50%;
- background-color: rgba(255, 255, 255, 0.3);
- color: rgba(255, 255, 255, 0.8);
- font-size: 0.625rem;
- display: flex;
- justify-content: center;
- align-items: center;
- position: relative;
- z-index: 2;
- transition: all 0.2s;
- }
- /* 连接线 */
- .step-line {
- position: absolute;
- top: 50%;
- right: calc(50% + 0.625rem);
- width: calc(100% - 1.25rem);
- height: 0.0625rem;
- background-color: rgba(255, 255, 255, 0.3);
- z-index: 1;
- transform: translateY(-50%);
- }
- .step-line.active-line {
- background-color: #fff;
- height: 0.09375rem;
- }
- .step-text {
- font-size: 0.75rem;
- }
- /* 内容区通用卡片 */
- .detail-content {
- width: 100%;
- box-sizing: border-box;
- padding: 0 0.9375rem;
- position: relative;
- z-index: 10;
- }
- .white-card {
- background-color: #fff;
- border-radius: 0.625rem;
- padding: 0.9375rem;
- margin-bottom: 0.78125rem;
- box-shadow: 0 0.15625rem 0.625rem rgba(0, 0, 0, 0.03);
- }
- /* 宠物信息条 */
- .pet-bar {
- display: flex;
- align-items: center;
- }
- .pb-avatar {
- width: 3.125rem;
- height: 3.125rem;
- border-radius: 50%;
- margin-right: 0.625rem;
- }
- .pb-info {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .pb-name-row {
- margin-bottom: 0.3125rem;
- }
- .pb-name {
- font-size: 1rem;
- font-weight: bold;
- color: #333;
- margin-right: 0.46875rem;
- }
- .pb-breed {
- font-size: 0.8125rem;
- color: #999;
- }
- .pb-tags {
- display: flex;
- }
- .pb-tag {
- background-color: #FFF3E0;
- color: #FF9800;
- font-size: 0.6875rem;
- padding: 0.125rem 0.5rem;
- border-radius: 0.25rem;
- }
- .pb-actions {
- display: flex;
- align-items: center;
- }
- .pb-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .profile-btn {
- border: 0.0625rem solid #FF9800;
- color: #FF9800;
- font-size: 0.75rem;
- padding: 0.25rem 0.625rem;
- border-radius: 0.9375rem;
- margin-right: 0.625rem;
- }
- .phone-btn {
- width: 1.875rem;
- height: 1.875rem;
- border-radius: 50%;
- background-color: #FFF3E0;
- }
- .phone-icon {
- width: 1rem;
- height: 1rem;
- }
- /* 服务及路线信息 */
- .si-row {
- display: flex;
- align-items: flex-start;
- margin-bottom: 0.9375rem;
- }
- .si-row:last-child {
- margin-bottom: 0;
- }
- .si-icon {
- width: 1.125rem;
- height: 1.125rem;
- margin-right: 0.625rem;
- margin-top: 0.125rem;
- }
- .si-icon-uni {
- margin-right: 0.625rem;
- margin-top: 0.125rem;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .si-content {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .si-label {
- font-size: 0.75rem;
- color: #999;
- margin-bottom: 0.1875rem;
- }
- .icon-bg {
- width: 1.375rem;
- height: 1.375rem;
- border-radius: 0.25rem;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-right: 0.625rem;
- margin-top: 0.125rem;
- flex-shrink: 0;
- }
- .icon-bg.grey-bg {
- background-color: #F8F8F8;
- }
- .custom-icon {
- width: 0.875rem;
- height: 0.875rem;
- }
- .custom-icon-file {
- width: 1.125rem;
- height: 1.125rem;
- }
- .si-val {
- font-size: 0.875rem;
- color: #333;
- }
- .record-btn {
- font-size: 0.75rem;
- color: #FF5722;
- display: flex;
- align-items: center;
- }
- .record-arrow {
- width: 0.75rem;
- height: 0.75rem;
- margin-left: 0.1875rem;
- }
- .record-history-row {
- margin-top: 0.9375rem;
- padding-top: 0.78125rem;
- border-top: 1px dashed #f0f0f0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- /* 地址展现复用图标逻辑 */
- .addr-row {
- position: relative;
- align-items: stretch;
- }
- .icon-circle {
- width: 1.25rem;
- height: 1.25rem;
- border-radius: 50%;
- color: #fff;
- font-size: 0.6875rem;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 0.625rem;
- flex-shrink: 0;
- font-weight: bold;
- margin-top: 0.1875rem;
- position: relative;
- z-index: 1;
- }
- .icon-circle.start {
- background-color: #FFB74D;
- }
- .icon-circle.end {
- background-color: #81C784;
- }
- .icon-circle.service {
- background-color: #81C784;
- }
- .route-line-vertical {
- position: absolute;
- left: 0.59375rem;
- top: 1.4375rem;
- bottom: -0.1875rem;
- border-left: 0.0625rem dashed #E0E0E0;
- width: 0;
- z-index: 0;
- }
- .si-addr-title {
- font-size: 0.9375rem;
- font-weight: bold;
- color: #333;
- margin-bottom: 0.1875rem;
- }
- .si-addr-desc {
- font-size: 0.75rem;
- color: #999;
- }
- .nav-btn-circle {
- width: 1.5625rem;
- height: 1.5625rem;
- background-color: #FFF3E0;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 0.1875rem;
- }
- .nav-arrow {
- width: 0.875rem;
- height: 0.875rem;
- }
- /* 打卡任务区 */
- .task-card {
- display: flex;
- flex-direction: column;
- }
- .tc-title {
- font-size: 0.9375rem;
- font-weight: bold;
- color: #333;
- margin-bottom: 0.46875rem;
- }
- .tc-desc {
- font-size: 0.6875rem;
- color: #666;
- margin-bottom: 0.375rem;
- }
- .media-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 0.625rem;
- margin-bottom: 0.625rem;
- }
- .media-item {
- width: 5rem;
- height: 5rem;
- position: relative;
- border-radius: 0.375rem;
- }
- .media-preview {
- width: 100%;
- height: 100%;
- border-radius: 0.375rem;
- }
- .media-del {
- position: absolute;
- top: -0.3125rem;
- right: -0.3125rem;
- width: 1.125rem;
- height: 1.125rem;
- background-color: rgba(0, 0, 0, 0.5);
- color: #fff;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 0.75rem;
- z-index: 2;
- }
- .media-add {
- width: 5rem;
- height: 5rem;
- border: 0.0625rem dashed #ccc;
- border-radius: 0.375rem;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- background-color: #FAFAFA;
- box-sizing: border-box;
- }
- .upload-icon-small {
- width: 1.25rem;
- height: 1.25rem;
- margin-bottom: 0.3125rem;
- }
- .upload-text-small {
- font-size: 0.6875rem;
- color: #999;
- }
- .full-media-add {
- width: 100%;
- height: 4.375rem;
- background-color: #FAFAFA;
- border: 0.0625rem dashed #E0E0E0;
- border-radius: 0.375rem;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin-top: 0.3125rem;
- }
- .upload-icon-large {
- width: 1.5625rem;
- height: 1.5625rem;
- margin-bottom: 0.3125rem;
- opacity: 0.5;
- }
- .upload-text-large {
- font-size: 0.75rem;
- color: #999;
- }
- /* 基础信息区 */
- .bi-row {
- display: flex;
- align-items: flex-start;
- margin-bottom: 0.78125rem;
- }
- .bi-row:last-child {
- margin-bottom: 0;
- }
- .bi-icon {
- width: 1rem;
- height: 1rem;
- margin-right: 0.625rem;
- margin-top: 0.125rem;
- }
- .bi-icon-uni {
- margin-right: 0.625rem;
- margin-top: 0.125rem;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .bi-content {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .bi-label {
- font-size: 0.75rem;
- color: #999;
- margin-bottom: 0.1875rem;
- }
- .bi-val-row {
- display: flex;
- align-items: center;
- }
- .bi-val {
- font-size: 0.875rem;
- color: #333;
- }
- .bi-copy {
- background-color: #F0F0F0;
- color: #666;
- font-size: 0.625rem;
- padding: 0.0625rem 0.3125rem;
- border-radius: 0.1875rem;
- margin-left: 0.46875rem;
- }
- /* 订单进度 */
- .tl-title-row {
- display: flex;
- align-items: center;
- margin-bottom: 0.9375rem;
- }
- .orange-bar {
- width: 0.25rem;
- height: 1rem;
- background-color: #FF9800;
- margin-right: 0.5rem;
- border-radius: 0.125rem;
- }
- .tl-title {
- font-size: 0.9375rem;
- font-weight: bold;
- color: #333;
- }
- .tl-list {
- display: flex;
- flex-direction: column;
- padding-left: 0.3125rem;
- }
- .tl-item {
- display: flex;
- position: relative;
- padding-bottom: 1.25rem;
- }
- .tl-item:last-child {
- padding-bottom: 0;
- }
- .tl-marker {
- width: 0.5rem;
- height: 0.5rem;
- border-radius: 50%;
- background-color: #E0E0E0;
- position: absolute;
- left: 0;
- top: 0.1875rem;
- z-index: 2;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .tl-marker.active {
- background-color: #fff;
- border: 0.09375rem solid #FF9800;
- width: 0.5625rem;
- height: 0.5625rem;
- left: -0.03125rem;
- /* offset for border width */
- }
- .tl-dot-inner {
- width: 0.3125rem;
- height: 0.3125rem;
- border-radius: 50%;
- background-color: #FF9800;
- }
- .tl-item:not(:last-child)::after {
- content: '';
- position: absolute;
- left: 0.21875rem;
- top: 0.75rem;
- bottom: -0.1875rem;
- width: 0.0625rem;
- background-color: #FFE0B2;
- z-index: 1;
- }
- .tl-content-row {
- margin-left: 1.25rem;
- display: flex;
- flex-direction: column;
- width: 100%;
- }
- .tl-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- margin-bottom: 0.3125rem;
- }
- .tl-status {
- font-size: 0.875rem;
- color: #333;
- font-weight: 500;
- }
- .tl-time {
- font-size: 0.75rem;
- color: #999;
- }
- .tl-medias {
- display: flex;
- flex-wrap: wrap;
- gap: 0.46875rem;
- margin-bottom: 0.46875rem;
- }
- .tl-img {
- width: 4.375rem;
- height: 4.375rem;
- border-radius: 0.25rem;
- }
- .tl-remark {
- font-size: 0.75rem;
- color: #666;
- background-color: #F9F9F9;
- padding: 0.46875rem;
- border-radius: 0.25rem;
- line-height: 1.5;
- }
- /* 底部操作栏 */
- .bottom-action-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 3.75rem;
- background-color: #fff;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 0.9375rem;
- box-shadow: 0 -0.15625rem 0.625rem rgba(0, 0, 0, 0.05);
- box-sizing: border-box;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- z-index: 100;
- }
- .action-left,
- .action-right {
- display: flex;
- align-items: center;
- }
- .action-btn {
- height: 2rem;
- line-height: 2rem;
- border-radius: 1rem;
- font-size: 0.8125rem;
- padding: 0 1.09375rem;
- margin: 0;
- }
- .action-left .action-btn:first-child {
- margin-right: 0.625rem;
- }
- .action-btn.grey-outline {
- background-color: #fff;
- color: #666;
- border: 1px solid #E0E0E0;
- }
- .action-btn.orange-outline {
- background-color: #FFF8F0;
- color: #FF9800;
- border: 1px solid #FF9800;
- }
- .action-btn.primary {
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- box-shadow: 0 0.125rem 0.375rem rgba(255, 87, 34, 0.2);
- border: none;
- }
- .action-btn.grey-bg {
- background: #E0E0E0;
- color: #999;
- box-shadow: none;
- border: none;
- }
- .action-btn::after {
- border: none;
- }
- /* 上传图片视频弹窗 */
- .upload-modal-mask {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.4);
- z-index: 999;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .upload-modal-content {
- width: 18.75rem;
- background-color: #ffffff;
- border-radius: 0.625rem;
- padding: 1.25rem;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- }
- .um-header {
- text-align: center;
- margin-bottom: 1.25rem;
- }
- .um-title {
- font-size: 1rem;
- font-weight: bold;
- color: #333;
- }
- .um-remark-hint {
- display: block;
- font-size: 0.6875rem;
- color: #999;
- margin-top: 0.5rem;
- line-height: 1.4;
- }
- .um-grid {
- display: flex;
- flex-wrap: wrap;
- margin-bottom: 0.9375rem;
- }
- .um-item {
- width: 4.0625rem;
- height: 4.0625rem;
- border-radius: 0.25rem;
- margin-right: 0.625rem;
- margin-bottom: 0.625rem;
- position: relative;
- background-color: #f5f5f5;
- overflow: hidden;
- }
- .um-item:nth-child(4n) {
- margin-right: 0;
- }
- .um-preview {
- width: 100%;
- height: 100%;
- }
- .um-del {
- position: absolute;
- top: 0.125rem;
- right: 0.125rem;
- width: 1.125rem;
- height: 1.125rem;
- line-height: 1rem;
- text-align: center;
- background-color: rgba(0, 0, 0, 0.5);
- color: #fff;
- border-radius: 50%;
- font-size: 0.875rem;
- z-index: 10;
- }
- .um-video-badge {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: rgba(0, 0, 0, 0.2);
- z-index: 5;
- }
- .play-icon-small {
- width: 1.5rem;
- height: 1.5rem;
- opacity: 0.9;
- }
- .um-add {
- width: 4.0625rem;
- height: 4.0625rem;
- border-radius: 0.25rem;
- border: 1px dashed #e5e5e5;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- box-sizing: border-box;
- margin-bottom: 0.625rem;
- }
- .um-add-icon {
- width: 1.375rem;
- height: 1.375rem;
- margin-bottom: 0.3125rem;
- opacity: 0.4;
- }
- .um-add-text {
- font-size: 0.75rem;
- color: #ccc;
- }
- .um-textarea {
- width: 100%;
- height: 5rem;
- background-color: #ffffff;
- border-radius: 0.375rem;
- padding: 0.75rem;
- font-size: 0.875rem;
- color: #333;
- box-sizing: border-box;
- border: 1px solid #f0f0f0;
- }
- .um-footer {
- margin-top: 1.25rem;
- display: flex;
- justify-content: center;
- }
- .um-submit-btn {
- width: 100%;
- height: 2.75rem;
- line-height: 2.75rem;
- border-radius: 1.375rem;
- font-size: 1rem;
- background-color: #E0E0E0;
- color: #fff;
- border: none;
- text-align: center;
- }
- .um-submit-btn.active {
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- box-shadow: 0 0.125rem 0.3125rem rgba(255, 87, 34, 0.3);
- }
- .um-submit-btn::after {
- border: none;
- }
- /* 宠物档案弹窗 */
- .pet-modal-mask {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 999;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .pet-modal-content {
- width: 21.25rem;
- max-height: 85vh;
- background-color: #fff;
- border-radius: 0.625rem;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
- }
- .pet-modal-header {
- display: flex;
- align-items: center;
- padding: 0.875rem 0.9375rem 0.625rem;
- border-bottom: 1px solid #f5f5f5;
- flex-shrink: 0;
- }
- .pet-modal-title {
- font-size: 1rem;
- font-weight: bold;
- color: #333;
- }
- .close-icon-btn {
- width: 1.625rem;
- height: 1.625rem;
- line-height: 1.625rem;
- text-align: center;
- font-size: 1.125rem;
- color: #999;
- border-radius: 50%;
- background-color: #f5f5f5;
- flex-shrink: 0;
- }
- .pm-remark-btn {
- height: 1.625rem;
- line-height: 1.625rem;
- padding: 0 0.75rem;
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- font-size: 0.8125rem;
- border-radius: 0.8125rem;
- margin-right: 0.5rem;
- font-weight: bold;
- flex-shrink: 0;
- }
- .pet-modal-scroll {
- flex: 1;
- height: 65vh;
- overflow: auto;
- }
- .pet-base-info {
- display: flex;
- align-items: center;
- padding: 0.75rem 0.9375rem;
- border-bottom: 1px solid #f9f9f9;
- }
- .pm-avatar {
- width: 3.125rem;
- height: 3.125rem;
- border-radius: 50%;
- margin-right: 0.625rem;
- flex-shrink: 0;
- }
- .pm-info-text {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .pm-name-row {
- display: flex;
- align-items: center;
- margin-bottom: 0.25rem;
- }
- .pm-name {
- font-size: 1rem;
- font-weight: bold;
- color: #333;
- margin-right: 0.375rem;
- }
- .pm-gender {
- display: flex;
- align-items: center;
- background-color: #E3F2FD;
- color: #1976D2;
- font-size: 0.6875rem;
- padding: 0.0625rem 0.3125rem;
- border-radius: 0.3125rem;
- }
- .pm-gender.female {
- background-color: #FCE4EC;
- color: #C2185B;
- }
- .gender-icon {
- font-size: 0.6875rem;
- margin-right: 0.125rem;
- }
- .pm-breed {
- font-size: 0.8125rem;
- color: #999;
- }
- .pm-detail-grid {
- padding: 0.625rem 0.9375rem;
- display: flex;
- flex-wrap: wrap;
- gap: 0.5rem;
- border-bottom: 1px solid #f9f9f9;
- }
- .pm-grid-item {
- background-color: #FAFAFA;
- border-radius: 0.375rem;
- padding: 0.5rem 0.625rem;
- display: flex;
- flex-direction: column;
- }
- .pm-grid-item.half {
- width: calc(50% - 0.25rem);
- }
- .pm-grid-item.full {
- width: 100%;
- }
- .pm-label {
- font-size: 0.75rem;
- color: #999;
- margin-bottom: 0.25rem;
- }
- .pm-val {
- font-size: 0.875rem;
- color: #333;
- line-height: 1.5;
- }
- .pm-tags-row {
- display: flex;
- flex-wrap: wrap;
- padding: 0.5rem 0.9375rem;
- gap: 0.5rem;
- border-bottom: 1px solid #f9f9f9;
- }
- .pm-tag-chip {
- background-color: #FFF3E0;
- border: 1px solid #FFB74D;
- border-radius: 0.625rem;
- padding: 0.1875rem 0.625rem;
- }
- .pm-tag-chip-text {
- font-size: 0.75rem;
- color: #FF9800;
- }
- .pm-log-section {
- padding: 0.625rem 0.9375rem;
- }
- .pm-log-header {
- display: flex;
- align-items: center;
- margin-bottom: 0.625rem;
- }
- .pm-log-section-title {
- font-size: 0.875rem;
- font-weight: bold;
- color: #333;
- }
- .pm-log-item {
- padding: 0.5625rem 0;
- border-bottom: 0.03125rem solid #f5f5f5;
- display: flex;
- flex-direction: column;
- }
- .pm-log-date {
- font-size: 0.75rem;
- color: #999;
- margin-bottom: 0.25rem;
- }
- .pm-log-text {
- font-size: 0.875rem;
- color: #333;
- line-height: 1.6;
- margin-bottom: 0.1875rem;
- }
- .pm-log-recorder {
- font-size: 0.6875rem;
- color: #FF9800;
- text-align: right;
- }
- .pm-log-recorder.system {
- color: #999;
- }
- .pm-bottom-close {
- margin: 0.5rem 0.9375rem;
- height: 2.25rem;
- line-height: 2.25rem;
- border-radius: 1.125rem;
- font-size: 0.875rem;
- background-color: #f5f5f5;
- color: #666;
- border: none;
- }
- .pm-bottom-close::after {
- border: none;
- }
- /* 宠护小结底部弹窗 */
- .sum-modal-mask {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.50);
- z-index: 999;
- display: flex;
- align-items: flex-end;
- }
- .sum-modal-sheet {
- width: 100%;
- max-height: 90vh;
- background-color: #fff;
- border-radius: 0.75rem 0.75rem 0 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .sum-modal-scroll {
- flex: 1;
- overflow: hidden;
- }
- .sum-modal-inner {
- padding: 1rem 1.125rem 0;
- }
- .sum-modal-title {
- display: block;
- font-size: 1.0625rem;
- font-weight: bold;
- color: #333;
- text-align: center;
- margin-bottom: 0.9375rem;
- }
- .sum-meta-row {
- display: flex;
- margin-bottom: 0.5rem;
- align-items: flex-start;
- }
- .sum-meta-label {
- font-size: 0.8125rem;
- color: #999;
- flex-shrink: 0;
- width: 4.375rem;
- }
- .sum-meta-val {
- font-size: 0.75rem;
- color: #333;
- flex: 1;
- }
- .sum-section-title {
- font-size: 0.8125rem;
- font-weight: bold;
- color: #333;
- padding-left: 0.375rem;
- border-left: 0.1875rem solid #FF9800;
- margin-top: 0.75rem;
- margin-bottom: 0.5rem;
- }
- .sum-pet-card {
- background-color: #FAFAFA;
- border-radius: 0.375rem;
- padding: 0.625rem;
- display: flex;
- align-items: center;
- }
- .sum-pet-avatar {
- width: 2.5rem;
- height: 2.5rem;
- border-radius: 50%;
- margin-right: 0.625rem;
- flex-shrink: 0;
- }
- .sum-pet-info {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .sum-pet-name-row {
- display: flex;
- align-items: center;
- margin-bottom: 0.25rem;
- }
- .sum-pet-name {
- font-size: 0.8125rem;
- font-weight: bold;
- color: #333;
- margin-right: 0.375rem;
- }
- .sum-pet-breed {
- font-size: 0.75rem;
- color: #999;
- }
- .sum-pet-remark {
- font-size: 0.75rem;
- color: #666;
- line-height: 1.5;
- }
- .sum-textarea {
- width: 100%;
- min-height: 6.875rem;
- background-color: #fff;
- border: 1px solid #eeeeee;
- border-radius: 0.375rem;
- padding: 0.5625rem;
- font-size: 0.8125rem;
- color: #333;
- box-sizing: border-box;
- line-height: 1.8;
- }
- .sum-sign-row {
- display: flex;
- align-items: center;
- margin-top: 0.9375rem;
- padding: 0.5rem 0;
- border-top: 1px solid #f5f5f5;
- }
- .sum-sign-label {
- font-size: 0.8125rem;
- color: #999;
- margin-right: 0.3125rem;
- }
- .sum-sign-val {
- font-size: 0.8125rem;
- color: #333;
- }
- .sum-footer {
- padding: 0.625rem 1.125rem 1.125rem;
- padding-bottom: max(1.125rem, constant(safe-area-inset-bottom));
- padding-bottom: max(1.125rem, env(safe-area-inset-bottom));
- background-color: #fff;
- }
- .sum-submit-btn {
- width: 100%;
- height: 2.625rem;
- line-height: 2.625rem;
- border-radius: 1.3125rem;
- font-size: 0.9375rem;
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- border: none;
- box-shadow: 0 0.125rem 0.5rem rgba(255, 87, 34, 0.25);
- }
- .sum-submit-btn::after {
- border: none;
- }
- /* 宠护小结 - 居中白卡样式 */
- .sum-modal-mask {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 999;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .sum-modal-card {
- width: 20.625rem;
- max-height: 80vh;
- background-color: #fff;
- border-radius: 0.625rem;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
- }
- .sum-modal-scroll {
- flex: 1;
- overflow: hidden;
- }
- /* 宠物档案 - 备注按钮 */
- .pet-modal-header {
- display: flex;
- align-items: center;
- padding: 0.9375rem 0.9375rem 0.625rem;
- border-bottom: 1px solid #f5f5f5;
- }
- .pm-remark-btn {
- height: 1.625rem;
- line-height: 1.625rem;
- padding: 0 0.75rem;
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- font-size: 0.8125rem;
- border-radius: 0.8125rem;
- margin-right: 0.5rem;
- font-weight: bold;
- }
- /* 标签芯片 */
- .pm-tags-row {
- display: flex;
- flex-wrap: wrap;
- padding: 0 0.75rem 0.625rem;
- gap: 0.5rem;
- }
- .pm-tag-chip {
- background-color: #FFF3E0;
- border: 1px solid #FFB74D;
- border-radius: 0.625rem;
- padding: 0.1875rem 0.625rem;
- }
- .pm-tag-chip-text {
- font-size: 0.75rem;
- color: #FF9800;
- }
- /* 备注日志 */
- .pm-log-section {
- padding: 0.625rem 0.75rem;
- border-top: 1px solid #f5f5f5;
- margin-top: 0.3125rem;
- }
- .pm-log-header {
- display: flex;
- align-items: center;
- margin-bottom: 0.625rem;
- }
- .pm-log-section-title {
- font-size: 0.875rem;
- font-weight: bold;
- color: #333;
- }
- .pm-log-item {
- padding: 0.5rem 0;
- border-bottom: 1px solid #f9f9f9;
- display: flex;
- flex-direction: column;
- }
- .pm-log-date {
- font-size: 0.75rem;
- color: #999;
- margin-bottom: 0.25rem;
- }
- .pm-log-text {
- font-size: 0.875rem;
- color: #333;
- line-height: 1.6;
- margin-bottom: 0.1875rem;
- }
- .pm-log-recorder {
- font-size: 0.6875rem;
- color: #FF9800;
- text-align: right;
- }
- .pm-log-recorder.system {
- color: #999;
- }
- /* 弹窗遮罩 */
- .modal-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.5);
- z-index: 999;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- /* 异常记录弹窗 */
- .anomaly-modal-content {
- width: 20.3125rem;
- background-color: #fff;
- border-radius: 0.625rem;
- padding: 0.9375rem;
- position: relative;
- max-height: 80vh;
- display: flex;
- flex-direction: column;
- }
- .am-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 0.9375rem;
- padding-bottom: 0.625rem;
- border-bottom: 1px solid #f5f5f5;
- }
- .am-title {
- font-size: 1rem;
- font-weight: bold;
- color: #333;
- }
- .am-scroll-list {
- flex: 1;
- }
- .am-item {
- padding: 0.75rem;
- background-color: #F9FAFB;
- border-radius: 0.375rem;
- margin-bottom: 0.75rem;
- }
- .am-item-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 0.5rem;
- }
- .am-item-type {
- font-size: 0.875rem;
- font-weight: bold;
- color: #333;
- }
- .am-item-status {
- font-size: 0.6875rem;
- padding: 0.125rem 0.5rem;
- border-radius: 0.625rem;
- }
- .am-item-status.status-0 {
- background-color: #FFF3E0;
- color: #FF9800;
- }
- .am-item-status.status-1 {
- background-color: #E8F5E9;
- color: #4CAF50;
- }
- .am-item-status.status-2 {
- background-color: #FFEBEE;
- color: #F44336;
- }
- .am-item-content {
- font-size: 0.8125rem;
- color: #666;
- line-height: 1.6;
- display: block;
- margin-bottom: 0.5rem;
- }
- .am-item-photos {
- display: flex;
- flex-wrap: wrap;
- gap: 0.375rem;
- margin-bottom: 0.625rem;
- }
- .am-photo {
- width: 4.0625rem;
- height: 4.0625rem;
- border-radius: 0.25rem;
- }
- .am-audit-box {
- margin-top: 0.625rem;
- padding-top: 0.625rem;
- border-top: 1px dashed #E0E0E0;
- }
- .am-audit-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 0.25rem;
- }
- .am-audit-label {
- font-size: 0.75rem;
- font-weight: bold;
- color: #333;
- }
- .am-audit-time {
- font-size: 0.6875rem;
- color: #999;
- }
- .am-audit-remark {
- font-size: 0.75rem;
- color: #666;
- line-height: 1.5;
- }
- .empty-list {
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 3.125rem 0;
- }
- .empty-icon {
- width: 6.25rem;
- height: 6.25rem;
- margin-bottom: 0.625rem;
- opacity: 0.5;
- }
- .empty-text {
- font-size: 0.8125rem;
- color: #999;
- }
- /* 媒体项容器 */
- .tl-media-item {
- position: relative;
- width: 4.375rem;
- height: 4.375rem;
- }
- /* 视频占位样式(不取第一帧,直接用图标) */
- .tl-video-placeholder {
- width: 100%;
- height: 100%;
- background: linear-gradient(135deg, #444 0%, #222 100%);
- border-radius: 0.25rem;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .tl-video-placeholder.miniaturized {
- border-radius: 0.25rem;
- overflow: hidden;
- }
- .tl-video-label {
- color: #fff;
- font-size: 0.625rem;
- margin-top: 1.5625rem;
- opacity: 0.8;
- }
- .tl-video-label.small {
- margin-top: 1.09375rem;
- font-size: 0.5625rem;
- }
- .tl-play-icon {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 1.875rem;
- height: 1.875rem;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: rgba(255, 255, 255, 0.2);
- border: 0.0625rem solid #fff;
- border-radius: 50%;
- }
- .tl-play-icon::after {
- content: '';
- display: block;
- width: 0;
- height: 0;
- border-top: 0.46875rem solid transparent;
- border-bottom: 0.46875rem solid transparent;
- border-left: 0.625rem solid #fff;
- margin-left: 0.1875rem;
- }
- .tl-play-icon.small {
- width: 1.25rem;
- height: 1.25rem;
- }
- .tl-play-icon.small::after {
- border-top: 0.3125rem solid transparent;
- border-bottom: 0.3125rem solid transparent;
- border-left: 0.4375rem solid #fff;
- margin-left: 0.125rem;
- }
- /* 视频播放弹窗 */
- .video-player-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.9);
- z-index: 999;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .video-player-content {
- position: relative;
- width: 100%;
- height: 18.75rem;
- }
- .v-player {
- width: 100%;
- height: 100%;
- }
- .v-close {
- position: absolute;
- top: -2.5rem;
- right: 1.25rem;
- width: 1.875rem;
- height: 1.875rem;
- background-color: rgba(255, 255, 255, 0.2);
- color: #fff;
- border-radius: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 1.25rem;
- }
- /* 异常列表媒体样式 */
- .am-photo-item {
- position: relative;
- width: 4.6875rem;
- height: 4.6875rem;
- border-radius: 0.25rem;
- overflow: hidden;
- }
- .am-photo {
- width: 4.6875rem;
- height: 4.6875rem;
- border-radius: 0.25rem;
- }
- .am-video-poster.miniaturized {
- width: 100%;
- height: 100%;
- position: relative;
- }
- .tl-play-icon.small {
- width: 1.25rem;
- height: 1.25rem;
- }
- .tl-play-icon.small::after {
- border-top: 0.3125rem solid transparent;
- border-bottom: 0.3125rem solid transparent;
- border-left: 0.4375rem solid #fff;
- margin-left: 0.125rem;
- }
- /* 导航选择弹窗 */
- .nav-modal-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.6);
- z-index: 1000;
- display: flex;
- align-items: flex-end;
- }
- .nav-action-sheet {
- width: 100%;
- background-color: #fff;
- border-radius: 0.9375rem 0.9375rem 0 0;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- overflow: hidden;
- }
- .nav-sheet-title {
- display: block;
- text-align: center;
- font-size: 0.8125rem;
- color: #999;
- padding: 0.9375rem 0;
- border-bottom: 1px solid #f5f5f5;
- }
- .nav-sheet-item {
- display: block;
- text-align: center;
- font-size: 1rem;
- color: #333;
- padding: 1.09375rem 0;
- border-bottom: 1px solid #f5f5f5;
- background-color: #fff;
- }
- .nav-sheet-item:active {
- background-color: #f9f9f9;
- }
- .nav-sheet-item.cancel {
- color: #999;
- }
- .nav-sheet-gap {
- height: 0.375rem;
- background-color: #f5f5f5;
- }
|