handlePreviewVoucher(record)}
style={{
- background: 'linear-gradient(135deg, #059669 0%, #10b981 100%)',
- borderColor: '#059669',
- boxShadow: '0 1px 2px rgba(16, 185, 129, 0.2)',
- fontSize: 12,
- fontWeight: 500,
+ width: 44,
+ height: 44,
+ flexShrink: 0,
+ borderRadius: 8,
+ border: '1px solid #e2e8f0',
+ background: '#f8fafc',
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
+ cursor: 'pointer',
+ overflow: 'hidden',
+ boxShadow: '0 1px 3px rgba(0,0,0,0.06)',
+ transition: 'all 0.2s ease',
+ }}
+ onMouseEnter={(e) => {
+ e.currentTarget.style.transform = 'scale(1.08)'
+ e.currentTarget.style.borderColor = '#93c5fd'
+ e.currentTarget.style.boxShadow = '0 3px 8px rgba(37,99,235,0.2)'
+ }}
+ onMouseLeave={(e) => {
+ e.currentTarget.style.transform = 'scale(1)'
+ e.currentTarget.style.borderColor = '#e2e8f0'
+ e.currentTarget.style.boxShadow = '0 1px 3px rgba(0,0,0,0.06)'
}}
>
- 复制结果图
-
-
+
+
+