diff --git a/employee-app/weight-management/eat-detail-v2.html b/employee-app/weight-management/eat-detail-v2.html
index 1077a55..7b07637 100644
--- a/employee-app/weight-management/eat-detail-v2.html
+++ b/employee-app/weight-management/eat-detail-v2.html
@@ -64,6 +64,11 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
.cal-day__ring--auto { border-color: #1890ff; }
.cal-day__ring--manual { border-color: #fa8c16; }
.cal-day__ring--mixed { border-color: #722ed1; }
+/* 日期下来源标签:智 / 自 / 智+自 */
+.cal-day__src { font-size: 9px; font-weight: 600; margin-top: 3px; line-height: 1.2; height: 11px; }
+.cal-day__src--auto { color: #1890ff; }
+.cal-day__src--manual { color: #fa8c16; }
+.cal-day__src--mixed { color: #722ed1; }
/* ===== 图例:三种来源 ===== */
.month-picker__legend { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 8px; padding-top: 8px; font-size: 11px; color: #666; }
@@ -567,7 +572,8 @@ function renderWeek() {
'
-
-
-
@@ -847,7 +914,8 @@ function renderWeek() {
'
' +
(hasData ? '
' : '') +
'
' + dayNum + '' +
- '
';
+ '
' +
+ (hasData ? '
' + ({ manual: '自记', bluetooth: '蓝牙称', stadiometer: '体重秤', bodyanalyzer: '体脂仪' }[daySource] || '自记') + '
' : '
');
container.appendChild(dayEl);
}
@@ -1124,11 +1192,15 @@ function renderWaistMetric(waist) {
/* 来源标记文案映射 */
function sourceLabel(src) {
- var map = { manual: '自记', bluetooth: '蓝牙称', stadiometer: '身高秤', bodyanalyzer: '体脂仪' };
+ var map = { manual: '自记', bluetooth: '蓝牙称', stadiometer: '体重秤', bodyanalyzer: '体脂仪' };
return map[src] || '自记';
}
/* ===== 工具栏按钮 ===== */
+function showSourceTip(name) {
+ alert(name + ':查看今日该来源的体重记录');
+}
+
function addRecord(type) {
openRecordSheet();
}
@@ -1403,7 +1475,7 @@ function renderRecordList(range) {
return;
}
- var srcMap = { manual: '自记', bluetooth: '蓝牙称', stadiometer: '身高秤', bodyanalyzer: '体脂仪' };
+ var srcMap = { manual: '自记', bluetooth: '蓝牙称', stadiometer: '体重秤', bodyanalyzer: '体脂仪' };
// 来源 → 详细报告页跳转地址(体脂仪跳转独立报告页,其余复用 report-detail.html)
var reportUrlMap = {
bluetooth: 'report-detail.html?device=bluetooth',