排产看板样式调整

dev-scheduling
zhangdi 1 month ago
parent ad99b9671e
commit 5f50982d6c
  1. 6
      src/views/productionSchedulingPlan/schedulingDashboard/container.vue

@ -1613,7 +1613,7 @@ export default {
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
transform: 'translate(-50%, -50%) scale(0.7)',
color: isYellow ? '#000' : 'white',
fontSize: '10px',
whiteSpace: 'nowrap',
@ -1624,9 +1624,9 @@ export default {
const isEvenLayer = layerIndex % 2 === 0;
return {
position: 'absolute',
top: isEvenLayer ? '-15px' : 'calc(100% )',
top: isEvenLayer ? '-18px' : 'calc(100% )',
left: '50%',
transform: 'translateX(-50%)',
transform: 'translateX(-50%) scale(0.7)',
color: isYellow ? '#000' : '#333',
fontSize: '10px',
whiteSpace: 'nowrap',

Loading…
Cancel
Save