/* 页面背景 */ page { background-color: #F8F8F8; } .detail-container { padding-bottom: 200rpx; } /* 顶部动态状态区 */ .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.6; } .step-item.active { opacity: 1; } .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: #fff; font-size: 20rpx; display: flex; justify-content: center; align-items: center; position: relative; z-index: 2; } .step-item.active .step-circle { background-color: #fff; color: #FF5722; font-weight: bold; } .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; } .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; } /* 地址展现复用图标逻辑 */ .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-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; } .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; }