#
luxiaotao1123
2024-10-19 7cec4983a3a1881dd8c0b4a4366441ce828d37be
zy-acs-flow/src/map/tool.js
@@ -4,6 +4,7 @@
    DEVICE_TYPE,
    DEVICE_Z_INDEX,
    AGV_STATUS_MODE,
    DEVICE_SELECTED_EFFECT_PADDING,
} from './constants';
import shelf from '/map/shelf.svg';
@@ -102,7 +103,7 @@
            break;
    }
    if (sprite && deviceType !== DEVICE_TYPE.AGV) {
        sprite.blendMode = PIXI.BLEND_MODES.MULTIPLY;
        // sprite.blendMode = PIXI.BLEND_MODES.MULTIPLY;
    }
    return sprite;
}
@@ -337,10 +338,10 @@
    const { width, height } = sprite;
    const maxDimension = Math.max(width, height);
    const radius = (maxDimension / 2) + maxDimension / 5;
    const radius = (maxDimension / 2) + (DEVICE_SELECTED_EFFECT_PADDING[sprite.data?.type] || 10);
    const color = themeMode === 'light' ? 0x2f68ac : 0xffffff;
    const alpha = .5;
    const color = themeMode === 'light' ? '#40739e' : '#718093';
    const alpha = 1;
    effectCircle = new PIXI.Graphics();
    effectCircle.beginFill(color, alpha);