|
@@ -386,7 +386,7 @@ export default {
|
|
|
flex-shrink: 0; padding: 8rpx 20rpx; border-radius: 20rpx; background: $facade-fill-2; color: $facade-text-body;
|
|
flex-shrink: 0; padding: 8rpx 20rpx; border-radius: 20rpx; background: $facade-fill-2; color: $facade-text-body;
|
|
|
font-size: 26rpx; font-weight: 500;
|
|
font-size: 26rpx; font-weight: 500;
|
|
|
}
|
|
}
|
|
|
-.member-tab.active { background: linear-gradient(135deg, $dim-body, #FFB366); color: $app-surface; }
|
|
|
|
|
|
|
+.member-tab.active { background: linear-gradient(135deg, $dim-body, $dim-body-light); color: $app-surface; }
|
|
|
|
|
|
|
|
/* 周历条 */
|
|
/* 周历条 */
|
|
|
.week-strip {
|
|
.week-strip {
|
|
@@ -398,7 +398,7 @@ export default {
|
|
|
padding: 8rpx 12rpx; border-radius: 16rpx; min-width: 68rpx;
|
|
padding: 8rpx 12rpx; border-radius: 16rpx; min-width: 68rpx;
|
|
|
}
|
|
}
|
|
|
.week-day-today .week-day-label { color: $dim-body; font-weight: 700; }
|
|
.week-day-today .week-day-label { color: $dim-body; font-weight: 700; }
|
|
|
-.week-day-active { background: linear-gradient(135deg, $dim-body, #FFB366); }
|
|
|
|
|
|
|
+.week-day-active { background: linear-gradient(135deg, $dim-body, $dim-body-light); }
|
|
|
.week-day-active .week-day-label,
|
|
.week-day-active .week-day-label,
|
|
|
.week-day-active .week-day-num { color: $app-surface; }
|
|
.week-day-active .week-day-num { color: $app-surface; }
|
|
|
.week-day-has .week-dot-wrap { margin-top: 6rpx; }
|
|
.week-day-has .week-dot-wrap { margin-top: 6rpx; }
|
|
@@ -406,7 +406,7 @@ export default {
|
|
|
.week-day-num { font-size: 28rpx; font-weight: 600; color: $facade-text-strong; }
|
|
.week-day-num { font-size: 28rpx; font-weight: 600; color: $facade-text-strong; }
|
|
|
.week-dot-wrap { display: flex; align-items: center; gap: 6rpx; }
|
|
.week-dot-wrap { display: flex; align-items: center; gap: 6rpx; }
|
|
|
.week-dot { width: 10rpx; height: 10rpx; border-radius: 50%; background: $dim-body; }
|
|
.week-dot { width: 10rpx; height: 10rpx; border-radius: 50%; background: $dim-body; }
|
|
|
-.week-day-count { font-size: 18rpx; color: #C2410C; }
|
|
|
|
|
|
|
+.week-day-count { font-size: 18rpx; color: $brand-primary-deep; }
|
|
|
|
|
|
|
|
/* 内容区 */
|
|
/* 内容区 */
|
|
|
.content { flex: 1; padding: 24rpx 24rpx 180rpx; overflow-y: auto; }
|
|
.content { flex: 1; padding: 24rpx 24rpx 180rpx; overflow-y: auto; }
|
|
@@ -416,7 +416,7 @@ export default {
|
|
|
display: flex; background: $app-surface; border-radius: 20rpx; margin-bottom: 24rpx;
|
|
display: flex; background: $app-surface; border-radius: 20rpx; margin-bottom: 24rpx;
|
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.05); overflow: hidden;
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.05); overflow: hidden;
|
|
|
}
|
|
}
|
|
|
-.card-accent { width: 8rpx; background: linear-gradient(180deg, $dim-body, #FFB366); flex-shrink: 0; }
|
|
|
|
|
|
|
+.card-accent { width: 8rpx; background: linear-gradient(180deg, $dim-body, $dim-body-light); flex-shrink: 0; }
|
|
|
.card-body { flex: 1; padding: 24rpx 28rpx; }
|
|
.card-body { flex: 1; padding: 24rpx 28rpx; }
|
|
|
.card-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: 600; color: $facade-text-strong; margin-bottom: 16rpx; display: block; }
|
|
.card-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: 600; color: $facade-text-strong; margin-bottom: 16rpx; display: block; }
|
|
|
|
|
|
|
@@ -432,19 +432,19 @@ export default {
|
|
|
background: $app-surface; border-radius: 20rpx; margin-bottom: 24rpx;
|
|
background: $app-surface; border-radius: 20rpx; margin-bottom: 24rpx;
|
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.05); overflow: hidden;
|
|
box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.05); overflow: hidden;
|
|
|
}
|
|
}
|
|
|
-.alert-header { display: flex; align-items: center; gap: 12rpx; padding: 24rpx 28rpx 16rpx; border-bottom: 1rpx solid #FFF3E0; }
|
|
|
|
|
|
|
+.alert-header { display: flex; align-items: center; gap: 12rpx; padding: 24rpx 28rpx 16rpx; border-bottom: 1rpx solid $fortune-1-tint; }
|
|
|
.alert-icon { font-size: 36rpx; }
|
|
.alert-icon { font-size: 36rpx; }
|
|
|
.alert-title { font-size: 28rpx; font-weight: 600; color: $facade-text-strong; }
|
|
.alert-title { font-size: 28rpx; font-weight: 600; color: $facade-text-strong; }
|
|
|
.alert-section { padding: 16rpx 28rpx; }
|
|
.alert-section { padding: 16rpx 28rpx; }
|
|
|
.alert-label { font-size: 24rpx; font-weight: 600; display: block; margin-bottom: 12rpx; }
|
|
.alert-label { font-size: 24rpx; font-weight: 600; display: block; margin-bottom: 12rpx; }
|
|
|
.alert-label.over { color: $status-danger-strong-2; }
|
|
.alert-label.over { color: $status-danger-strong-2; }
|
|
|
-.alert-label.under { color: #1565C0; }
|
|
|
|
|
|
|
+.alert-label.under { color: $mat-blue-strong; }
|
|
|
.alert-tags { display: flex; flex-wrap: wrap; gap: 12rpx; }
|
|
.alert-tags { display: flex; flex-wrap: wrap; gap: 12rpx; }
|
|
|
.alert-tag { display: flex; align-items: center; gap: 6rpx; padding: 8rpx 16rpx; border-radius: 20rpx; font-size: 24rpx; }
|
|
.alert-tag { display: flex; align-items: center; gap: 6rpx; padding: 8rpx 16rpx; border-radius: 20rpx; font-size: 24rpx; }
|
|
|
-.tag-over { background: #FFEBEE; color: $status-danger-strong-2; }
|
|
|
|
|
-.tag-under { background: #E3F2FD; color: #1565C0; }
|
|
|
|
|
|
|
+.tag-over { background: $fortune-0-tint; color: $status-danger-strong-2; }
|
|
|
|
|
+.tag-under { background: $mat-blue-tint; color: $mat-blue-strong; }
|
|
|
.tag-count { font-size: 20rpx; opacity: 0.8; }
|
|
.tag-count { font-size: 20rpx; opacity: 0.8; }
|
|
|
-.alert-hint { font-size: 22rpx; color: #888; margin-top: 8rpx; display: block; }
|
|
|
|
|
|
|
+.alert-hint { font-size: 22rpx; color: $facade-text-faint; margin-top: 8rpx; display: block; }
|
|
|
|
|
|
|
|
/* 高频食材 */
|
|
/* 高频食材 */
|
|
|
.top-foods-list { display: flex; flex-direction: column; gap: 12rpx; }
|
|
.top-foods-list { display: flex; flex-direction: column; gap: 12rpx; }
|
|
@@ -476,19 +476,19 @@ export default {
|
|
|
}
|
|
}
|
|
|
.record-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10rpx; }
|
|
.record-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10rpx; }
|
|
|
.meal-badge { padding: 6rpx 18rpx; border-radius: 20rpx; font-size: 24rpx; font-weight: 600; }
|
|
.meal-badge { padding: 6rpx 18rpx; border-radius: 20rpx; font-size: 24rpx; font-weight: 600; }
|
|
|
-.meal-breakfast { background: #FFF3E0; color: #E65100; }
|
|
|
|
|
|
|
+.meal-breakfast { background: $fortune-1-tint; color: $mat-orange-strong; }
|
|
|
.meal-lunch { background: #FFF8E1; color: #F57C00; }
|
|
.meal-lunch { background: #FFF8E1; color: #F57C00; }
|
|
|
.meal-dinner { background: #F3E5F5; color: #7B1FA2; }
|
|
.meal-dinner { background: #F3E5F5; color: #7B1FA2; }
|
|
|
-.meal-snack { background: #E8F5E9; color: #2E7D32; }
|
|
|
|
|
|
|
+.meal-snack { background: $mat-green-tint; color: $mat-green-strong; }
|
|
|
.record-meta { display: flex; align-items: center; gap: 12rpx; }
|
|
.record-meta { display: flex; align-items: center; gap: 12rpx; }
|
|
|
.record-time { font-size: 24rpx; color: $facade-text-muted; }
|
|
.record-time { font-size: 24rpx; color: $facade-text-muted; }
|
|
|
-.record-backfill { font-size: 20rpx; padding: 2rpx 10rpx; background: #FFF3E0; color: #E65100; border-radius: 8rpx; }
|
|
|
|
|
|
|
+.record-backfill { font-size: 20rpx; padding: 2rpx 10rpx; background: $fortune-1-tint; color: $mat-orange-strong; border-radius: 8rpx; }
|
|
|
.record-body { margin-bottom: 8rpx; }
|
|
.record-body { margin-bottom: 8rpx; }
|
|
|
.record-foods { font-size: calc(26rpx * var(--font-scale, 1)); color: $facade-text-strong; line-height: 1.5; }
|
|
.record-foods { font-size: calc(26rpx * var(--font-scale, 1)); color: $facade-text-strong; line-height: 1.5; }
|
|
|
.record-footer { display: flex; gap: 20rpx; margin-bottom: 6rpx; }
|
|
.record-footer { display: flex; gap: 20rpx; margin-bottom: 6rpx; }
|
|
|
.record-cal { font-size: 22rpx; color: $dim-body; font-weight: 600; }
|
|
.record-cal { font-size: 22rpx; color: $dim-body; font-weight: 600; }
|
|
|
.record-nut { font-size: 22rpx; color: $facade-text-muted; }
|
|
.record-nut { font-size: 22rpx; color: $facade-text-muted; }
|
|
|
-.record-remark { font-size: 24rpx; color: #888; font-style: italic; }
|
|
|
|
|
|
|
+.record-remark { font-size: 24rpx; color: $facade-text-faint; font-style: italic; }
|
|
|
|
|
|
|
|
/* 空态 */
|
|
/* 空态 */
|
|
|
.empty-state { text-align: center; padding: 80rpx 40rpx; }
|
|
.empty-state { text-align: center; padding: 80rpx 40rpx; }
|
|
@@ -502,7 +502,7 @@ export default {
|
|
|
/* 浮动按钮 */
|
|
/* 浮动按钮 */
|
|
|
.fab {
|
|
.fab {
|
|
|
position: fixed; right: 40rpx; bottom: 60rpx; width: 100rpx; height: 100rpx;
|
|
position: fixed; right: 40rpx; bottom: 60rpx; width: 100rpx; height: 100rpx;
|
|
|
- background: linear-gradient(135deg, $dim-body, #FFB366); border-radius: 50%;
|
|
|
|
|
|
|
+ background: linear-gradient(135deg, $dim-body, $dim-body-light); border-radius: 50%;
|
|
|
display: flex; align-items: center; justify-content: center;
|
|
display: flex; align-items: center; justify-content: center;
|
|
|
box-shadow: 0 4rpx 20rpx rgba(255,140,66,0.4);
|
|
box-shadow: 0 4rpx 20rpx rgba(255,140,66,0.4);
|
|
|
}
|
|
}
|