|
|
/* 全局样式 */.wzbox{ min-height: 100vh; position: relative; background: linear-gradient(180deg, #F8FBFF 0%, #F0F7FF 100%);}
/* 头部样式优化 */.header { padding: 20rpx 40rpx 20rpx; background: linear-gradient(135deg, #6D9EFF 0%, #4A7CFF 100%); border-radius: 0 0 36rpx 36rpx; box-shadow: 0 4rpx 20rpx rgba(74, 144, 226, 0.15); position: relative; overflow: hidden;}
.header-content { position: relative; z-index: 2;}
.title-section { display: flex; flex-direction: column; gap: 8rpx;}
.title { font-size: 44rpx; font-weight: 700; color: #FFFFFF; letter-spacing: 0.5rpx; text-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);}
.subtitle { font-size: 28rpx; color: rgba(255, 255, 255, 0.9); font-weight: 400;}
/* 头部装饰元素 */.header-decoration { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; z-index: 1;}
.decoration-circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08);}
.circle-1 { width: 200rpx; height: 200rpx; top: -80rpx; right: -40rpx;}
.circle-2 { width: 120rpx; height: 120rpx; bottom: -40rpx; left: -20rpx;}
/* 问诊记录列表 */.record-list { height: calc(100vh - 200rpx); padding: 0 32rpx 20rpx; box-sizing: border-box;}
.records-container { padding-top: 24rpx;}
/* 列表头部 */.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24rpx; padding: 0 4rpx;}
.section-title { font-size: 32rpx; font-weight: 700; color: #1A1A1A; position: relative; padding-left: 16rpx;}
.section-title::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4rpx; height: 20rpx; background: linear-gradient(180deg, #6D9EFF 0%, #4A7CFF 100%); border-radius: 2rpx;}
.section-count { font-size: 26rpx; color: #666; background: #F0F7FF; padding: 6rpx 16rpx; border-radius: 16rpx; font-weight: 500;}
/* 问诊记录卡片 */.record-card { background: #FFFFFF; border-radius: 24rpx; margin-bottom: 24rpx; box-shadow: 0 6rpx 24rpx rgba(74, 144, 226, 0.08); position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1); border: 1rpx solid #F0F7FF;}
.record-card:active { transform: translateY(-2rpx); box-shadow: 0 10rpx 30rpx rgba(74, 144, 226, 0.15);}
/* 卡片头部 */.card-header { display: flex; justify-content: space-between; align-items: center; padding: 24rpx 28rpx; border-bottom: 1rpx solid #F5F9FF;}
.user-section { display: flex; align-items: center; gap: 16rpx; flex: 1;}
.user-avatar { width: 60rpx; height: 60rpx; border-radius: 50%; border: 2rpx solid rgba(255, 255, 255, 0.8); box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);}
.user-name { font-size: 28rpx; color: #1A1A1A; font-weight: 600;}
/* 状态标签 */.status-tag { padding: 8rpx 20rpx; border-radius: 20rpx; font-size: 22rpx; font-weight: 600; min-width: 80rpx; text-align: center; flex-shrink: 0;}
.status-replied { background: linear-gradient(135deg, rgba(76, 217, 100, 0.12) 0%, rgba(46, 204, 113, 0.12) 100%); color: #2ECC71; border: 1rpx solid rgba(46, 204, 113, 0.2);}
.status-pending { background: linear-gradient(135deg, rgba(255, 149, 0, 0.12) 0%, rgba(255, 127, 0, 0.12) 100%); color: #FF9500; border: 1rpx solid rgba(255, 149, 0, 0.2);}
/* 牲畜信息 */.livestock-section { padding: 20rpx 28rpx;}
/* 牲畜信息标题优化 */.livestock-title-wrapper { display: flex; align-items: center; justify-content: center; margin-bottom: 20rpx; position: relative;}
.livestock-title-line { flex: 1; height: 2rpx; background: linear-gradient(90deg, transparent, #4A7CFF 50%, transparent); opacity: 0.3;}
.livestock-title-content { display: flex; align-items: center; gap: 12rpx; padding: 0 20rpx; position: relative;}
.livestock-title-text { font-size: 30rpx; font-weight: 700; color: #333; background: linear-gradient(135deg, #4A7CFF 0%, #8CB4FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 2rpx 4rpx rgba(74, 124, 255, 0.1); letter-spacing: 1rpx;}
@keyframes cowPulse { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.1) rotate(5deg); }}
.livestock-tags { display: flex; gap: 16rpx; flex-wrap: wrap;}
.livestock-tag { padding: 5rpx 20rpx; border-radius: 20rpx; font-size: 26rpx; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);}
.type-tag { background: linear-gradient(135deg, #6D9EFF 0%, #4A7CFF 100%); color: #FFFFFF; border: 2rpx solid rgba(255, 255, 255, 0.3);}
.age-tag { background: linear-gradient(135deg, #FFB347 0%, #FFA033 100%); color: #FFFFFF; border: 2rpx solid rgba(255, 255, 255, 0.3);}
.gender-tag { background: linear-gradient(135deg, #42E695 0%, #3BB2B8 100%); color: #FFFFFF; border: 2rpx solid rgba(255, 255, 255, 0.3);}
.tag-text { font-size: 26rpx; font-weight: 600; color: #FFFFFF;}
/* 症状描述 */.symptom-section { padding: 24rpx 28rpx 28rpx;}
.symptom-content { background: #F9FAFF; padding: 20rpx 24rpx; border-radius: 16rpx; border: 1rpx solid #E6ECFF; position: relative;}
.symptom-content::before { content: '症状描述'; position: absolute; top: -12rpx; left: 24rpx; background: #FFFFFF; padding: 0 12rpx; font-size: 24rpx; font-weight: 600; color: #4A7CFF; z-index: 1;}
.symptom-text { font-size: 28rpx; color: #333; line-height: 1.6; font-weight: 400;}
/* 卡片底部 */.card-footer { display: flex; justify-content: space-between; align-items: center; padding: 20rpx 28rpx; border-top: 1rpx solid #F5F9FF;}
.time-info { display: flex; align-items: center; gap: 8rpx;}
.time-text { font-size: 24rpx; color: #999; font-weight: 400;}
.reply-info { display: flex; align-items: center; gap: 8rpx; padding: 8rpx 16rpx; background: #F0F7FF; border-radius: 16rpx; border: 1rpx solid #E5EFFF;}
.reply-count { font-size: 24rpx; font-weight: 500; color: #4A7CFF;}
/* 空状态优化 */.empty-state { display: flex; flex-direction: column; align-items: center; padding-top: 120rpx; text-align: center;}
.empty-icon { width: 400rpx; margin-bottom: 32rpx; opacity: 0.5;}
.empty-text { font-size: 32rpx; color: #666; margin-bottom: 12rpx; font-weight: 600;}
.empty-tip { font-size: 26rpx; color: #999; margin-bottom: 40rpx; line-height: 1.4;}
/* 列表底部 */.list-footer { text-align: center; padding: 40rpx 0; color: #999; font-size: 24rpx;}
.footer-text { opacity: 0.6; letter-spacing: 1rpx;}
/* 新建问诊按钮优化 */.create-btn-container { position: fixed; bottom: 40rpx; right: 32rpx; z-index: 100;}
.create-btn { width: 140rpx; height: 140rpx; background: linear-gradient(135deg, #6D9EFF 0%, #4A7CFF 100%); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 8rpx 32rpx rgba(74, 144, 226, 0.3); transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1); position: relative; overflow: hidden;}
.create-btn::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.1); opacity: 0; transition: opacity 0.2s ease;}
.create-btn:active { transform: scale(0.95); box-shadow: 0 4rpx 20rpx rgba(74, 144, 226, 0.4);}
.create-btn:active::after { opacity: 1;}
.btn-icon { width: 40rpx; height: 40rpx; margin-bottom: 10rpx;}
.btn-text { font-size: 26rpx; color: white; font-weight: 600; letter-spacing: 0.5rpx;}
/* 卡片入场动画 */@keyframes cardSlideIn { from { opacity: 0; transform: translateY(30rpx); } to { opacity: 1; transform: translateY(0); }}
.record-card { animation: cardSlideIn 0.4s ease-out forwards; opacity: 0;}
.record-card:nth-child(1) { animation-delay: 0.1s; }.record-card:nth-child(2) { animation-delay: 0.15s; }.record-card:nth-child(3) { animation-delay: 0.2s; }.record-card:nth-child(4) { animation-delay: 0.25s; }.record-card:nth-child(5) { animation-delay: 0.3s; }
/* 响应式适配 */@media screen and (min-width: 768px) { .record-card { max-width: 600rpx; margin-left: auto; margin-right: auto; }}
|