|
@@ -597,7 +597,7 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
|
|
|
)}
|
|
)}
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- {/* 第2行:匹配度得分 + 详情 + 展开按钮 */}
|
|
|
|
|
|
|
+ {/* 第2行:匹配度得分(仅内容知识显示) */}
|
|
|
{data.is_content_knowledge && data.final_score !== null && data.final_score !== undefined && (
|
|
{data.is_content_knowledge && data.final_score !== null && data.final_score !== undefined && (
|
|
|
<div style={{ display: 'flex', alignItems: 'center', gap: '16px', flexWrap: 'wrap', marginBottom: '12px' }}>
|
|
<div style={{ display: 'flex', alignItems: 'center', gap: '16px', flexWrap: 'wrap', marginBottom: '12px' }}>
|
|
|
<span style={{ fontSize: '32px', fontWeight: '700', color: data.final_score >= 60 ? '#166534' : '#ea580c' }}>
|
|
<span style={{ fontSize: '32px', fontWeight: '700', color: data.final_score >= 60 ? '#166534' : '#ea580c' }}>
|
|
@@ -623,6 +623,12 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
|
|
|
品类{data.category_score}分
|
|
品类{data.category_score}分
|
|
|
</span>
|
|
</span>
|
|
|
)}
|
|
)}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ )}
|
|
|
|
|
+
|
|
|
|
|
+ {/* 展开按钮(所有V3评估都显示) */}
|
|
|
|
|
+ {data.evaluator_version === 'v3.0' && (
|
|
|
|
|
+ <div style={{ marginBottom: '12px' }}>
|
|
|
<button
|
|
<button
|
|
|
onClick={(e) => { e.stopPropagation(); setShowEvalDetails(!showEvalDetails); }}
|
|
onClick={(e) => { e.stopPropagation(); setShowEvalDetails(!showEvalDetails); }}
|
|
|
style={{
|
|
style={{
|
|
@@ -799,9 +805,8 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
|
|
|
alt={\`Image \${currentImageIndex + 1}\`}
|
|
alt={\`Image \${currentImageIndex + 1}\`}
|
|
|
style={{
|
|
style={{
|
|
|
width: '100%',
|
|
width: '100%',
|
|
|
- aspectRatio: '2/3',
|
|
|
|
|
height: 'auto',
|
|
height: 'auto',
|
|
|
- objectFit: 'cover',
|
|
|
|
|
|
|
+ objectFit: 'contain',
|
|
|
display: 'block',
|
|
display: 'block',
|
|
|
}}
|
|
}}
|
|
|
onError={(e) => {
|
|
onError={(e) => {
|