Explorar el Código

refactor (1.49.3 -> 1.49.4): 优化反色对比模态框界面,移除图像标签显示

- 移除左侧图像的'原图/对比图'标签显示
- 移除右侧图像的'反色图'标签显示
- 简化界面设计,提升用户体验

改动文件:
- src/pages/view/components/InvertContrastModal.tsx
dengdx hace 1 semana
padre
commit
3f6dd038e0
Se han modificado 3 ficheros con 10 adiciones y 27 borrados
  1. 9 0
      CHANGELOG.md
  2. 1 1
      package.json
  3. 0 26
      src/pages/view/components/InvertContrastModal.tsx

+ 9 - 0
CHANGELOG.md

@@ -2,6 +2,15 @@
 
 本项目的所有重要变更都将记录在此文件中。
 
+## [1.49.4] - 2026-01-05 18:19
+
+### 重构 (Refactored)
+
+- **优化反色对比模态框界面** - 移除图像标签显示,简化用户界面
+
+**改动文件:**
+- src/pages/view/components/InvertContrastModal.tsx
+
 ## [1.49.3] - 2026-01-05 14:00
 
 ### 重构 (Refactored)

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "zsis",
-  "version": "1.49.3",
+  "version": "1.49.4",
   "private": true,
   "description": "医学成像系统",
   "main": "main.js",

+ 0 - 26
src/pages/view/components/InvertContrastModal.tsx

@@ -147,19 +147,6 @@ const InvertContrastModal: React.FC = () => {
             flexDirection: 'column',
             backgroundColor: '#000'
           }}>
-            <div style={{
-              position: 'absolute',
-              top: 8,
-              left: 8,
-              zIndex: 10,
-              background: 'rgba(0,0,0,0.7)',
-              color: '#fff',
-              padding: '4px 8px',
-              borderRadius: '4px',
-              fontSize: '14px'
-            }}>
-              {selectedPositions.length > 1 ? '原图' : '对比图'}
-            </div>
             {leftImageUrl && (
               <div style={{ flex: 1, overflow: 'hidden' }}>
                 <StackViewerWithErrorBoundary
@@ -181,19 +168,6 @@ const InvertContrastModal: React.FC = () => {
             flexDirection: 'column',
             backgroundColor: '#000'
           }}>
-            <div style={{
-              position: 'absolute',
-              top: 8,
-              left: 8,
-              zIndex: 10,
-              background: 'rgba(0,0,0,0.7)',
-              color: '#fff',
-              padding: '4px 8px',
-              borderRadius: '4px',
-              fontSize: '14px'
-            }}>
-              反色图
-            </div>
             {rightImageUrl && (
               <div style={{ flex: 1, overflow: 'hidden' }}>
                 <StackViewerWithErrorBoundary