${escapeHtml(row.pchome_product_name || row.pchome_product_id || 'PChome 商品')}
-
- PChome ${escapeHtml(pchomePrice)} · MOMO ${escapeHtml(momoPrice)}${escapeHtml(gap)}
-
+
+ ${escapeHtml(gap.label)}
+ 同款可信度 ${score}%
+
- PChome ${pchomeLink}
- ${escapeHtml(pchomePrice)}
- ${escapeHtml(row.pchome_product_name || row.pchome_product_id || 'PChome 商品')}
+
+
+
+ PChome ${pchomeLink}
+ ${escapeHtml(pchomePrice)}
+
+
+ ${escapeHtml(row.pchome_product_name || row.pchome_product_id || 'PChome 商品')}
- MOMO ${momoLink}
- ${escapeHtml(momoPrice)}
- ${escapeHtml(row.momo_title || row.momo_sku || '未命名候選')}
+
+
${momoThumb}
+
+ MOMO ${momoLink}
+ ${escapeHtml(momoPrice)}
+
+
+ ${escapeHtml(row.momo_title || row.momo_sku || '未命名候選')}
-
- 可信度 ${score}% · ${escapeHtml(reasons)}
-
+
+ ${renderReasonChips(reasonLabels)}
+
${escapeHtml(row.title || '未命名商品')}
- 第 ${escapeHtml(row.row_number || '-')} 列 · ${escapeHtml(row.source_code || '未填來源')} · ${escapeHtml(price)}
+ 第 ${escapeHtml(row.row_number || '-')} 列 · ${escapeHtml(sourceLabel)} · ${escapeHtml(price)}
${escapeHtml(reasons)}
diff --git a/templates/dashboard_v2.html b/templates/dashboard_v2.html
index f10509d..9a043ac 100644
--- a/templates/dashboard_v2.html
+++ b/templates/dashboard_v2.html
@@ -113,6 +113,7 @@
{{ lane.label }}
{{ lane.value | default(0) | number_format }}
+ {{ lane.decision }}
{{ lane.action }}
{% endfor %}
diff --git a/web/static/css/page-dashboard-v2.css b/web/static/css/page-dashboard-v2.css
index baacf9a..5067183 100644
--- a/web/static/css/page-dashboard-v2.css
+++ b/web/static/css/page-dashboard-v2.css
@@ -314,8 +314,9 @@
.growth-strategy-lane {
display: grid;
- gap: 7px;
- min-height: 118px;
+ grid-template-rows: auto auto auto 1fr;
+ gap: 6px;
+ min-height: 132px;
padding: 12px;
background: color-mix(in srgb, var(--momo-bg-paper) 76%, transparent);
border: 1px solid var(--momo-border-light);
@@ -335,6 +336,21 @@
line-height: 1;
}
+ .growth-strategy-lane small {
+ display: inline-flex;
+ align-items: center;
+ width: fit-content;
+ min-height: 23px;
+ padding: 3px 8px;
+ color: var(--momo-text-primary);
+ background: rgba(255, 255, 255, 0.72);
+ border: 1px solid rgba(42, 37, 32, 0.08);
+ border-radius: 999px;
+ font-size: 11px;
+ font-weight: 900;
+ line-height: 1.1;
+ }
+
.growth-strategy-lane.is-danger {
border-color: rgba(188, 75, 49, 0.32);
background: rgba(255, 244, 239, 0.72);