#
luxiaotao1123
2021-12-17 809e230e2a6a2e586df8788946fe98be81459361
static/js/app.js
@@ -16,7 +16,6 @@
      this.firstTime = 1;
      this.stats = null;
      this.goodTypes=[];//存储所有的库位类型
      this.wrkTasks = [];// 任务列表
      this.crnTasks = [];// 堆垛机列表
      this.time = 0;//标记堆垛机运行的时间
      this.progress = 0;
@@ -132,13 +131,13 @@
      }
      this.initBackground = function () {
         const cubeTextureLoader = new THREE.CubeTextureLoader();
         cubeTextureLoader.setPath( '../static/img/background/' );
         cubeTextureLoader.setPath( '../static/img/skybox/' );
         this.scene.background = cubeTextureLoader.load([
            "posx.jpg", "negx.jpg",
            "posy.jpg", "negy.jpg",
            "posz.jpg", "negz.jpg"
            "px.jpg", "nx.jpg",
            "py.jpg", "ny.jpg",
            "pz.jpg", "nz.jpg"
         ]);
         this.scene.background = new THREE.Color( 0xf0f0f0 );
         // this.scene.background = new THREE.Color( 0xf0f0f0 );
      }
      this.initReSize = function(object){
         window.addEventListener('resize', function () {