#
luxiaotao1123
2022-07-05 ff0b32d4483f19f55421b85ec28b100f58e13ac2
#
2个文件已修改
44 ■■■■■ 已修改文件
static/js/data/BuildingData.js 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/object/StoreGoods.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/data/BuildingData.js
@@ -15,22 +15,22 @@
                color: 0x5F7480,
            }
        },
        // {
        //     objectName: 'floor',
        //     objectType: 'cube',
        //     length: 2750,
        //     width: 600,
        //     height: 5,
        //     position: {
        //         x: 1375,
        //         y: 297,
        //         z: 300
        //     },
        //     style:{
        //         color: 0x5F7480,
        //         transparent:1,
        //         opacity:0.8
        //     }
        // }
        {
            objectName: 'floor',
            objectType: 'cube',
            length: 2750,
            width: 600,
            height: 5,
            position: {
                x: 1375,
                y: 297,
                z: 300
            },
            style:{
                color: 0x5F7480,
                transparent:1,
                opacity:0.35
            }
        }
    ]
}
static/js/object/StoreGoods.js
@@ -74,6 +74,11 @@
                        positionZ -= 138 + 20;
                        break
                    case 'roller':
                        positionX = ref.position.x || 0;
                        positionY = ref.position.y || 0;
                        positionZ = ref.position.z || 0;
                        positionY += 20;
                        break
                    default:
                        break
@@ -133,6 +138,11 @@
                        positionZ -= 138 + 20;
                        break
                    case 'roller':
                        positionX = ref.position.x || 0;
                        positionY = ref.position.y || 0;
                        positionZ = ref.position.z || 0;
                        positionY += 20;
                        break
                    default:
                        break