文件
jw-beauty/miniprogram/pages/scan-report/scan-report.wxss
T
Guoguo f2ee086cc8 feat: 扫描报告页+手动选波长护理+光疗功效介绍页+诊断框架(占位阈值)
- services/diagnosis.js: 诊断流水线框架,阈值/PD映射为占位待标定,支持单波长降级
- auto-scan: 扫描完成改为出报告让用户选择护理(替代原自动开始治疗)
- 新增 scan-report/manual-treatment/light-info 三页,全部接入 i18n
- api.js: 新增 report/diagnosis-config 接口(对接后端契约)
2026-07-18 20:17:09 -07:00

101 行
2.9 KiB
Plaintext

.page {
min-height: 100vh;
background: #f5f5f5;
}
.loading-container {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 120rpx;
}
.loading-spinner {
width: 56rpx;
height: 56rpx;
border: 6rpx solid #eee;
border-top-color: #E8503A;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
.loading-text { margin-top: 20rpx; color: #999; font-size: 26rpx; }
@keyframes spin { to { transform: rotate(360deg); } }
.concept-banner {
display: flex;
align-items: center;
background: #FFF7E6;
border: 1rpx solid #FFE1A8;
border-radius: 14rpx;
padding: 18rpx 22rpx;
margin-bottom: 20rpx;
}
.concept-icon { color: #E8971A; margin-right: 12rpx; font-size: 30rpx; }
.concept-text { color: #A66908; font-size: 24rpx; line-height: 1.4; flex: 1; }
.scan-time { color: #999; font-size: 24rpx; margin: 0 6rpx 20rpx; }
.card {
background: #fff;
border-radius: 18rpx;
padding: 28rpx 26rpx;
margin-bottom: 22rpx;
box-shadow: 0 4rpx 18rpx rgba(0,0,0,0.04);
}
.card-title { font-size: 30rpx; font-weight: 600; color: #333; margin-bottom: 20rpx; }
.chip-row { display: flex; flex-wrap: wrap; }
.chip {
display: flex;
align-items: center;
border-radius: 999rpx;
padding: 10rpx 22rpx;
margin: 0 16rpx 16rpx 0;
background: #F3F4F6;
}
.chip-name { font-size: 26rpx; color: #333; }
.chip-lv { font-size: 22rpx; color: #fff; margin-left: 12rpx; padding: 2rpx 14rpx; border-radius: 999rpx; background: #bbb; }
.chip-lv1 .chip-lv { background: #6BBF59; }
.chip-lv2 .chip-lv { background: #F5B841; }
.chip-lv3 .chip-lv { background: #E8503A; }
.empty-hint { color: #999; font-size: 26rpx; }
.region-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20rpx 0;
border-bottom: 1rpx solid #f0f0f0;
}
.region-row:last-child { border-bottom: none; }
.region-name { font-size: 28rpx; color: #333; }
.region-right { display: flex; align-items: center; }
.region-problem { font-size: 26rpx; color: #555; margin-right: 14rpx; }
.region-problem-none { color: #aaa; }
.region-lv { font-size: 22rpx; color: #fff; padding: 2rpx 14rpx; border-radius: 999rpx; background: #bbb; }
.region-lv1 { background: #6BBF59; }
.region-lv2 { background: #F5B841; }
.region-lv3 { background: #E8503A; }
.rec-row { display: flex; align-items: flex-start; padding: 16rpx 0; }
.rec-dot {
width: 14rpx; height: 14rpx; border-radius: 50%;
background: #E8503A; margin-top: 12rpx; margin-right: 18rpx; flex-shrink: 0;
}
.rec-body { display: flex; flex-direction: column; }
.rec-label { font-size: 28rpx; color: #333; font-weight: 500; }
.rec-meta { font-size: 24rpx; color: #999; margin-top: 6rpx; }
.error-text { color: #E8503A; font-size: 26rpx; text-align: center; margin: 10rpx 0; }
.actions { margin-top: 12rpx; }
.actions .btn-primary, .actions .btn-secondary { margin-bottom: 20rpx; }
.disclaimer {
color: #b0b0b0;
font-size: 22rpx;
line-height: 1.5;
text-align: center;
margin: 20rpx 10rpx 40rpx;
}