Selaa lähdekoodia

ui字体放大

刘立冬 2 viikkoa sitten
vanhempi
commit
1921e57b1e
1 muutettua tiedostoa jossa 8 lisäystä ja 8 poistoa
  1. 8 8
      visualization/knowledge_search_traverse/index.js

+ 8 - 8
visualization/knowledge_search_traverse/index.js

@@ -648,10 +648,10 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
                 {/* 1. 知识评估 */}
                 {data.is_knowledge !== null && (
                   <div style={{ marginBottom: '16px', padding: '12px', background: '#fafafa', borderRadius: '8px' }}>
-                    <div style={{ fontSize: '26px', fontWeight: '600', color: '#831843', marginBottom: '8px' }}>
+                    <div style={{ fontSize: '36px', fontWeight: '600', color: '#831843', marginBottom: '8px' }}>
                       1️⃣ 知识评估
                     </div>
-                    <div style={{ fontSize: '24px', color: '#9f1239', lineHeight: '1.4' }}>
+                    <div style={{ fontSize: '34px', color: '#9f1239', lineHeight: '1.4' }}>
                       {data.knowledge_evaluation?.conclusion || '无评估信息'}
                     </div>
                   </div>
@@ -660,10 +660,10 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
                 {/* 2. 内容知识评估 */}
                 {data.is_content_knowledge && data.content_knowledge_evaluation && (
                   <div style={{ marginBottom: '16px', padding: '12px', background: '#fafafa', borderRadius: '8px' }}>
-                    <div style={{ fontSize: '26px', fontWeight: '600', color: '#831843', marginBottom: '8px' }}>
+                    <div style={{ fontSize: '36px', fontWeight: '600', color: '#831843', marginBottom: '8px' }}>
                       2️⃣ 内容知识评估 ({data.knowledge_score || 0}分)
                     </div>
-                    <div style={{ fontSize: '24px', color: '#9f1239', lineHeight: '1.4' }}>
+                    <div style={{ fontSize: '34px', color: '#9f1239', lineHeight: '1.4' }}>
                       {data.content_knowledge_evaluation.summary || '无评估信息'}
                     </div>
                   </div>
@@ -672,11 +672,11 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
                 {/* 3. 与原始需求匹配 */}
                 {(data.purpose_evaluation || data.category_evaluation) && (
                   <div style={{ marginBottom: '16px', padding: '12px', background: '#fafafa', borderRadius: '8px' }}>
-                    <div style={{ fontSize: '26px', fontWeight: '600', color: '#831843', marginBottom: '8px' }}>
+                    <div style={{ fontSize: '36px', fontWeight: '600', color: '#831843', marginBottom: '8px' }}>
                       3️⃣ 与原始需求匹配
                     </div>
                     {data.purpose_evaluation && (
-                      <div style={{ fontSize: '24px', color: '#9f1239', lineHeight: '1.4', marginBottom: '12px' }}>
+                      <div style={{ fontSize: '34px', color: '#9f1239', lineHeight: '1.4', marginBottom: '12px' }}>
                         <div style={{ fontWeight: '600', marginBottom: '6px' }}>
                           目的性匹配({data.purpose_score}分)
                         </div>
@@ -684,7 +684,7 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
                       </div>
                     )}
                     {data.category_evaluation && (
-                      <div style={{ fontSize: '24px', color: '#9f1239', lineHeight: '1.4' }}>
+                      <div style={{ fontSize: '34px', color: '#9f1239', lineHeight: '1.4' }}>
                         <div style={{ fontWeight: '600', marginBottom: '6px' }}>
                           品类匹配({data.category_score}分)
                         </div>
@@ -799,7 +799,7 @@ function NoteNode({ id, data, sourcePosition, targetPosition }) {
               alt={\`Image \${currentImageIndex + 1}\`}
               style={{
                 width: '100%',
-                aspectRatio: '1/1',
+                aspectRatio: '2/3',
                 height: 'auto',
                 objectFit: 'cover',
                 display: 'block',