| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884 |
- /* 页面背景 */
- page {
- background-color: #F8F8F8;
- }
- .detail-container {
- padding-bottom: 200rpx;
- }
- /* 骨架屏加载动画 */
- .loading-container {
- padding: 30rpx;
- }
- .skeleton-header {
- background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
- border-radius: 20rpx;
- padding: 40rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .skeleton-progress {
- background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
- border-radius: 0 0 20rpx 20rpx;
- margin-top: -40rpx;
- padding: 30rpx 40rpx 40rpx;
- display: flex;
- justify-content: space-around;
- margin-bottom: 25rpx;
- }
- .skeleton-circle {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background-color: rgba(255, 255, 255, 0.3);
- }
- .skeleton-card {
- background-color: #fff;
- border-radius: 20rpx;
- padding: 30rpx;
- margin-bottom: 25rpx;
- box-shadow: 0 5rpx 20rpx rgba(0, 0, 0, 0.03);
- }
- .skeleton-line {
- border-radius: 8rpx;
- 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: 40rpx 40rpx 50rpx 40rpx;
- color: #fff;
- border-radius: 20rpx;
- margin: 30rpx 30rpx 25rpx 30rpx;
- box-shadow: 0 5rpx 15rpx rgba(255, 87, 34, 0.2);
- }
- .status-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 40rpx;
- }
- .status-title {
- font-size: 28rpx;
- font-weight: bold;
- }
- .status-price {
- font-size: 40rpx;
- font-weight: bold;
- }
- /* 进度条 */
- .progress-bar {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- padding: 0 10rpx;
- }
- /* 默认步骤:未完成,半透明 */
- .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: 48rpx;
- height: 48rpx;
- font-size: 24rpx;
- box-shadow: 0 4rpx 16rpx 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: 10rpx;
- }
- /* 默认圆圈:半透明 */
- .step-circle {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background-color: rgba(255, 255, 255, 0.3);
- color: rgba(255, 255, 255, 0.8);
- font-size: 20rpx;
- 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% + 20rpx);
- width: calc(100% - 40rpx);
- height: 2rpx;
- background-color: rgba(255, 255, 255, 0.3);
- z-index: 1;
- transform: translateY(-50%);
- }
- .step-line.active-line {
- background-color: #fff;
- height: 3rpx;
- }
- .step-text {
- font-size: 24rpx;
- }
- /* 内容区通用卡片 */
- .detail-content {
- width: 100%;
- box-sizing: border-box;
- padding: 0 30rpx;
- position: relative;
- z-index: 10;
- }
- .white-card {
- background-color: #fff;
- border-radius: 20rpx;
- padding: 30rpx;
- margin-bottom: 25rpx;
- box-shadow: 0 5rpx 20rpx rgba(0, 0, 0, 0.03);
- }
- /* 宠物信息条 */
- .pet-bar {
- display: flex;
- align-items: center;
- }
- .pb-avatar {
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- margin-right: 20rpx;
- }
- .pb-info {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .pb-name-row {
- margin-bottom: 10rpx;
- }
- .pb-name {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- margin-right: 15rpx;
- }
- .pb-breed {
- font-size: 26rpx;
- color: #999;
- }
- .pb-tags {
- display: flex;
- }
- .pb-tag {
- background-color: #FFF3E0;
- color: #FF9800;
- font-size: 22rpx;
- padding: 4rpx 16rpx;
- border-radius: 8rpx;
- }
- .pb-actions {
- display: flex;
- align-items: center;
- }
- .pb-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .profile-btn {
- border: 2rpx solid #FF9800;
- color: #FF9800;
- font-size: 24rpx;
- padding: 8rpx 20rpx;
- border-radius: 30rpx;
- margin-right: 20rpx;
- }
- .phone-btn {
- width: 60rpx;
- height: 60rpx;
- border-radius: 50%;
- background-color: #FFF3E0;
- }
- .phone-icon {
- width: 32rpx;
- height: 32rpx;
- }
- /* 服务及路线信息 */
- .si-row {
- display: flex;
- align-items: flex-start;
- margin-bottom: 30rpx;
- }
- .si-row:last-child {
- margin-bottom: 0;
- }
- .si-icon {
- width: 36rpx;
- height: 36rpx;
- margin-right: 20rpx;
- margin-top: 4rpx;
- }
- .si-icon-uni {
- margin-right: 20rpx;
- margin-top: 4rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .si-content {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .si-label {
- font-size: 24rpx;
- color: #999;
- margin-bottom: 6rpx;
- }
- .icon-bg {
- width: 44rpx;
- height: 44rpx;
- border-radius: 8rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-right: 20rpx;
- margin-top: 4rpx;
- flex-shrink: 0;
- }
- .icon-bg.grey-bg {
- background-color: #F8F8F8;
- }
- .custom-icon {
- width: 28rpx;
- height: 28rpx;
- }
- .custom-icon-file {
- width: 36rpx;
- height: 36rpx;
- }
- .si-val {
- font-size: 28rpx;
- color: #333;
- }
- .record-btn {
- font-size: 24rpx;
- color: #FF5722;
- display: flex;
- align-items: center;
- }
- .record-arrow {
- width: 24rpx;
- height: 24rpx;
- margin-left: 6rpx;
- }
- .record-history-row {
- margin-top: 30rpx;
- padding-top: 25rpx;
- border-top: 1px dashed #f0f0f0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- /* 地址展现复用图标逻辑 */
- .addr-row {
- position: relative;
- align-items: stretch;
- }
- .icon-circle {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- color: #fff;
- font-size: 22rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 20rpx;
- flex-shrink: 0;
- font-weight: bold;
- margin-top: 6rpx;
- 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: 19rpx;
- top: 46rpx;
- bottom: -6rpx;
- border-left: 2rpx dashed #E0E0E0;
- width: 0;
- z-index: 0;
- }
- .si-addr-title {
- font-size: 30rpx;
- font-weight: bold;
- color: #333;
- margin-bottom: 6rpx;
- }
- .si-addr-desc {
- font-size: 24rpx;
- color: #999;
- }
- .nav-btn-circle {
- width: 50rpx;
- height: 50rpx;
- background-color: #FFF3E0;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-top: 6rpx;
- }
- .nav-arrow {
- width: 28rpx;
- height: 28rpx;
- }
- /* 打卡任务区 */
- .task-card {
- display: flex;
- flex-direction: column;
- }
- .tc-title {
- font-size: 30rpx;
- font-weight: bold;
- color: #333;
- margin-bottom: 15rpx;
- }
- .tc-desc {
- font-size: 22rpx;
- color: #666;
- margin-bottom: 12rpx;
- }
- .media-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 20rpx;
- margin-bottom: 20rpx;
- }
- .media-item {
- width: 160rpx;
- height: 160rpx;
- position: relative;
- border-radius: 12rpx;
- }
- .media-preview {
- width: 100%;
- height: 100%;
- border-radius: 12rpx;
- }
- .media-del {
- position: absolute;
- top: -10rpx;
- right: -10rpx;
- width: 36rpx;
- height: 36rpx;
- background-color: rgba(0, 0, 0, 0.5);
- color: #fff;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 24rpx;
- z-index: 2;
- }
- .media-add {
- width: 160rpx;
- height: 160rpx;
- border: 2rpx dashed #ccc;
- border-radius: 12rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- background-color: #FAFAFA;
- box-sizing: border-box;
- }
- .upload-icon-small {
- width: 40rpx;
- height: 40rpx;
- margin-bottom: 10rpx;
- }
- .upload-text-small {
- font-size: 22rpx;
- color: #999;
- }
- .full-media-add {
- width: 100%;
- height: 140rpx;
- background-color: #FAFAFA;
- border: 2rpx dashed #E0E0E0;
- border-radius: 12rpx;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- margin-top: 10rpx;
- }
- .upload-icon-large {
- width: 50rpx;
- height: 50rpx;
- margin-bottom: 10rpx;
- opacity: 0.5;
- }
- .upload-text-large {
- font-size: 24rpx;
- color: #999;
- }
- /* 基础信息区 */
- .bi-row {
- display: flex;
- align-items: flex-start;
- margin-bottom: 25rpx;
- }
- .bi-row:last-child {
- margin-bottom: 0;
- }
- .bi-icon {
- width: 32rpx;
- height: 32rpx;
- margin-right: 20rpx;
- margin-top: 4rpx;
- }
- .bi-icon-uni {
- margin-right: 20rpx;
- margin-top: 4rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .bi-content {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .bi-label {
- font-size: 24rpx;
- color: #999;
- margin-bottom: 6rpx;
- }
- .bi-val-row {
- display: flex;
- align-items: center;
- }
- .bi-val {
- font-size: 28rpx;
- color: #333;
- }
- .bi-copy {
- background-color: #F0F0F0;
- color: #666;
- font-size: 20rpx;
- padding: 2rpx 10rpx;
- border-radius: 6rpx;
- margin-left: 15rpx;
- }
- /* 订单进度 */
- .tl-title-row {
- display: flex;
- align-items: center;
- margin-bottom: 30rpx;
- }
- .orange-bar {
- width: 8rpx;
- height: 32rpx;
- background-color: #FF9800;
- margin-right: 16rpx;
- border-radius: 4rpx;
- }
- .tl-title {
- font-size: 30rpx;
- font-weight: bold;
- color: #333;
- }
- .tl-list {
- display: flex;
- flex-direction: column;
- padding-left: 10rpx;
- }
- .tl-item {
- display: flex;
- position: relative;
- padding-bottom: 40rpx;
- }
- .tl-item:last-child {
- padding-bottom: 0;
- }
- .tl-marker {
- width: 16rpx;
- height: 16rpx;
- border-radius: 50%;
- background-color: #E0E0E0;
- position: absolute;
- left: 0;
- top: 6rpx;
- z-index: 2;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .tl-marker.active {
- background-color: #fff;
- border: 3rpx solid #FF9800;
- width: 18rpx;
- height: 18rpx;
- left: -1rpx;
- /* offset for border width */
- }
- .tl-dot-inner {
- width: 10rpx;
- height: 10rpx;
- border-radius: 50%;
- background-color: #FF9800;
- }
- .tl-item:not(:last-child)::after {
- content: '';
- position: absolute;
- left: 7rpx;
- top: 24rpx;
- bottom: -6rpx;
- width: 2rpx;
- background-color: #FFE0B2;
- z-index: 1;
- }
- .tl-content-row {
- margin-left: 40rpx;
- display: flex;
- flex-direction: column;
- width: 100%;
- }
- .tl-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- margin-bottom: 10rpx;
- }
- .tl-status {
- font-size: 28rpx;
- color: #333;
- font-weight: 500;
- }
- .tl-time {
- font-size: 24rpx;
- color: #999;
- }
- .tl-medias {
- display: flex;
- flex-wrap: wrap;
- gap: 15rpx;
- margin-bottom: 15rpx;
- }
- .tl-img {
- width: 140rpx;
- height: 140rpx;
- border-radius: 8rpx;
- }
- .tl-remark {
- font-size: 24rpx;
- color: #666;
- background-color: #F9F9F9;
- padding: 15rpx;
- border-radius: 8rpx;
- line-height: 1.5;
- }
- /* 底部操作栏 */
- .bottom-action-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 120rpx;
- background-color: #fff;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 30rpx;
- box-shadow: 0 -5rpx 20rpx 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: 64rpx;
- line-height: 64rpx;
- border-radius: 32rpx;
- font-size: 26rpx;
- padding: 0 35rpx;
- margin: 0;
- }
- .action-left .action-btn:first-child {
- margin-right: 20rpx;
- }
- .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 4rpx 12rpx 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: 600rpx;
- background-color: #ffffff;
- border-radius: 20rpx;
- padding: 40rpx;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- }
- .um-header {
- text-align: center;
- margin-bottom: 40rpx;
- }
- .um-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .um-remark-hint {
- display: block;
- font-size: 22rpx;
- color: #999;
- margin-top: 16rpx;
- line-height: 1.4;
- }
- .um-grid {
- display: flex;
- flex-wrap: wrap;
- margin-bottom: 30rpx;
- }
- .um-item {
- width: 130rpx;
- height: 130rpx;
- border-radius: 8rpx;
- margin-right: 20rpx;
- margin-bottom: 20rpx;
- 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: 4rpx;
- right: 4rpx;
- width: 36rpx;
- height: 36rpx;
- line-height: 32rpx;
- text-align: center;
- background-color: rgba(0, 0, 0, 0.5);
- color: #fff;
- border-radius: 50%;
- font-size: 28rpx;
- 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: 48rpx;
- height: 48rpx;
- opacity: 0.9;
- }
- .um-add {
- width: 130rpx;
- height: 130rpx;
- border-radius: 8rpx;
- border: 1px dashed #e5e5e5;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- box-sizing: border-box;
- margin-bottom: 20rpx;
- }
- .um-add-icon {
- width: 44rpx;
- height: 44rpx;
- margin-bottom: 10rpx;
- opacity: 0.4;
- }
- .um-add-text {
- font-size: 24rpx;
- color: #ccc;
- }
- .um-textarea {
- width: 100%;
- height: 160rpx;
- background-color: #ffffff;
- border-radius: 12rpx;
- padding: 24rpx;
- font-size: 28rpx;
- color: #333;
- box-sizing: border-box;
- border: 1px solid #f0f0f0;
- }
- .um-footer {
- margin-top: 40rpx;
- display: flex;
- justify-content: center;
- }
- .um-submit-btn {
- width: 100%;
- height: 88rpx;
- line-height: 88rpx;
- border-radius: 44rpx;
- font-size: 32rpx;
- 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 4rpx 10rpx 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: 680rpx;
- max-height: 85vh;
- background-color: #fff;
- border-radius: 20rpx;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.15);
- }
- .pet-modal-header {
- display: flex;
- align-items: center;
- padding: 28rpx 30rpx 20rpx;
- border-bottom: 1px solid #f5f5f5;
- flex-shrink: 0;
- }
- .pet-modal-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .close-icon-btn {
- width: 52rpx;
- height: 52rpx;
- line-height: 52rpx;
- text-align: center;
- font-size: 36rpx;
- color: #999;
- border-radius: 50%;
- background-color: #f5f5f5;
- flex-shrink: 0;
- }
- .pm-remark-btn {
- height: 52rpx;
- line-height: 52rpx;
- padding: 0 24rpx;
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- font-size: 26rpx;
- border-radius: 26rpx;
- margin-right: 16rpx;
- font-weight: bold;
- flex-shrink: 0;
- }
- .pet-modal-scroll {
- flex: 1;
- height: 65vh;
- overflow: auto;
- }
- .pet-base-info {
- display: flex;
- align-items: center;
- padding: 24rpx 30rpx;
- border-bottom: 1px solid #f9f9f9;
- }
- .pm-avatar {
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- margin-right: 20rpx;
- flex-shrink: 0;
- }
- .pm-info-text {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .pm-name-row {
- display: flex;
- align-items: center;
- margin-bottom: 8rpx;
- }
- .pm-name {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- margin-right: 12rpx;
- }
- .pm-gender {
- display: flex;
- align-items: center;
- background-color: #E3F2FD;
- color: #1976D2;
- font-size: 22rpx;
- padding: 2rpx 10rpx;
- border-radius: 10rpx;
- }
- .pm-gender.female {
- background-color: #FCE4EC;
- color: #C2185B;
- }
- .gender-icon {
- font-size: 22rpx;
- margin-right: 4rpx;
- }
- .pm-breed {
- font-size: 26rpx;
- color: #999;
- }
- .pm-detail-grid {
- padding: 20rpx 30rpx;
- display: flex;
- flex-wrap: wrap;
- gap: 16rpx;
- border-bottom: 1px solid #f9f9f9;
- }
- .pm-grid-item {
- background-color: #FAFAFA;
- border-radius: 12rpx;
- padding: 16rpx 20rpx;
- display: flex;
- flex-direction: column;
- }
- .pm-grid-item.half {
- width: calc(50% - 8rpx);
- }
- .pm-grid-item.full {
- width: 100%;
- }
- .pm-label {
- font-size: 24rpx;
- color: #999;
- margin-bottom: 8rpx;
- }
- .pm-val {
- font-size: 28rpx;
- color: #333;
- line-height: 1.5;
- }
- .pm-tags-row {
- display: flex;
- flex-wrap: wrap;
- padding: 16rpx 30rpx;
- gap: 16rpx;
- border-bottom: 1px solid #f9f9f9;
- }
- .pm-tag-chip {
- background-color: #FFF3E0;
- border: 1px solid #FFB74D;
- border-radius: 20rpx;
- padding: 6rpx 20rpx;
- }
- .pm-tag-chip-text {
- font-size: 24rpx;
- color: #FF9800;
- }
- .pm-log-section {
- padding: 20rpx 30rpx;
- }
- .pm-log-header {
- display: flex;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .pm-log-section-title {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- }
- .pm-log-item {
- padding: 18rpx 0;
- border-bottom: 1rpx solid #f5f5f5;
- display: flex;
- flex-direction: column;
- }
- .pm-log-date {
- font-size: 24rpx;
- color: #999;
- margin-bottom: 8rpx;
- }
- .pm-log-text {
- font-size: 28rpx;
- color: #333;
- line-height: 1.6;
- margin-bottom: 6rpx;
- }
- .pm-log-recorder {
- font-size: 22rpx;
- color: #FF9800;
- text-align: right;
- }
- .pm-log-recorder.system {
- color: #999;
- }
- .pm-bottom-close {
- margin: 16rpx 30rpx;
- height: 72rpx;
- line-height: 72rpx;
- border-radius: 36rpx;
- font-size: 28rpx;
- 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: 24rpx 24rpx 0 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .sum-modal-scroll {
- flex: 1;
- overflow: hidden;
- }
- .sum-modal-inner {
- padding: 32rpx 36rpx 0;
- }
- .sum-modal-title {
- display: block;
- font-size: 34rpx;
- font-weight: bold;
- color: #333;
- text-align: center;
- margin-bottom: 30rpx;
- }
- .sum-meta-row {
- display: flex;
- margin-bottom: 16rpx;
- align-items: flex-start;
- }
- .sum-meta-label {
- font-size: 26rpx;
- color: #999;
- flex-shrink: 0;
- width: 140rpx;
- }
- .sum-meta-val {
- font-size: 24rpx;
- color: #333;
- flex: 1;
- }
- .sum-section-title {
- font-size: 26rpx;
- font-weight: bold;
- color: #333;
- padding-left: 12rpx;
- border-left: 6rpx solid #FF9800;
- margin-top: 24rpx;
- margin-bottom: 16rpx;
- }
- .sum-pet-card {
- background-color: #FAFAFA;
- border-radius: 12rpx;
- padding: 20rpx;
- display: flex;
- align-items: center;
- }
- .sum-pet-avatar {
- width: 80rpx;
- height: 80rpx;
- border-radius: 50%;
- margin-right: 20rpx;
- flex-shrink: 0;
- }
- .sum-pet-info {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .sum-pet-name-row {
- display: flex;
- align-items: center;
- margin-bottom: 8rpx;
- }
- .sum-pet-name {
- font-size: 26rpx;
- font-weight: bold;
- color: #333;
- margin-right: 12rpx;
- }
- .sum-pet-breed {
- font-size: 24rpx;
- color: #999;
- }
- .sum-pet-remark {
- font-size: 24rpx;
- color: #666;
- line-height: 1.5;
- }
- .sum-textarea {
- width: 100%;
- min-height: 220rpx;
- background-color: #fff;
- border: 1px solid #eeeeee;
- border-radius: 12rpx;
- padding: 18rpx;
- font-size: 26rpx;
- color: #333;
- box-sizing: border-box;
- line-height: 1.8;
- }
- .sum-sign-row {
- display: flex;
- align-items: center;
- margin-top: 30rpx;
- padding: 16rpx 0;
- border-top: 1px solid #f5f5f5;
- }
- .sum-sign-label {
- font-size: 26rpx;
- color: #999;
- margin-right: 10rpx;
- }
- .sum-sign-val {
- font-size: 26rpx;
- color: #333;
- }
- .sum-footer {
- padding: 20rpx 36rpx 36rpx;
- padding-bottom: max(36rpx, constant(safe-area-inset-bottom));
- padding-bottom: max(36rpx, env(safe-area-inset-bottom));
- background-color: #fff;
- }
- .sum-submit-btn {
- width: 100%;
- height: 84rpx;
- line-height: 84rpx;
- border-radius: 42rpx;
- font-size: 30rpx;
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- border: none;
- box-shadow: 0 4rpx 16rpx 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: 660rpx;
- max-height: 80vh;
- background-color: #fff;
- border-radius: 20rpx;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.15);
- }
- .sum-modal-scroll {
- flex: 1;
- overflow: hidden;
- }
- /* 宠物档案 - 备注按钮 */
- .pet-modal-header {
- display: flex;
- align-items: center;
- padding: 30rpx 30rpx 20rpx;
- border-bottom: 1px solid #f5f5f5;
- }
- .pm-remark-btn {
- height: 52rpx;
- line-height: 52rpx;
- padding: 0 24rpx;
- background: linear-gradient(90deg, #FF9800 0%, #FF5722 100%);
- color: #fff;
- font-size: 26rpx;
- border-radius: 26rpx;
- margin-right: 16rpx;
- font-weight: bold;
- }
- /* 标签芯片 */
- .pm-tags-row {
- display: flex;
- flex-wrap: wrap;
- padding: 0 24rpx 20rpx;
- gap: 16rpx;
- }
- .pm-tag-chip {
- background-color: #FFF3E0;
- border: 1px solid #FFB74D;
- border-radius: 20rpx;
- padding: 6rpx 20rpx;
- }
- .pm-tag-chip-text {
- font-size: 24rpx;
- color: #FF9800;
- }
- /* 备注日志 */
- .pm-log-section {
- padding: 20rpx 24rpx;
- border-top: 1px solid #f5f5f5;
- margin-top: 10rpx;
- }
- .pm-log-header {
- display: flex;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .pm-log-section-title {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- }
- .pm-log-item {
- padding: 16rpx 0;
- border-bottom: 1px solid #f9f9f9;
- display: flex;
- flex-direction: column;
- }
- .pm-log-date {
- font-size: 24rpx;
- color: #999;
- margin-bottom: 8rpx;
- }
- .pm-log-text {
- font-size: 28rpx;
- color: #333;
- line-height: 1.6;
- margin-bottom: 6rpx;
- }
- .pm-log-recorder {
- font-size: 22rpx;
- 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: 650rpx;
- background-color: #fff;
- border-radius: 20rpx;
- padding: 30rpx;
- position: relative;
- max-height: 80vh;
- display: flex;
- flex-direction: column;
- }
- .am-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 30rpx;
- padding-bottom: 20rpx;
- border-bottom: 1px solid #f5f5f5;
- }
- .am-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .am-scroll-list {
- flex: 1;
- }
- .am-item {
- padding: 24rpx;
- background-color: #F9FAFB;
- border-radius: 12rpx;
- margin-bottom: 24rpx;
- }
- .am-item-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 16rpx;
- }
- .am-item-type {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- }
- .am-item-status {
- font-size: 22rpx;
- padding: 4rpx 16rpx;
- border-radius: 20rpx;
- }
- .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: 26rpx;
- color: #666;
- line-height: 1.6;
- display: block;
- margin-bottom: 16rpx;
- }
- .am-item-photos {
- display: flex;
- flex-wrap: wrap;
- gap: 12rpx;
- margin-bottom: 20rpx;
- }
- .am-photo {
- width: 130rpx;
- height: 130rpx;
- border-radius: 8rpx;
- }
- .am-audit-box {
- margin-top: 20rpx;
- padding-top: 20rpx;
- border-top: 1px dashed #E0E0E0;
- }
- .am-audit-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 8rpx;
- }
- .am-audit-label {
- font-size: 24rpx;
- font-weight: bold;
- color: #333;
- }
- .am-audit-time {
- font-size: 22rpx;
- color: #999;
- }
- .am-audit-remark {
- font-size: 24rpx;
- color: #666;
- line-height: 1.5;
- }
- .empty-list {
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 100rpx 0;
- }
- .empty-icon {
- width: 200rpx;
- height: 200rpx;
- margin-bottom: 20rpx;
- opacity: 0.5;
- }
- .empty-text {
- font-size: 26rpx;
- color: #999;
- }
- /* 媒体项容器 */
- .tl-media-item {
- position: relative;
- width: 140rpx;
- height: 140rpx;
- }
- /* 视频占位样式(不取第一帧,直接用图标) */
- .tl-video-placeholder {
- width: 100%;
- height: 100%;
- background: linear-gradient(135deg, #444 0%, #222 100%);
- border-radius: 8rpx;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .tl-video-placeholder.miniaturized {
- border-radius: 8rpx;
- overflow: hidden;
- }
- .tl-video-label {
- color: #fff;
- font-size: 20rpx;
- margin-top: 50rpx;
- opacity: 0.8;
- }
- .tl-video-label.small {
- margin-top: 35rpx;
- font-size: 18rpx;
- }
- .tl-play-icon {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 60rpx;
- height: 60rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: rgba(255, 255, 255, 0.2);
- border: 2rpx solid #fff;
- border-radius: 50%;
- }
- .tl-play-icon::after {
- content: '';
- display: block;
- width: 0;
- height: 0;
- border-top: 15rpx solid transparent;
- border-bottom: 15rpx solid transparent;
- border-left: 20rpx solid #fff;
- margin-left: 6rpx;
- }
- .tl-play-icon.small {
- width: 40rpx;
- height: 40rpx;
- }
- .tl-play-icon.small::after {
- border-top: 10rpx solid transparent;
- border-bottom: 10rpx solid transparent;
- border-left: 14rpx solid #fff;
- margin-left: 4rpx;
- }
- /* 视频播放弹窗 */
- .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: 600rpx;
- }
- .v-player {
- width: 100%;
- height: 100%;
- }
- .v-close {
- position: absolute;
- top: -80rpx;
- right: 40rpx;
- width: 60rpx;
- height: 60rpx;
- background-color: rgba(255, 255, 255, 0.2);
- color: #fff;
- border-radius: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 40rpx;
- }
- /* 异常列表媒体样式 */
- .am-photo-item {
- position: relative;
- width: 150rpx;
- height: 150rpx;
- border-radius: 8rpx;
- overflow: hidden;
- }
- .am-photo {
- width: 150rpx;
- height: 150rpx;
- border-radius: 8rpx;
- }
- .am-video-poster.miniaturized {
- width: 100%;
- height: 100%;
- position: relative;
- }
- .tl-play-icon.small {
- width: 40rpx;
- height: 40rpx;
- }
- .tl-play-icon.small::after {
- border-top: 10rpx solid transparent;
- border-bottom: 10rpx solid transparent;
- border-left: 14rpx solid #fff;
- margin-left: 4rpx;
- }
- /* 导航选择弹窗 */
- .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: 30rpx 30rpx 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: 26rpx;
- color: #999;
- padding: 30rpx 0;
- border-bottom: 1px solid #f5f5f5;
- }
- .nav-sheet-item {
- display: block;
- text-align: center;
- font-size: 32rpx;
- color: #333;
- padding: 35rpx 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: 12rpx;
- background-color: #f5f5f5;
- }
|