diff --git a/src/api/jlmap3d/assets3d.js b/src/api/jlmap3d/assets3d.js index 5ed519e70..c4c80c093 100644 --- a/src/api/jlmap3d/assets3d.js +++ b/src/api/jlmap3d/assets3d.js @@ -16,8 +16,8 @@ if(BASE_API == "https://test.joylink.club/jlcloud"){ }else{ // uploadurl = "https://joylink.club/jlfile"; // asseturl = "https://joylink.club/oss/joylink"; - uploadurl = "../static"; - asseturl = "../static"; + uploadurl = "../cbtc/static"; + asseturl = "../cbtc/static"; } const BASE_UPLOAD_API = uploadurl; export const BASE_ASSET_API = asseturl; diff --git a/src/jlmap3d/config/SetScene.js b/src/jlmap3d/config/SetScene.js index d3549cdd9..8953e0890 100644 --- a/src/jlmap3d/config/SetScene.js +++ b/src/jlmap3d/config/SetScene.js @@ -2,7 +2,7 @@ export function SetScene(project) { var scene = new THREE.Scene(); // var cubeTextureLoader = new THREE.CubeTextureLoader(); // - // cubeTextureLoader.setPath( '../../static/skybox/star/' ); + // cubeTextureLoader.setPath( '../../cbtc/static/skybox/star/' ); // // var cubeTexture = cubeTextureLoader.load( [ // 'px.png', 'nx.png', @@ -13,9 +13,9 @@ export function SetScene(project) { var bgTexture; // console.log(project); if(project == "login" || project == undefined){ - bgTexture = new THREE.TextureLoader().load("../../static/background/other.jpg"); + bgTexture = new THREE.TextureLoader().load("../../cbtc/static/background/other.jpg"); }else if(project == "heb"){ - bgTexture = new THREE.TextureLoader().load("../../static/background/other.jpg"); + bgTexture = new THREE.TextureLoader().load("../../cbtc/static/background/other.jpg"); } scene.background = bgTexture; // cubeTexture.dispos e(); diff --git a/src/jlmap3d/edit/connect/newgetmodels.js b/src/jlmap3d/edit/connect/newgetmodels.js index 3fe5afcce..3fd1d4391 100644 --- a/src/jlmap3d/edit/connect/newgetmodels.js +++ b/src/jlmap3d/edit/connect/newgetmodels.js @@ -46,7 +46,7 @@ export function getmodels(data) { packageName:"高位三灯信号机", deviceType:"SimulationSignal", type:"signal", - url:"../../static/MODEL/signal/d3d.FBX" + url:"../../cbtc/static/MODEL/signal/d3d.FBX" } assets.push(assetsignal); @@ -57,7 +57,7 @@ export function getmodels(data) { packageName:"6节列车", deviceType:"SimulationTrain", type:"train", - url:"../../static/MODEL/train/train.FBX" + url:"../../cbtc/static/MODEL/train/train.FBX" } assets.push(assettrain); @@ -67,8 +67,8 @@ export function getmodels(data) { packageName:"沙盘驾驶内侧站台", deviceType:"SimulationStation", type:"stationInside", - url:"../../static/MODEL/station/fuzhou.FBX" - }//"../../static/MODEL/station/fuzhou/fuzhou.FBX" + url:"../../cbtc/static/MODEL/station/fuzhou.FBX" + }//"../../cbtc/static/MODEL/station/fuzhou/fuzhou.FBX" assets.push(assetneicestation); let assetswitch = { @@ -77,7 +77,7 @@ export function getmodels(data) { packageName:"轨道通用道岔", deviceType:"SimulationSwitch", type:"switch", - url:"../../static/MODEL/auto/autoswitch.FBX" + url:"../../cbtc/static/MODEL/auto/autoswitch.FBX" } assets.push(assetswitch); @@ -87,7 +87,7 @@ export function getmodels(data) { packageName:"沙盘驾驶外侧站台", deviceType:"SimulationStation", type:"stationOutside", - url:"../../static/MODEL/station/waicestation.FBX" + url:"../../cbtc/static/MODEL/station/waicestation.FBX" } assets.push(assetwaicestation); @@ -97,7 +97,7 @@ export function getmodels(data) { packageName:"沙盘驾驶三站台", deviceType:"SimulationStation", type:"stationThree", - url:"../../static/MODEL/station/station3.FBX" + url:"../../cbtc/static/MODEL/station/station3.FBX" } assets.push(assetstation3); @@ -107,7 +107,7 @@ export function getmodels(data) { packageName:"隧道背景", deviceType:"SimulationBg", type:"suidao", - url:"../../static/MODEL/suidao/xiansuidao.FBX" + url:"../../cbtc/static/MODEL/suidao/xiansuidao.FBX" } assets.push(backgroundmodel); diff --git a/src/jlmap3d/edit/editmodel/TrainList.js b/src/jlmap3d/edit/editmodel/TrainList.js index cb5d049b9..f1ee86c87 100644 --- a/src/jlmap3d/edit/editmodel/TrainList.js +++ b/src/jlmap3d/edit/editmodel/TrainList.js @@ -19,10 +19,10 @@ export function TrainList() { // model THREE.Loader.Handlers.add( /\.dds$/i, new THREE.DDSLoader() ) ; for(let i=0;i { let mapnetdata = data.data; @@ -124,7 +124,7 @@ export function JLmap3dMaintainer(dom, data,skinCode,storemod,routegroup,project }else{ scope.datatype = "new"; - scope.jsonwebworknew = new Worker("../../static/workertest/maintainerworker.js"); + scope.jsonwebworknew = new Worker("../../cbtc/static/workertest/maintainerworker.js"); scope.Subscribe = new Maintainerconnect(scope,routegroup,scope.jsonwebworknew,lablecodemap); scope.Subscribe.socketon(scope.Subscribe.topic); MaintainerLoad(mapnetdata,scope,netdata.data,mapdata,camera,controls,scenesimulation,storemod); diff --git a/src/jlmap3d/jl3dmaintainer/utils/trainControl.js b/src/jlmap3d/jl3dmaintainer/utils/trainControl.js index a18375322..2211e01e6 100644 --- a/src/jlmap3d/jl3dmaintainer/utils/trainControl.js +++ b/src/jlmap3d/jl3dmaintainer/utils/trainControl.js @@ -7,7 +7,7 @@ export function TrainControl(){ // load a sound and set it as the Audio object's buffer let audioLoader = new THREE.AudioLoader(); - audioLoader.load( '../../static/audio/trainmove.ogg', function( buffer ) { + audioLoader.load( '../../cbtc/static/audio/trainmove.ogg', function( buffer ) { scope.sound.setBuffer( buffer ); scope.sound.setLoop( true ); scope.sound.setVolume( 3 ); diff --git a/src/jlmap3d/jl3dmaintainer/utils/vrgui.js b/src/jlmap3d/jl3dmaintainer/utils/vrgui.js index 3b0179ba9..d439c8e40 100644 --- a/src/jlmap3d/jl3dmaintainer/utils/vrgui.js +++ b/src/jlmap3d/jl3dmaintainer/utils/vrgui.js @@ -17,7 +17,7 @@ export function VrGui(){ var geometryPlane = new THREE.PlaneBufferGeometry( 1.4, 2, 16); - var texturePlane = new THREE.TextureLoader().load( '../../static/texture/devicemsgpane.png' ); + var texturePlane = new THREE.TextureLoader().load( '../../cbtc/static/texture/devicemsgpane.png' ); var materialPlane = new THREE.MeshBasicMaterial( { map: texturePlane, side: THREE.DoubleSide, @@ -36,7 +36,7 @@ export function VrGui(){ var geometryButtonPane = new THREE.PlaneBufferGeometry( 0.4, 0.2, 16 ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/buttonHome.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/buttonHome.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -48,7 +48,7 @@ export function VrGui(){ buttonHome.position.z = 0.02; plane.add( buttonHome ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/buttonStationList.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/buttonStationList.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -60,7 +60,7 @@ export function VrGui(){ buttonStationList.position.z = 0.02; plane.add( buttonStationList ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/buttonFaultList.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/buttonFaultList.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -78,7 +78,7 @@ export function VrGui(){ var geometryButtonPage = new THREE.PlaneBufferGeometry( 0.3, 0.1, 16 ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/buttonPrevious.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/buttonPrevious.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -90,7 +90,7 @@ export function VrGui(){ buttonPreviousFault.position.z = 0.02; scope.faultListGroup.add( buttonPreviousFault ); // - // var texture = new THREE.TextureLoader().load( '../../static/vrtest/nav.png' ); + // var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/nav.png' ); // var material = new THREE.MeshBasicMaterial( { // map: texture, // transparent: true, @@ -102,7 +102,7 @@ export function VrGui(){ // buttonPrevious.position.z = 0.02; // plane.add( buttonPrevious ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/buttonNext.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/buttonNext.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -114,7 +114,7 @@ export function VrGui(){ buttonNextFault.position.z = 0.02; scope.faultListGroup.add( buttonNextFault ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/buttonPrevious.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/buttonPrevious.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -127,7 +127,7 @@ export function VrGui(){ scope.stationListGroup.add( buttonPreviousStation ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/buttonNext.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/buttonNext.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -145,7 +145,7 @@ export function VrGui(){ var geometryButtonBox = new THREE.PlaneBufferGeometry( 0.25, 0.25, 16 ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/nav.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/nav.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -157,7 +157,7 @@ export function VrGui(){ button1.position.z = 0.02; scope.deviceGroup.add( button1 ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/anime.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/anime.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -171,7 +171,7 @@ export function VrGui(){ - var texture = new THREE.TextureLoader().load( '../../static/vrtest/reset.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/reset.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -183,7 +183,7 @@ export function VrGui(){ button2.position.z = 0.02; scope.deviceGroup.add( button2 ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/repire.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/repire.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -208,7 +208,7 @@ export function VrGui(){ var geometryButtonBox = new THREE.PlaneBufferGeometry( 0.3, 0.3, 16 ); - var textureshebei = new THREE.TextureLoader().load( '../../static/vrtest/shebei.png' ); + var textureshebei = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/shebei.png' ); var material = new THREE.MeshBasicMaterial( { map: textureshebei, transparent: true, @@ -220,7 +220,7 @@ export function VrGui(){ buttonShiBei.position.z = 0.02; plane.add( buttonShiBei ); - var texturezhankong = new THREE.TextureLoader().load( '../../static/vrtest/zhankong.png' ); + var texturezhankong = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/zhankong.png' ); var material = new THREE.MeshBasicMaterial( { map: texturezhankong, transparent: true, @@ -234,7 +234,7 @@ export function VrGui(){ - var texture = new THREE.TextureLoader().load( '../../static/vrtest/station1.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/station1.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -246,7 +246,7 @@ export function VrGui(){ buttonStation1.position.z = 0.02; plane.add( buttonStation1 ); - var texture = new THREE.TextureLoader().load( '../../static/vrtest/station2.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/vrtest/station2.png' ); var material = new THREE.MeshBasicMaterial( { map: texture, transparent: true, @@ -452,7 +452,7 @@ export function VrGui(){ var beauty = new Image(); - beauty.src = "../../static/texture/scene.png"; + beauty.src = "../../cbtc/static/texture/scene.png"; //canvas文字贴图方法 //PS:待提炼 增强功能 function getTextCanvas(text,type){ diff --git a/src/jlmap3d/jl3dmaintainer/utils/vrloader.js b/src/jlmap3d/jl3dmaintainer/utils/vrloader.js index 0995335b5..66923e424 100644 --- a/src/jlmap3d/jl3dmaintainer/utils/vrloader.js +++ b/src/jlmap3d/jl3dmaintainer/utils/vrloader.js @@ -6,42 +6,42 @@ export function ModelManagerVR(){ // code:"test", // locateType:"01", // mesh:null, - // url:"../../static/vrtest/vrtest.FBX" + // url:"../../cbtc/static/vrtest/vrtest.FBX" // }; this.stationIn = { code:"stationIn", locateType:"1", mesh:null, - url:"../../static/vrtest/stationIn.FBX" + url:"../../cbtc/static/vrtest/stationIn.FBX" }; this.stationOut = { code:"stationOut", locateType:"2", mesh:null, - url:"../../static/vrtest/stationIn.FBX" + url:"../../cbtc/static/vrtest/stationIn.FBX" }; this.otherDevice = { code:"otherDevice", locateType:"3", mesh:null, - url:"../../static/vrtest/otherDevice.FBX" + url:"../../cbtc/static/vrtest/otherDevice.FBX" }; this.train = { code:"train", locateType:"4", mesh:null, - url:"../../static/vrtest/vrTrain.FBX" + url:"../../cbtc/static/vrtest/vrTrain.FBX" }; this.human = { code:"human", locateType:"5", mesh:null, - url:"../../static/vrtest/vrHuman.FBX" + url:"../../cbtc/static/vrtest/vrHuman.FBX" }; this.loadpromise = function (mixers){ diff --git a/src/jlmap3d/jl3dpassflow/config.js b/src/jlmap3d/jl3dpassflow/config.js index 47cbb5bc3..690243e7d 100644 --- a/src/jlmap3d/jl3dpassflow/config.js +++ b/src/jlmap3d/jl3dpassflow/config.js @@ -5,16 +5,16 @@ var Staticmodel = { deviceType: "man", type: "man", picUrl: "", - assetUrl: "../../static/MODEL/passflow/man1.FBX" + assetUrl: "../../cbtc/static/MODEL/passflow/man1.FBX" },//"https://joylink.club/oss/wx/switch/switch.FBX" - //../../static/MODEL/device/switch.FBX + //../../cbtc/static/MODEL/device/switch.FBX man2: { id: "2", name: "人物2", deviceType: "man", type: "man", picUrl: "", - assetUrl: "../../static/MODEL/passflow/man2.FBX" + assetUrl: "../../cbtc/static/MODEL/passflow/man2.FBX" }, station: { id: "3", @@ -22,7 +22,7 @@ var Staticmodel = { deviceType: "station", type: "hrb", picUrl: "", - assetUrl: "../../static/MODEL/passflow/station.FBX" + assetUrl: "../../cbtc/static/MODEL/passflow/station.FBX" }, zhajiin: { id: "4", @@ -30,7 +30,7 @@ var Staticmodel = { deviceType: "zhajiin", type: "hrb", picUrl: "", - assetUrl: "../../static/MODEL/passflow/zhajiin.FBX" + assetUrl: "../../cbtc/static/MODEL/passflow/zhajiin.FBX" }, zhajiout: { id: "5", @@ -38,7 +38,7 @@ var Staticmodel = { deviceType: "zhajiout", type: "hrb", picUrl: "", - assetUrl: "../../static/MODEL/passflow/zhajiout.FBX" + assetUrl: "../../cbtc/static/MODEL/passflow/zhajiout.FBX" }, monitor: { id: "6", @@ -46,7 +46,7 @@ var Staticmodel = { deviceType: "monitor", type: "hrb", picUrl: "", - assetUrl: "../../static/MODEL/passflow/monitor.FBX" + assetUrl: "../../cbtc/static/MODEL/passflow/monitor.FBX" }, train: { id: "7", @@ -54,7 +54,7 @@ var Staticmodel = { deviceType: "train", type: "hrb", picUrl: "", - assetUrl: "../../static/MODEL/train/train.FBX" + assetUrl: "../../cbtc/static/MODEL/train/train.FBX" }, section: { id: "8", @@ -62,7 +62,7 @@ var Staticmodel = { deviceType: "section", type: "hrb", picUrl: "", - assetUrl: "../../static/MODEL/passflow/section.FBX" + assetUrl: "../../cbtc/static/MODEL/passflow/section.FBX" }, diff --git a/src/jlmap3d/jl3dpassflow/jl3dpassflownew.js b/src/jlmap3d/jl3dpassflow/jl3dpassflownew.js index f5a3d4ce4..08e43ecff 100644 --- a/src/jlmap3d/jl3dpassflow/jl3dpassflownew.js +++ b/src/jlmap3d/jl3dpassflow/jl3dpassflownew.js @@ -52,8 +52,8 @@ let zhajiout = []; let deviceaction = []; -// let passerwebwork = new Worker("../../static/workertest/passsimulation/passer.js"); -let stationwebwork = new Worker("../../static/workertest/passsimulation/station.js"); +// let passerwebwork = new Worker("../../cbtc/static/workertest/passsimulation/passer.js"); +let stationwebwork = new Worker("../../cbtc/static/workertest/passsimulation/station.js"); let stationzon = new ZoneManager(); //老版本临时ai控制 @@ -297,7 +297,7 @@ export function Jl3dpassflow(dom,skinCode,routegroup,viewMap) { // load a resource loader.load( // resource URL - '../../static/jl3d/path/path.obj', + '../../cbtc/static/jl3d/path/path.obj', // called when resource is loaded function ( object ) { diff --git a/src/jlmap3d/jl3dsimulation/jlmap3d.js b/src/jlmap3d/jl3dsimulation/jlmap3d.js index 192002b2d..90bc24bde 100644 --- a/src/jlmap3d/jl3dsimulation/jlmap3d.js +++ b/src/jlmap3d/jl3dsimulation/jlmap3d.js @@ -103,7 +103,7 @@ export function JLmap3d(dom, data,skinCode,storemod,routegroup,project) { //连接到通信 //console.log(this.Subscribe.config); - this.webwork = new Worker("../../static/workertest/trainworker.js"); + this.webwork = new Worker("../../cbtc/static/workertest/trainworker.js"); //初始化加载数据和模型getPublishMapDetail getPublishMapDetail(skinCode).then(data => { let mapnetdata = data.data; @@ -111,14 +111,14 @@ export function JLmap3d(dom, data,skinCode,storemod,routegroup,project) { let assetsdata = JSON.parse(netdata.data.sections); if(assetsdata.link){ scope.datatype = "old"; - scope.jsonwebwork = new Worker("../../static/workertest/jsonworker.js"); + scope.jsonwebwork = new Worker("../../cbtc/static/workertest/jsonworker.js"); scope.Subscribe = new Jlmap3dSubscribe(scope,routegroup,scope.jsonwebwork); scope.Subscribe.socketon(scope.Subscribe.topic); SimulationLoad(mapnetdata,scope,netdata.data,mapdata,camera,controls,scenesimulation,storemod); }else{ scope.datatype = "new"; - scope.jsonwebworknew = new Worker("../../static/workertest/jsonworkernew.js"); + scope.jsonwebworknew = new Worker("../../cbtc/static/workertest/jsonworkernew.js"); scope.Subscribe = new Jlmap3dSubscribeNew(scope,routegroup,scope.jsonwebworknew); scope.Subscribe.socketon(scope.Subscribe.topic); SimulationLoadNew(mapnetdata,scope,netdata.data,mapdata,camera,controls,scenesimulation,storemod); diff --git a/src/jlmap3d/main/loaders/AssetLoader.js b/src/jlmap3d/main/loaders/AssetLoader.js index bf009a709..f0c921d89 100644 --- a/src/jlmap3d/main/loaders/AssetLoader.js +++ b/src/jlmap3d/main/loaders/AssetLoader.js @@ -11,7 +11,7 @@ let defaultsignal = { deviceType:"signal", type:"low", picUrl:"", - url:"../../static/MODEL/signal/d3d.FBX" + url:"../../cbtc/static/MODEL/signal/d3d.FBX" } let defaulttrain = { @@ -20,7 +20,7 @@ let defaulttrain = { deviceType:"train", type:"num4", picUrl:"", - url:"../../static/MODEL/train/train.FBX" + url:"../../cbtc/static/MODEL/train/train.FBX" } @@ -30,15 +30,15 @@ let defaultstation = { deviceType:"stand", type:"num4", picUrl:"", - url:"../../static/MODEL/station/fuzhou.FBX" -}//"../../static/MODEL/station/fuzhou/fuzhou.FBX" + url:"../../cbtc/static/MODEL/station/fuzhou.FBX" +}//"../../cbtc/static/MODEL/station/fuzhou/fuzhou.FBX" let waicestation = { id:"10", name:"外侧车站", deviceType:"standwaice", type:"num4", picUrl:"", - url:"../../static/MODEL/station/waicestation.FBX" + url:"../../cbtc/static/MODEL/station/waicestation.FBX" } let station3 = { id:"10000", @@ -46,12 +46,12 @@ let station3 = { deviceType:"station3", type:"num4", picUrl:"", - url:"../../static/MODEL/station/station3.FBX" + url:"../../cbtc/static/MODEL/station/station3.FBX" } -//"../../static/MODEL/station/fuzhou/fuzhou.FBX" +//"../../cbtc/static/MODEL/station/fuzhou/fuzhou.FBX" //https://test.joylink.club/oss/station/fuzhou/fuzhou.FBX //https://joylink.club/oss/station/fuzhou/fuzhou.FBX -//../../static/MODEL/station/zhantai715(2).FBX +//../../cbtc/static/MODEL/station/zhantai715(2).FBX let defaultswitch = { id:"11", @@ -59,7 +59,7 @@ let defaultswitch = { deviceType:"switch", type:"fuzhou", picUrl:"", - url:"../../static/MODEL/daocha/daocha.FBX" + url:"../../cbtc/static/MODEL/daocha/daocha.FBX" } @@ -69,7 +69,7 @@ let defaultsuidao = { deviceType:"suidao", type:"suidao", picUrl:"", - url:"../../static/MODEL/suidao/suidao.FBX" + url:"../../cbtc/static/MODEL/suidao/suidao.FBX" } let hebsuidao = { @@ -78,7 +78,7 @@ let hebsuidao = { deviceType:"hebsuidao", type:"hebsuidao", picUrl:"", - url:"../../static/MODEL/suidao/hebsuidao.FBX" + url:"../../cbtc/static/MODEL/suidao/hebsuidao.FBX" } let nbsuidao = { id:"1010", @@ -86,7 +86,7 @@ let nbsuidao = { deviceType:"nbsuidao", type:"nbsuidao", picUrl:"", - url:"../../static/MODEL/suidao/nbsuidao.FBX" + url:"../../cbtc/static/MODEL/suidao/nbsuidao.FBX" } let defaultbackground = { id:"16", @@ -94,12 +94,12 @@ let defaultbackground = { deviceType:"background", type:"background", picUrl:"", - url:"../../static/MODEL/suidao/background.FBX" + url:"../../cbtc/static/MODEL/suidao/background.FBX" } -//"../../static/MODEL/suidao/suidao.FBX" +//"../../cbtc/static/MODEL/suidao/suidao.FBX" //https://test.joylink.club/oss/suidao/suidao.FBX //https://joylink.club/oss/suidao/suidao.FBX -//../../static/MODEL/suidao/suidao.FBX +//../../cbtc/static/MODEL/suidao/suidao.FBX let defaultautorail = { id:"100", @@ -107,7 +107,7 @@ let defaultautorail = { deviceType:"autorail", type:"autorail", picUrl:"", - url:"../../static/MODEL/auto/rail.FBX" + url:"../../cbtc/static/MODEL/auto/rail.FBX" } let autoswitch = { @@ -116,7 +116,7 @@ let autoswitch = { deviceType:"autoswitch", type:"fuzhou", picUrl:"", - url:"../../static/MODEL/auto/autoswitch.FBX" + url:"../../cbtc/static/MODEL/auto/autoswitch.FBX" } let autoswitch1 = { @@ -125,7 +125,7 @@ let autoswitch1 = { deviceType:"autoswitch1", type:"fuzhou", picUrl:"", - url:"../../static/MODEL/auto/switch1.FBX" + url:"../../cbtc/static/MODEL/auto/switch1.FBX" } let autoswitch2 = { @@ -134,7 +134,7 @@ let autoswitch2 = { deviceType:"autoswitch2", type:"fuzhou", picUrl:"", - url:"../../static/MODEL/auto/switch2.FBX" + url:"../../cbtc/static/MODEL/auto/switch2.FBX" } export function AssetLoader(){ diff --git a/src/jlmap3d/main/loaders/Materialload.js b/src/jlmap3d/main/loaders/Materialload.js index c2bf7f0dd..cb065aa30 100644 --- a/src/jlmap3d/main/loaders/Materialload.js +++ b/src/jlmap3d/main/loaders/Materialload.js @@ -2,13 +2,13 @@ import { BASE_ASSET_API } from '@/api/jlmap3d/assets3d.js'; export function Materialload(jlmap3dedit,standTextureData){ if(jlmap3dedit.materiallist){ - settexture(jlmap3dedit.materiallist,"red",'../../static/material/signal/1.jpg'); + settexture(jlmap3dedit.materiallist,"red",'../../cbtc/static/material/signal/1.jpg'); - settexture(jlmap3dedit.materiallist,"yellow",'../../static/material/signal/2.jpg'); + settexture(jlmap3dedit.materiallist,"yellow",'../../cbtc/static/material/signal/2.jpg'); - settexture( jlmap3dedit.materiallist,"green",'../../static/material/signal/3.jpg'); + settexture( jlmap3dedit.materiallist,"green",'../../cbtc/static/material/signal/3.jpg'); - settexture( jlmap3dedit.materiallist,"black",'../../static/material/signal/5.jpg'); + settexture( jlmap3dedit.materiallist,"black",'../../cbtc/static/material/signal/5.jpg'); } if(standTextureData.urls.length > 1){ @@ -20,98 +20,98 @@ export function Materialload(jlmap3dedit,standTextureData){ // if(assettype){ // if(assettype.stationtexture == "xian3"){ // if(jlmap3dedit.stationtexture){ - // setstationtexture(jlmap3dedit.stationtexture,"stationlist",'../../static/texture/xian3/xian3list.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"pingbimen",'../../static/texture/xian3/pingbimen.png'); - // setstationtexture(jlmap3dedit.stationtexture,"Station18000",'../../static/texture/xian3/Station18000.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station61238",'../../static/texture/xian3/Station61238.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station41790",'../../static/texture/xian3/Station41790.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station67945",'../../static/texture/xian3/Station67945.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station85598",'../../static/texture/xian3/Station85598.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station4324",'../../static/texture/xian3/Station4324.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station55755",'../../static/texture/xian3/Station55755.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station53597",'../../static/texture/xian3/Station53597.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station68029",'../../static/texture/xian3/Station68029.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station17596",'../../static/texture/xian3/Station17596.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station66742",'../../static/texture/xian3/Station66742.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station90701",'../../static/texture/xian3/Station90701.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station90652",'../../static/texture/xian3/Station90652.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station54200",'../../static/texture/xian3/Station54200.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station19253",'../../static/texture/xian3/Station19253.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station37821",'../../static/texture/xian3/Station37821.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station47557",'../../static/texture/xian3/Station47557.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station78551",'../../static/texture/xian3/Station78551.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station64474",'../../static/texture/xian3/Station64474.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station21203",'../../static/texture/xian3/Station21203.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station34499",'../../static/texture/xian3/Station34499.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station571",'../../static/texture/xian3/Station571.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station99903",'../../static/texture/xian3/Station99903.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station43447",'../../static/texture/xian3/Station43447.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station67917",'../../static/texture/xian3/Station67917.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station60649",'../../static/texture/xian3/Station60649.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"stationlist",'../../cbtc/static/texture/xian3/xian3list.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"pingbimen",'../../cbtc/static/texture/xian3/pingbimen.png'); + // setstationtexture(jlmap3dedit.stationtexture,"Station18000",'../../cbtc/static/texture/xian3/Station18000.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station61238",'../../cbtc/static/texture/xian3/Station61238.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station41790",'../../cbtc/static/texture/xian3/Station41790.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station67945",'../../cbtc/static/texture/xian3/Station67945.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station85598",'../../cbtc/static/texture/xian3/Station85598.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station4324",'../../cbtc/static/texture/xian3/Station4324.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station55755",'../../cbtc/static/texture/xian3/Station55755.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station53597",'../../cbtc/static/texture/xian3/Station53597.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station68029",'../../cbtc/static/texture/xian3/Station68029.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station17596",'../../cbtc/static/texture/xian3/Station17596.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station66742",'../../cbtc/static/texture/xian3/Station66742.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station90701",'../../cbtc/static/texture/xian3/Station90701.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station90652",'../../cbtc/static/texture/xian3/Station90652.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station54200",'../../cbtc/static/texture/xian3/Station54200.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station19253",'../../cbtc/static/texture/xian3/Station19253.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station37821",'../../cbtc/static/texture/xian3/Station37821.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station47557",'../../cbtc/static/texture/xian3/Station47557.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station78551",'../../cbtc/static/texture/xian3/Station78551.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station64474",'../../cbtc/static/texture/xian3/Station64474.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station21203",'../../cbtc/static/texture/xian3/Station21203.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station34499",'../../cbtc/static/texture/xian3/Station34499.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station571",'../../cbtc/static/texture/xian3/Station571.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station99903",'../../cbtc/static/texture/xian3/Station99903.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station43447",'../../cbtc/static/texture/xian3/Station43447.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station67917",'../../cbtc/static/texture/xian3/Station67917.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station60649",'../../cbtc/static/texture/xian3/Station60649.jpg'); // } // } // if(assettype.stationtexture == "haerbin1"){ // if(jlmap3dedit.stationtexture){ - // setstationtexture(jlmap3dedit.stationtexture,"stationlist",'../../static/texture/heb/haerbinlist.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"pingbimen",'../../static/texture/heb/pingbimen.png'); - // setstationtexture(jlmap3dedit.stationtexture,"Station5361",'../../static/texture/heb/Station5361.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station11094",'../../static/texture/heb/Station11094.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station11136",'../../static/texture/heb/Station11136.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station17293",'../../static/texture/heb/Station17293.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station18398",'../../static/texture/heb/Station18398.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station22163",'../../static/texture/heb/Station22163.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station25464",'../../static/texture/heb/Station25464.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station28090",'../../static/texture/heb/Station28090.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station41999",'../../static/texture/heb/Station41999.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station44338",'../../static/texture/heb/Station44338.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station46464",'../../static/texture/heb/Station46464.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station50565",'../../static/texture/heb/Station50565.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station60068",'../../static/texture/heb/Station60068.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station62429",'../../static/texture/heb/Station62429.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station64444",'../../static/texture/heb/Station64444.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station71700",'../../static/texture/heb/Station71700.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station72132",'../../static/texture/heb/Station72132.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station78164",'../../static/texture/heb/Station78164.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station79537",'../../static/texture/heb/Station79537.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station82618",'../../static/texture/heb/Station82618.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station85520",'../../static/texture/heb/Station85520.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station89483",'../../static/texture/heb/Station89483.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station96090",'../../static/texture/heb/Station96090.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"stationlist",'../../cbtc/static/texture/heb/haerbinlist.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"pingbimen",'../../cbtc/static/texture/heb/pingbimen.png'); + // setstationtexture(jlmap3dedit.stationtexture,"Station5361",'../../cbtc/static/texture/heb/Station5361.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station11094",'../../cbtc/static/texture/heb/Station11094.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station11136",'../../cbtc/static/texture/heb/Station11136.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station17293",'../../cbtc/static/texture/heb/Station17293.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station18398",'../../cbtc/static/texture/heb/Station18398.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station22163",'../../cbtc/static/texture/heb/Station22163.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station25464",'../../cbtc/static/texture/heb/Station25464.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station28090",'../../cbtc/static/texture/heb/Station28090.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station41999",'../../cbtc/static/texture/heb/Station41999.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station44338",'../../cbtc/static/texture/heb/Station44338.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station46464",'../../cbtc/static/texture/heb/Station46464.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station50565",'../../cbtc/static/texture/heb/Station50565.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station60068",'../../cbtc/static/texture/heb/Station60068.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station62429",'../../cbtc/static/texture/heb/Station62429.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station64444",'../../cbtc/static/texture/heb/Station64444.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station71700",'../../cbtc/static/texture/heb/Station71700.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station72132",'../../cbtc/static/texture/heb/Station72132.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station78164",'../../cbtc/static/texture/heb/Station78164.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station79537",'../../cbtc/static/texture/heb/Station79537.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station82618",'../../cbtc/static/texture/heb/Station82618.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station85520",'../../cbtc/static/texture/heb/Station85520.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station89483",'../../cbtc/static/texture/heb/Station89483.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station96090",'../../cbtc/static/texture/heb/Station96090.jpg'); // } // } // if(assettype.stationtexture == "nb1"){ // if(jlmap3dedit.stationtexture){ - // setstationtexture(jlmap3dedit.stationtexture,"stationlist",'../../static/texture/nb1/nb1list.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"pingbimen",'../../static/texture/nb1/pingbimen.png'); - // setstationtexture(jlmap3dedit.stationtexture,"Station1533",'../../static/texture/nb1/Station1533.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station11231",'../../static/texture/nb1/Station11231.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station12421",'../../static/texture/nb1/Station12421.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station16356",'../../static/texture/nb1/Station16356.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station18678",'../../static/texture/nb1/Station18678.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station19817",'../../static/texture/nb1/Station19817.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station23567",'../../static/texture/nb1/Station23567.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station24903",'../../static/texture/nb1/Station24903.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station26416",'../../static/texture/nb1/Station26416.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station27207",'../../static/texture/nb1/Station27207.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station28032",'../../static/texture/nb1/Station28032.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station28958",'../../static/texture/nb1/Station28958.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station30520",'../../static/texture/nb1/Station30520.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station32955",'../../static/texture/nb1/Station32955.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station38286",'../../static/texture/nb1/Station38286.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station38674",'../../static/texture/nb1/Station38674.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station44173",'../../static/texture/nb1/Station44173.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station63100",'../../static/texture/nb1/Station63100.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station69378",'../../static/texture/nb1/Station69378.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station72310",'../../static/texture/nb1/Station72310.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station72764",'../../static/texture/nb1/Station72764.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station75414",'../../static/texture/nb1/Station75414.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station75494",'../../static/texture/nb1/Station75494.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station75703",'../../static/texture/nb1/Station75703.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station78392",'../../static/texture/nb1/Station78392.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station81700",'../../static/texture/nb1/Station81700.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station84098",'../../static/texture/nb1/Station84098.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station86112",'../../static/texture/nb1/Station86112.jpg'); - // setstationtexture(jlmap3dedit.stationtexture,"Station99584",'../../static/texture/nb1/Station99584.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"stationlist",'../../cbtc/static/texture/nb1/nb1list.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"pingbimen",'../../cbtc/static/texture/nb1/pingbimen.png'); + // setstationtexture(jlmap3dedit.stationtexture,"Station1533",'../../cbtc/static/texture/nb1/Station1533.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station11231",'../../cbtc/static/texture/nb1/Station11231.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station12421",'../../cbtc/static/texture/nb1/Station12421.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station16356",'../../cbtc/static/texture/nb1/Station16356.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station18678",'../../cbtc/static/texture/nb1/Station18678.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station19817",'../../cbtc/static/texture/nb1/Station19817.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station23567",'../../cbtc/static/texture/nb1/Station23567.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station24903",'../../cbtc/static/texture/nb1/Station24903.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station26416",'../../cbtc/static/texture/nb1/Station26416.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station27207",'../../cbtc/static/texture/nb1/Station27207.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station28032",'../../cbtc/static/texture/nb1/Station28032.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station28958",'../../cbtc/static/texture/nb1/Station28958.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station30520",'../../cbtc/static/texture/nb1/Station30520.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station32955",'../../cbtc/static/texture/nb1/Station32955.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station38286",'../../cbtc/static/texture/nb1/Station38286.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station38674",'../../cbtc/static/texture/nb1/Station38674.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station44173",'../../cbtc/static/texture/nb1/Station44173.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station63100",'../../cbtc/static/texture/nb1/Station63100.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station69378",'../../cbtc/static/texture/nb1/Station69378.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station72310",'../../cbtc/static/texture/nb1/Station72310.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station72764",'../../cbtc/static/texture/nb1/Station72764.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station75414",'../../cbtc/static/texture/nb1/Station75414.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station75494",'../../cbtc/static/texture/nb1/Station75494.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station75703",'../../cbtc/static/texture/nb1/Station75703.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station78392",'../../cbtc/static/texture/nb1/Station78392.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station81700",'../../cbtc/static/texture/nb1/Station81700.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station84098",'../../cbtc/static/texture/nb1/Station84098.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station86112",'../../cbtc/static/texture/nb1/Station86112.jpg'); + // setstationtexture(jlmap3dedit.stationtexture,"Station99584",'../../cbtc/static/texture/nb1/Station99584.jpg'); // } // } // } diff --git a/src/jlmap3d/main/model/StationStandList.js b/src/jlmap3d/main/model/StationStandList.js index 623a24a29..03bd2a46f 100644 --- a/src/jlmap3d/main/model/StationStandList.js +++ b/src/jlmap3d/main/model/StationStandList.js @@ -226,7 +226,7 @@ export function StationStandList() { //canvas文字贴图方法 //PS:待提炼 增强功能 var stationcanvas = new Image(); -stationcanvas.src = "../../static/texture/msgt.png"; +stationcanvas.src = "../../cbtc/static/texture/msgt.png"; function getTextCanvas(text){ let canvas = document.getElementById('canvastexture'); diff --git a/src/jlmap3d/main/model/TrainList.js b/src/jlmap3d/main/model/TrainList.js index 61d508cf8..d39cf7e5f 100644 --- a/src/jlmap3d/main/model/TrainList.js +++ b/src/jlmap3d/main/model/TrainList.js @@ -213,7 +213,7 @@ let onProgress = function ( xhr ) { let onError = function () { }; var beauty = new Image(); -beauty.src = "../../static/texture/guide.png"; +beauty.src = "../../cbtc/static/texture/guide.png"; //canvas文字贴图方法 //PS:待提炼 增强功能 function getTextCanvas(text){ diff --git a/src/jlmap3d/main/newmodel/SectionListN.js b/src/jlmap3d/main/newmodel/SectionListN.js index f7c1992e3..39680f6a1 100644 --- a/src/jlmap3d/main/newmodel/SectionListN.js +++ b/src/jlmap3d/main/newmodel/SectionListN.js @@ -19,7 +19,7 @@ export function SectionListN() { var autorail; this.loadpromise = function(sectionList,sectiondata,rails,scene,assetloader){ - var texture = new THREE.TextureLoader().load( '../../static/test/z0251.png' ); + var texture = new THREE.TextureLoader().load( '../../cbtc/static/test/z0251.png' ); texture.wrapS = texture.wrapT = THREE.RepeatWrapping; texture.repeat.set( 1,1); diff --git a/src/jlmap3d/main/newmodel/StationStandListN.js b/src/jlmap3d/main/newmodel/StationStandListN.js index 2be893ed6..9a1bca090 100644 --- a/src/jlmap3d/main/newmodel/StationStandListN.js +++ b/src/jlmap3d/main/newmodel/StationStandListN.js @@ -401,7 +401,7 @@ export function StationStandListN() { //canvas文字贴图方法 //PS:待提炼 增强功能 var stationcanvas = new Image(); -stationcanvas.src = "../../static/texture/msgtnew.png"; +stationcanvas.src = "../../cbtc/static/texture/msgtnew.png"; function getTextCanvas(text){ let canvas = document.getElementById('canvastexture'); diff --git a/src/jlmap3d/main/newmodel/TrainListN.js b/src/jlmap3d/main/newmodel/TrainListN.js index 728525a9f..562098fa5 100644 --- a/src/jlmap3d/main/newmodel/TrainListN.js +++ b/src/jlmap3d/main/newmodel/TrainListN.js @@ -415,7 +415,7 @@ let onProgress = function ( xhr ) { let onError = function () { }; var beauty = new Image(); -beauty.src = "../../static/texture/guidenew.png"; +beauty.src = "../../cbtc/static/texture/guidenew.png"; //canvas文字贴图方法 //PS:待提炼 增强功能 function getTextCanvas(text){ diff --git a/src/views/iscs/iscsDesign/demonList.vue b/src/views/iscs/iscsDesign/demonList.vue index bf20b6f1d..f8c25d490 100644 --- a/src/views/iscs/iscsDesign/demonList.vue +++ b/src/views/iscs/iscsDesign/demonList.vue @@ -105,30 +105,102 @@ export default { id: 'environment', type: 'totalSystem', children: [ - { - name: '大系统', + { + name: '车站模式管理器', mode: 'environment02', id: 'environmentOne', type: 'interface' - }, - { - name: '冷水系统', + }, + { + name: '时间表管理器', mode: 'environment02', id: 'environmentTwo', type: 'interface' - }, - { - name: '隧道通风系统', + }, + { + name: '隧道通风系统', mode: 'environment02', id: 'environmentThree', type: 'interface' - }, + }, { - name: '车站小系统1', + name: '大系统', mode: 'environment02', id: 'environmentFour', type: 'interface' - } + }, + { + name: '小系统', + mode: 'environment02', + id: 'environmentFive', + type: 'interface' + }, + { + name: '空调水系统', + mode: 'environment02', + id: 'environmentSix', + type: 'interface' + }, + { + name: 'VRV多联空调', + mode: 'environment02', + id: 'environmentSeven', + type: 'interface' + }, + { + name: '给排水系统', + mode: 'environment02', + id: 'environmentEight', + type: 'interface' + }, + { + name: '照明系统', + mode: 'environment02', + id: 'environmentNine', + type: 'interface' + }, + { + name: '电扶梯系统', + mode: 'environment02', + id: 'environmentTen', + type: 'interface' + }, + { + name: '人防门', + mode: 'environment02', + id: 'environmentEleven', + type: 'interface' + }, + { + name: '防淹门', + mode: 'environment02', + id: 'environmentTwelve', + type: 'interface' + }, + { + name: '传感器', + mode: 'environment02', + id: 'environmentThirteen', + type: 'interface' + }, + { + name: 'BAS网络诊断', + mode: 'environment02', + id: 'environmentFourteen', + type: 'interface' + }, + { + name: '隧道阻塞模式管理器', + mode: 'environment02', + id: 'environmentFifteen', + type: 'interface' + }, + { + name: '隧道火灾模式管理器', + mode: 'environment02', + id: 'environmentSixteen', + type: 'interface' + } ] }, { diff --git a/src/views/jlmap3d/device/component/devicelist.vue b/src/views/jlmap3d/device/component/devicelist.vue index 39286d6db..7575146e2 100644 --- a/src/views/jlmap3d/device/component/devicelist.vue +++ b/src/views/jlmap3d/device/component/devicelist.vue @@ -89,7 +89,7 @@ export default { // background-color: #FFFFFF; // border-radius:5px; - background-image:url("/static/texture/devicelistpane.png"); + background-image:url("/cbtc/static/texture/devicelistpane.png"); background-repeat: no-repeat; overflow: hidden; background-size:90% 100%; diff --git a/src/views/jlmap3d/device/component/devicemsg.vue b/src/views/jlmap3d/device/component/devicemsg.vue index 5afbd1c44..cf01ab7f6 100644 --- a/src/views/jlmap3d/device/component/devicemsg.vue +++ b/src/views/jlmap3d/device/component/devicemsg.vue @@ -63,7 +63,7 @@ export default { width: 20%; height: 70%; z-index: 10; - background-image:url("/static/texture/devicemsgpane.png"); + background-image:url("/cbtc/static/texture/devicemsgpane.png"); background-repeat:no-repeat; background-size: 90% 100%; diff --git a/src/views/jlmap3d/device/jl3ddevice.vue b/src/views/jlmap3d/device/jl3ddevice.vue index 2cd004e93..8af4bc52f 100644 --- a/src/views/jlmap3d/device/jl3ddevice.vue +++ b/src/views/jlmap3d/device/jl3ddevice.vue @@ -253,7 +253,7 @@ position: absolute; right:60px; top:5px; - background-image:url("/static/texture/fk.png"); + background-image:url("/cbtc/static/texture/fk.png"); background-repeat:no-repeat; background-size:100%; } @@ -263,7 +263,7 @@ position: absolute; right:15px; top:5px; - background-image:url("/static/texture/xx.png"); + background-image:url("/cbtc/static/texture/xx.png"); background-repeat:no-repeat; background-size:100%; } diff --git a/src/views/jlmap3d/devicetrain/component/devicetrainmenu.vue b/src/views/jlmap3d/devicetrain/component/devicetrainmenu.vue index d89ba936c..86e559bd3 100644 --- a/src/views/jlmap3d/devicetrain/component/devicetrainmenu.vue +++ b/src/views/jlmap3d/devicetrain/component/devicetrainmenu.vue @@ -94,7 +94,7 @@ export default { width: 20%; height: 100%; background-color: #FFFFFF; - // background-image:url("/static/texture/menu.png"); + // background-image:url("/cbtc/static/texture/menu.png"); // background-repeat: no-repeat; // background-size: 100%; // border-radius:5px; diff --git a/src/views/jlmap3d/devicetrain/jl3ddevicetrain.vue b/src/views/jlmap3d/devicetrain/jl3ddevicetrain.vue index aae5efe36..a42db2c45 100644 --- a/src/views/jlmap3d/devicetrain/jl3ddevicetrain.vue +++ b/src/views/jlmap3d/devicetrain/jl3ddevicetrain.vue @@ -466,7 +466,7 @@ width: 20%; height: 40%; z-index: 10; - background-image:url("/static/texture/showmsg.png"); + background-image:url("/cbtc/static/texture/showmsg.png"); background-repeat: no-repeat; background-size: 100%; @@ -485,7 +485,7 @@ background-color: #409EFF; border-radius: 4px; color: #FFFFFF - /* background-image:url("/static/texture/menu.png"); */ + /* background-image:url("/cbtc/static/texture/menu.png"); */ /* background-repeat: no-repeat; */ /* background-size: 100%; */ } diff --git a/src/views/jlmap3d/drive/drivecontrol/centerpane.vue b/src/views/jlmap3d/drive/drivecontrol/centerpane.vue index 9d78f477c..c811259d8 100644 --- a/src/views/jlmap3d/drive/drivecontrol/centerpane.vue +++ b/src/views/jlmap3d/drive/drivecontrol/centerpane.vue @@ -55,12 +55,12 @@ touchcontrol:true, touchstate:"Neutral", toutransform:"rotate(175deg)", - start:"/static/jl3d/control/start.png", - direct:"/static/jl3d/control/direct.png", - directz:"/static/jl3d/control/directfront.png", - directoffpng:"/static/jl3d/control/directoff.png", - pane:"/static/jl3d/control/pane.png", - lg:"/static/jl3d/control/lg.png", + start:"/cbtc/static/jl3d/control/start.png", + direct:"/cbtc/static/jl3d/control/direct.png", + directz:"/cbtc/static/jl3d/control/directfront.png", + directoffpng:"/cbtc/static/jl3d/control/directoff.png", + pane:"/cbtc/static/jl3d/control/pane.png", + lg:"/cbtc/static/jl3d/control/lg.png", iconrotate:45,//旋转deg icontranslateX:100,//沿x轴位移px diff --git a/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue b/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue index 3dd9a6357..93306c922 100644 --- a/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue +++ b/src/views/jlmap3d/drive/drivecontrol/drivecontrol.vue @@ -368,7 +368,7 @@ import axios from 'axios'; bottom:0; position: absolute; background-size: 100% 100%; - background-image: url('/static/jl3d/control/scene.png'); + background-image: url('/cbtc/static/jl3d/control/scene.png'); border-radius:10px; } .panebutton{ diff --git a/src/views/jlmap3d/drive/drivecontrol/leftpane.vue b/src/views/jlmap3d/drive/drivecontrol/leftpane.vue index f121eef3c..1727dc8e2 100644 --- a/src/views/jlmap3d/drive/drivecontrol/leftpane.vue +++ b/src/views/jlmap3d/drive/drivecontrol/leftpane.vue @@ -92,16 +92,16 @@ data() { return { - apoimg:"/static/jl3d/control/green.png", - greenzimg:"/static/jl3d/control/greenz.png", - redzimg:"/static/jl3d/control/redz.png", - greenimg:"/static/jl3d/control/green.png", - redimg:"/static/jl3d/control/red.png", - greenlimg:"/static/jl3d/control/greenl.png", - grayimg:"/static/jl3d/control/gray.png", - zuoimg:"/static/jl3d/control/zuo.png", - niuimg:"/static/jl3d/control/niu.png", - aircomimg:"/static/jl3d/control/aircom.png", + apoimg:"/cbtc/static/jl3d/control/green.png", + greenzimg:"/cbtc/static/jl3d/control/greenz.png", + redzimg:"/cbtc/static/jl3d/control/redz.png", + greenimg:"/cbtc/static/jl3d/control/green.png", + redimg:"/cbtc/static/jl3d/control/red.png", + greenlimg:"/cbtc/static/jl3d/control/greenl.png", + grayimg:"/cbtc/static/jl3d/control/gray.png", + zuoimg:"/cbtc/static/jl3d/control/zuo.png", + niuimg:"/cbtc/static/jl3d/control/niu.png", + aircomimg:"/cbtc/static/jl3d/control/aircom.png", passlighttf:"rotate(0deg)", sivtf:"rotate(0deg)", driverlighttf:"rotate(0deg)", diff --git a/src/views/jlmap3d/drive/drivecontrol/rightpane.vue b/src/views/jlmap3d/drive/drivecontrol/rightpane.vue index 6b35e570e..09802f712 100644 --- a/src/views/jlmap3d/drive/drivecontrol/rightpane.vue +++ b/src/views/jlmap3d/drive/drivecontrol/rightpane.vue @@ -71,11 +71,11 @@ }, data() { return { - redlimg:"/static/jl3d/control/redl.png", - greenimg:"/static/jl3d/control/green.png", - zuoimg:"/static/jl3d/control/zuo.png", - niuimg:"/static/jl3d/control/niu.png", - urgestopimg:"/static/jl3d/control/urgestop.png", + redlimg:"/cbtc/static/jl3d/control/redl.png", + greenimg:"/cbtc/static/jl3d/control/green.png", + zuoimg:"/cbtc/static/jl3d/control/zuo.png", + niuimg:"/cbtc/static/jl3d/control/niu.png", + urgestopimg:"/cbtc/static/jl3d/control/urgestop.png", doordirecttou:"rotate(0deg)", doormodetou:"rotate(0deg)", watertou:"rotate(0deg)", diff --git a/src/views/jlmap3d/drive/drivecontrol/toprightpane.vue b/src/views/jlmap3d/drive/drivecontrol/toprightpane.vue index 9411cdef7..5816d1e22 100644 --- a/src/views/jlmap3d/drive/drivecontrol/toprightpane.vue +++ b/src/views/jlmap3d/drive/drivecontrol/toprightpane.vue @@ -151,45 +151,45 @@ return { move:0, movex:"20%", - apoimg:"/static/jl3d/control/green.png", - sgimg:"/static/jl3d/control/redz.png", - jgimg:"/static/jl3d/control/greenz.png", - atpimg:"/static/jl3d/control/atp.png", - slimg:"/static/jl3d/control/gray.png", - zuoimg:"/static/jl3d/control/zuo.png", - niuimg:"/static/jl3d/control/niu.png", + apoimg:"/cbtc/static/jl3d/control/green.png", + sgimg:"/cbtc/static/jl3d/control/redz.png", + jgimg:"/cbtc/static/jl3d/control/greenz.png", + atpimg:"/cbtc/static/jl3d/control/atp.png", + slimg:"/cbtc/static/jl3d/control/gray.png", + zuoimg:"/cbtc/static/jl3d/control/zuo.png", + niuimg:"/cbtc/static/jl3d/control/niu.png", toutransform:"rotate(0deg)", - redlimg:"/static/jl3d/control/redl.png", - greenimg:"/static/jl3d/control/green.png", - urgestopimg:"/static/jl3d/control/urgestop.png", + redlimg:"/cbtc/static/jl3d/control/redl.png", + greenimg:"/cbtc/static/jl3d/control/green.png", + urgestopimg:"/cbtc/static/jl3d/control/urgestop.png", iconrotate:0, doordirecttou:"rotate(0deg)", doormodetou:"rotate(0deg)", watertou:"rotate(0deg)", washtou:"rotate(0deg)", - greenzimg:"/static/jl3d/control/greenz.png", - redzimg:"/static/jl3d/control/redz.png", - redimg:"/static/jl3d/control/red.png", - greenlimg:"/static/jl3d/control/greenl.png", - grayimg:"/static/jl3d/control/gray.png", - aircomimg:"/static/jl3d/control/aircom.png", + greenzimg:"/cbtc/static/jl3d/control/greenz.png", + redzimg:"/cbtc/static/jl3d/control/redz.png", + redimg:"/cbtc/static/jl3d/control/red.png", + greenlimg:"/cbtc/static/jl3d/control/greenl.png", + grayimg:"/cbtc/static/jl3d/control/gray.png", + aircomimg:"/cbtc/static/jl3d/control/aircom.png", passlighttf:"rotate(0deg)", sivtf:"rotate(0deg)", driverlighttf:"rotate(0deg)", headlighttf:"rotate(0deg)", // atoOn:null, - atobuttonimg:"/static/jl3d/control/green.png", + atobuttonimg:"/cbtc/static/jl3d/control/green.png", // driveMode:null, - rmbuttonimg:"/static/jl3d/control/green.png", + rmbuttonimg:"/cbtc/static/jl3d/control/green.png", // runLevel:null, - cbtcbuttonimg:"/static/jl3d/control/green.png", + cbtcbuttonimg:"/cbtc/static/jl3d/control/green.png", doorleftstatus:false, doorrightstatus:false, - doorleftimg:"/static/jl3d/control/green.png", - doorrightimg:"/static/jl3d/control/green.png", + doorleftimg:"/cbtc/static/jl3d/control/green.png", + doorrightimg:"/cbtc/static/jl3d/control/green.png", } }, diff --git a/src/views/jlmap3d/drive/sceneview/mmi.js b/src/views/jlmap3d/drive/sceneview/mmi.js index 25aef665b..81594a51a 100644 --- a/src/views/jlmap3d/drive/sceneview/mmi.js +++ b/src/views/jlmap3d/drive/sceneview/mmi.js @@ -20,7 +20,7 @@ export function mmirender(dom) { scene.add( plane ); - var texture = new THREE.TextureLoader().load( '/static/jl3d/biao.png' ); + var texture = new THREE.TextureLoader().load( '/cbtc/static/jl3d/biao.png' ); var geometry = new THREE.PlaneBufferGeometry( 60, 60, 2 ); var material = new THREE.MeshBasicMaterial( {map: texture, side: THREE.DoubleSide} ); var kd = new THREE.Mesh( geometry, material ); diff --git a/src/views/jlmap3d/drive/sceneview/mmiimage.js b/src/views/jlmap3d/drive/sceneview/mmiimage.js index 8c30dc5d9..7d976393b 100644 --- a/src/views/jlmap3d/drive/sceneview/mmiimage.js +++ b/src/views/jlmap3d/drive/sceneview/mmiimage.js @@ -5,93 +5,93 @@ export function mmiimage() { //n this.n = []; - this.n['tiaoting'] = '/static/jl3d/mmi/n-tiaoting.png'; - this.n['kouche'] = '/static/jl3d/mmi/n-kouche.png'; - this.n['none'] = '/static/jl3d/mmi/none.png'; + this.n['tiaoting'] = '/cbtc/static/jl3d/mmi/n-tiaoting.png'; + this.n['kouche'] = '/cbtc/static/jl3d/mmi/n-kouche.png'; + this.n['none'] = '/cbtc/static/jl3d/mmi/none.png'; //d this.d = [] - this.d['info'] = '/static/jl3d/mmi/d-info.png'; + this.d['info'] = '/cbtc/static/jl3d/mmi/d-info.png'; this.m1 = []; - this.m1['start'] = '/static/jl3d/mmi/none.png'; - this.m1['am'] = '/static/jl3d/mmi/m1-am.png'; - this.m1['cm'] = '/static/jl3d/mmi/m1-cm.png'; - this.m1['rm'] = '/static/jl3d/mmi/m1-rm.png'; + this.m1['start'] = '/cbtc/static/jl3d/mmi/none.png'; + this.m1['am'] = '/cbtc/static/jl3d/mmi/m1-am.png'; + this.m1['cm'] = '/cbtc/static/jl3d/mmi/m1-cm.png'; + this.m1['rm'] = '/cbtc/static/jl3d/mmi/m1-rm.png'; this.m2 = []; - this.m2['start'] = '/static/jl3d/mmi/none.png'; - this.m2['il'] = '/static/jl3d/mmi/m2-il.png'; - this.m2['itc'] = '/static/jl3d/mmi/m2-itc.png'; - this.m2['cbtc'] = '/static/jl3d/mmi/m2-cbtc.png'; + this.m2['start'] = '/cbtc/static/jl3d/mmi/none.png'; + this.m2['il'] = '/cbtc/static/jl3d/mmi/m2-il.png'; + this.m2['itc'] = '/cbtc/static/jl3d/mmi/m2-itc.png'; + this.m2['cbtc'] = '/cbtc/static/jl3d/mmi/m2-cbtc.png'; this.m3 = []; - this.m3['zhefan'] = '/static/jl3d/mmi/m3-zhefan.png'; - this.m3['zhefanzhong'] = '/static/jl3d/mmi/m3-zhefanzhong.png'; - this.m3['none'] = '/static/jl3d/mmi/none.png'; + this.m3['zhefan'] = '/cbtc/static/jl3d/mmi/m3-zhefan.png'; + this.m3['zhefanzhong'] = '/cbtc/static/jl3d/mmi/m3-zhefanzhong.png'; + this.m3['none'] = '/cbtc/static/jl3d/mmi/none.png'; this.m4 = []; - this.m4['none'] = '/static/jl3d/mmi/none.png'; - this.m4['out'] = '/static/jl3d/mmi/m4-out.png'; - this.m4['in'] = '/static/jl3d/mmi/m4-in.png'; + this.m4['none'] = '/cbtc/static/jl3d/mmi/none.png'; + this.m4['out'] = '/cbtc/static/jl3d/mmi/m4-out.png'; + this.m4['in'] = '/cbtc/static/jl3d/mmi/m4-in.png'; this.m5 = []; - this.m5['state15'] = '/static/jl3d/mmi/m5-15.png'; - this.m5['rightdoor'] = '/static/jl3d/mmi/m5-rightdoor.png'; - this.m5['leftdoor'] = '/static/jl3d/mmi/m5-leftdoor.png'; - this.m5['noalloffdoor'] = '/static/jl3d/mmi/m5-noalloffdoor.png'; - this.m5['noallondoor'] = '/static/jl3d/mmi/m5-noallondoor.png'; + this.m5['state15'] = '/cbtc/static/jl3d/mmi/m5-15.png'; + this.m5['rightdoor'] = '/cbtc/static/jl3d/mmi/m5-rightdoor.png'; + this.m5['leftdoor'] = '/cbtc/static/jl3d/mmi/m5-leftdoor.png'; + this.m5['noalloffdoor'] = '/cbtc/static/jl3d/mmi/m5-noalloffdoor.png'; + this.m5['noallondoor'] = '/cbtc/static/jl3d/mmi/m5-noallondoor.png'; this.m6 = []; - this.m6['none'] = '/static/jl3d/mmi/none.png'; - this.m6['fache'] = '/static/jl3d/mmi/m6-fache.png'; - this.m6['closedoor'] = '/static/jl3d/mmi/m6-closedoor.png'; + this.m6['none'] = '/cbtc/static/jl3d/mmi/none.png'; + this.m6['fache'] = '/cbtc/static/jl3d/mmi/m6-fache.png'; + this.m6['closedoor'] = '/cbtc/static/jl3d/mmi/m6-closedoor.png'; this.m7 = []; - this.m7['momc'] = '/static/jl3d/mmi/m7-momc.png'; - this.m7['aomc'] = '/static/jl3d/mmi/m7-aomc.png'; - this.m7['aoac'] = '/static/jl3d/mmi/m7-aoac.png'; - this.m7['none'] = '/static/jl3d/mmi/none.png'; + this.m7['momc'] = '/cbtc/static/jl3d/mmi/m7-momc.png'; + this.m7['aomc'] = '/cbtc/static/jl3d/mmi/m7-aomc.png'; + this.m7['aoac'] = '/cbtc/static/jl3d/mmi/m7-aoac.png'; + this.m7['none'] = '/cbtc/static/jl3d/mmi/none.png'; this.m8 = []; - this.m8['dahua'] = '/static/jl3d/mmi/m8-dahua.png'; - this.m8['jinjizhidong'] = '/static/jl3d/mmi/m8-jinjizhidong.png'; - this.m8['doornotclose'] = '/static/jl3d/mmi/m8-doornotclose.png'; - this.m8['none'] = '/static/jl3d/mmi/none.png'; + this.m8['dahua'] = '/cbtc/static/jl3d/mmi/m8-dahua.png'; + this.m8['jinjizhidong'] = '/cbtc/static/jl3d/mmi/m8-jinjizhidong.png'; + this.m8['doornotclose'] = '/cbtc/static/jl3d/mmi/m8-doornotclose.png'; + this.m8['none'] = '/cbtc/static/jl3d/mmi/none.png'; this.m9 = []; - this.m9['rad'] = '/static/jl3d/mmi/m9-rad.png'; - this.m9['atp'] = '/static/jl3d/mmi/m9-atp.png'; - this.m9['ato'] = '/static/jl3d/mmi/m9-ato.png'; - this.m9['none'] = '/static/jl3d/mmi/none.png'; + this.m9['rad'] = '/cbtc/static/jl3d/mmi/m9-rad.png'; + this.m9['atp'] = '/cbtc/static/jl3d/mmi/m9-atp.png'; + this.m9['ato'] = '/cbtc/static/jl3d/mmi/m9-ato.png'; + this.m9['none'] = '/cbtc/static/jl3d/mmi/none.png'; this.m10 = []; - this.m10['jinduan'] = '/static/jl3d/mmi/m10-jinduan.png'; - this.m10['shiwei'] = '/static/jl3d/mmi/m10-shiwei.png'; - this.m10['querenxinhao'] = '/static/jl3d/mmi/m10-querenxinhao.png'; - this.m10['none'] = '/static/jl3d/mmi/none.png'; + this.m10['jinduan'] = '/cbtc/static/jl3d/mmi/m10-jinduan.png'; + this.m10['shiwei'] = '/cbtc/static/jl3d/mmi/m10-shiwei.png'; + this.m10['querenxinhao'] = '/cbtc/static/jl3d/mmi/m10-querenxinhao.png'; + this.m10['none'] = '/cbtc/static/jl3d/mmi/none.png'; this.c1 = []; - this.c1['qianyin'] = '/static/jl3d/mmi/c1-qianyin.png'; - this.c1['duoxing'] = '/static/jl3d/mmi/c1-duoxing.png'; - this.c1['zhidong'] = '/static/jl3d/mmi/c1-zhidong.png'; - this.c1['none'] = '/static/jl3d/mmi/none.png'; + this.c1['qianyin'] = '/cbtc/static/jl3d/mmi/c1-qianyin.png'; + this.c1['duoxing'] = '/cbtc/static/jl3d/mmi/c1-duoxing.png'; + this.c1['zhidong'] = '/cbtc/static/jl3d/mmi/c1-zhidong.png'; + this.c1['none'] = '/cbtc/static/jl3d/mmi/none.png'; this.c2 = []; - this.c2['rm'] = '/static/jl3d/mmi/m1-rm.png'; - this.c2['cmi'] = '/static/jl3d/mmi/c2-cm-i.png'; - this.c2['cmc'] = '/static/jl3d/mmi/c2-cm-c.png'; - this.c2['ami'] = '/static/jl3d/mmi/c2-am-i.png'; - this.c2['amc'] = '/static/jl3d/mmi/c2-am-c.png'; - this.c2['none'] = '/static/jl3d/mmi/none.png'; + this.c2['rm'] = '/cbtc/static/jl3d/mmi/m1-rm.png'; + this.c2['cmi'] = '/cbtc/static/jl3d/mmi/c2-cm-i.png'; + this.c2['cmc'] = '/cbtc/static/jl3d/mmi/c2-cm-c.png'; + this.c2['ami'] = '/cbtc/static/jl3d/mmi/c2-am-i.png'; + this.c2['amc'] = '/cbtc/static/jl3d/mmi/c2-am-c.png'; + this.c2['none'] = '/cbtc/static/jl3d/mmi/none.png'; this.c3 = []; - this.c3['normal'] = '/static/jl3d/mmi/c3-normal.png'; - this.c3['lose'] = '/static/jl3d/mmi/c3-lose.png'; + this.c3['normal'] = '/cbtc/static/jl3d/mmi/c3-normal.png'; + this.c3['lose'] = '/cbtc/static/jl3d/mmi/c3-lose.png'; this.c5 = []; - this.c5['normal'] = '/static/jl3d/mmi/c5-normal.png'; - this.c5['lose'] = '/static/jl3d/mmi/c5-lose.png'; + this.c5['normal'] = '/cbtc/static/jl3d/mmi/c5-normal.png'; + this.c5['lose'] = '/cbtc/static/jl3d/mmi/c5-lose.png'; } diff --git a/src/views/jlmap3d/drive/sceneview/tmsview.vue b/src/views/jlmap3d/drive/sceneview/tmsview.vue index 24c305d47..fdd205004 100644 --- a/src/views/jlmap3d/drive/sceneview/tmsview.vue +++ b/src/views/jlmap3d/drive/sceneview/tmsview.vue @@ -45,7 +45,7 @@ export default { width:500px; height:333px; background-size:100% 100%; - background-image:url('/static/jl3d/tms.png'); + background-image:url('/cbtc/static/jl3d/tms.png'); position:absolute; bottom:0; right:0; diff --git a/src/views/jlmap3d/edit/component/action.vue b/src/views/jlmap3d/edit/component/action.vue index 1affe4cdd..3a4d171fc 100644 --- a/src/views/jlmap3d/edit/component/action.vue +++ b/src/views/jlmap3d/edit/component/action.vue @@ -54,7 +54,7 @@
当前模型资源名称
-
+
--> diff --git a/src/views/jlmap3d/edit/component/assets.vue b/src/views/jlmap3d/edit/component/assets.vue index ec3f12879..3d1cff026 100644 --- a/src/views/jlmap3d/edit/component/assets.vue +++ b/src/views/jlmap3d/edit/component/assets.vue @@ -274,7 +274,7 @@ export default { width:60%; height:60%; text-align:center; - background-image: url('/static/texture/modelfile.png'); + background-image: url('/cbtc/static/texture/modelfile.png'); background-size: 100% 100%; } .modelid{ diff --git a/src/views/jlmap3d/maintainer/component/devicefaultlist.vue b/src/views/jlmap3d/maintainer/component/devicefaultlist.vue index 6c493d4e2..26d9ab02a 100644 --- a/src/views/jlmap3d/maintainer/component/devicefaultlist.vue +++ b/src/views/jlmap3d/maintainer/component/devicefaultlist.vue @@ -90,7 +90,7 @@ export default { // background-color: #FFFFFF; // border-radius:5px; - background-image:url("/static/texture/devicelistpane.png"); + background-image:url("/cbtc/static/texture/devicelistpane.png"); background-repeat: no-repeat; overflow: hidden; background-size:90% 100%; diff --git a/src/views/jlmap3d/maintainer/component/devicelist.vue b/src/views/jlmap3d/maintainer/component/devicelist.vue index c6134ce7c..321e76a77 100644 --- a/src/views/jlmap3d/maintainer/component/devicelist.vue +++ b/src/views/jlmap3d/maintainer/component/devicelist.vue @@ -89,7 +89,7 @@ export default { // background-color: #FFFFFF; // border-radius:5px; - background-image:url("/static/texture/devicelistpane.png"); + background-image:url("/cbtc/static/texture/devicelistpane.png"); background-repeat: no-repeat; overflow: hidden; background-size:90% 100%; diff --git a/src/views/jlmap3d/maintainer/component/devicemsg.vue b/src/views/jlmap3d/maintainer/component/devicemsg.vue index 23bf8ad1e..386c2b346 100644 --- a/src/views/jlmap3d/maintainer/component/devicemsg.vue +++ b/src/views/jlmap3d/maintainer/component/devicemsg.vue @@ -63,7 +63,7 @@ export default { width: 20%; height: 50%; z-index: 10; - background-image:url("/static/texture/devicemsgpane.png"); + background-image:url("/cbtc/static/texture/devicemsgpane.png"); background-repeat:no-repeat; background-size: 90% 100%; diff --git a/src/views/jlmap3d/maintainer/component/faultdevice.vue b/src/views/jlmap3d/maintainer/component/faultdevice.vue index c0525a522..bc03b8cc9 100644 --- a/src/views/jlmap3d/maintainer/component/faultdevice.vue +++ b/src/views/jlmap3d/maintainer/component/faultdevice.vue @@ -343,7 +343,7 @@ position: absolute; right:15px; bottom:5px; - background-image:url("/static/texture/xiuli.png"); + background-image:url("/cbtc/static/texture/xiuli.png"); background-repeat:no-repeat; background-size:100%; } @@ -354,7 +354,7 @@ position: absolute; right:345px; bottom:5px; - background-image:url("/static/texture/gousuodingwei.png"); + background-image:url("/cbtc/static/texture/gousuodingwei.png"); background-repeat:no-repeat; background-size:100%; } @@ -365,7 +365,7 @@ position: absolute; right:180px; bottom:5px; - background-image:url("/static/texture/gousuofanwei.png"); + background-image:url("/cbtc/static/texture/gousuofanwei.png"); background-repeat:no-repeat; background-size:100%; } @@ -375,7 +375,7 @@ position: absolute; right:125px; top:5px; - background-image:url("/static/texture/xx.png"); + background-image:url("/cbtc/static/texture/xx.png"); background-repeat:no-repeat; background-size:100%; } diff --git a/src/views/jlmap3d/maintainer/jl3dTrainRescueVr.vue b/src/views/jlmap3d/maintainer/jl3dTrainRescueVr.vue index cce497a61..ba695cfc1 100644 --- a/src/views/jlmap3d/maintainer/jl3dTrainRescueVr.vue +++ b/src/views/jlmap3d/maintainer/jl3dTrainRescueVr.vue @@ -81,7 +81,7 @@ position: absolute; right:15px; bottom:5px; - background-image:url("/static/texture/xiuli.png"); + background-image:url("/cbtc/static/texture/xiuli.png"); background-repeat:no-repeat; background-size:100%; } @@ -91,7 +91,7 @@ position: absolute; right:125px; top:5px; - background-image:url("/static/texture/xx.png"); + background-image:url("/cbtc/static/texture/xx.png"); background-repeat:no-repeat; background-size:100%; } diff --git a/src/views/jlmap3d/maintainer/jl3dmaintainer.vue b/src/views/jlmap3d/maintainer/jl3dmaintainer.vue index 3b3730b7a..cd30fc40c 100644 --- a/src/views/jlmap3d/maintainer/jl3dmaintainer.vue +++ b/src/views/jlmap3d/maintainer/jl3dmaintainer.vue @@ -333,7 +333,7 @@ export default { right:185px; top:5px; z-index:30; - background-image:url("/static/texture/room.png"); + background-image:url("/cbtc/static/texture/room.png"); background-repeat:no-repeat; background-size:100%; } diff --git a/src/views/jlmap3d/maintainer/jl3dmaintainerselect.vue b/src/views/jlmap3d/maintainer/jl3dmaintainerselect.vue index cb8e1efe4..a0983f969 100644 --- a/src/views/jlmap3d/maintainer/jl3dmaintainerselect.vue +++ b/src/views/jlmap3d/maintainer/jl3dmaintainerselect.vue @@ -133,7 +133,7 @@ export default { z-index: 350; top:0; left:0; - background-image:url("/static/background/other.jpg"); + background-image:url("/cbtc/static/background/other.jpg"); // background-repeat:no-repeat; z-index: 350; background-size:100%; @@ -152,38 +152,38 @@ export default { } .selectButtonImg1{ - background-image:url("/static/vrtest/maintainer.png"); + background-image:url("/cbtc/static/vrtest/maintainer.png"); background-repeat:no-repeat; background-size:100% 100%; } .selectButtonImg2{ - background-image:url("/static/vrtest/zc.png"); + background-image:url("/cbtc/static/vrtest/zc.png"); background-repeat:no-repeat; background-size:100% 100%; } .selectButtonImg3{ - background-image:url("/static/vrtest/maintainervr.png"); + background-image:url("/cbtc/static/vrtest/maintainervr.png"); background-repeat:no-repeat; background-size:100% 100%; } .selectButtonImg4{ - background-image:url("/static/vrtest/vr.png"); + background-image:url("/cbtc/static/vrtest/vr.png"); background-repeat:no-repeat; background-size:100% 100%; } .selectButtonImg5{ - background-image:url("/static/vrtest/trainrescue.png"); + background-image:url("/cbtc/static/vrtest/trainrescue.png"); background-repeat:no-repeat; background-size:100% 100%; } .selectButtonImg6{ - background-image:url("/static/vrtest/trvr.png"); + background-image:url("/cbtc/static/vrtest/trvr.png"); background-repeat:no-repeat; background-size:100% 100%; } diff --git a/src/views/jlmap3d/maintainer/jl3dmaintainervr.vue b/src/views/jlmap3d/maintainer/jl3dmaintainervr.vue index 2a824220a..4596e87c4 100644 --- a/src/views/jlmap3d/maintainer/jl3dmaintainervr.vue +++ b/src/views/jlmap3d/maintainer/jl3dmaintainervr.vue @@ -81,7 +81,7 @@ position: absolute; right:15px; bottom:5px; - background-image:url("/static/texture/xiuli.png"); + background-image:url("/cbtc/static/texture/xiuli.png"); background-repeat:no-repeat; background-size:100%; } @@ -91,7 +91,7 @@ position: absolute; right:125px; top:5px; - background-image:url("/static/texture/xx.png"); + background-image:url("/cbtc/static/texture/xx.png"); background-repeat:no-repeat; background-size:100%; } diff --git a/src/views/jlmap3d/maintainer/jl3dothervr.vue b/src/views/jlmap3d/maintainer/jl3dothervr.vue index 45e0bf1a9..124821ca6 100644 --- a/src/views/jlmap3d/maintainer/jl3dothervr.vue +++ b/src/views/jlmap3d/maintainer/jl3dothervr.vue @@ -81,7 +81,7 @@ position: absolute; right:15px; bottom:5px; - background-image:url("/static/texture/xiuli.png"); + background-image:url("/cbtc/static/texture/xiuli.png"); background-repeat:no-repeat; background-size:100%; } @@ -91,7 +91,7 @@ position: absolute; right:125px; top:5px; - background-image:url("/static/texture/xx.png"); + background-image:url("/cbtc/static/texture/xx.png"); background-repeat:no-repeat; background-size:100%; } diff --git a/src/views/jlmap3d/passflow/jl3dpassflow.vue b/src/views/jlmap3d/passflow/jl3dpassflow.vue index 9bf034ef6..2791199ef 100644 --- a/src/views/jlmap3d/passflow/jl3dpassflow.vue +++ b/src/views/jlmap3d/passflow/jl3dpassflow.vue @@ -251,7 +251,7 @@ export default { /* bottom:0; */ position: absolute; background-size: 100% 100%; - background-image: url('/static/texture/scene.png'); + background-image: url('/cbtc/static/texture/scene.png'); border-radius:10px; } .listmenu{ diff --git a/src/views/jlmap3d/simulation/show/menu.vue b/src/views/jlmap3d/simulation/show/menu.vue index fc70f4c2a..f79898dd5 100644 --- a/src/views/jlmap3d/simulation/show/menu.vue +++ b/src/views/jlmap3d/simulation/show/menu.vue @@ -105,7 +105,7 @@ export default { top:0; width: 300px; height: 600px; - background-image:url("/static/texture/menu.png"); + background-image:url("/cbtc/static/texture/menu.png"); background-repeat: no-repeat; background-size: 100%; border-radius:5px; diff --git a/src/views/jlmap3d/simulation/show/msg.vue b/src/views/jlmap3d/simulation/show/msg.vue index 79634f6e1..b27ec8c26 100644 --- a/src/views/jlmap3d/simulation/show/msg.vue +++ b/src/views/jlmap3d/simulation/show/msg.vue @@ -128,7 +128,7 @@ export default { bottom:0; width: 45%; height: 20%; - background-image:url('/static/texture/msg.png'); + background-image:url('/cbtc/static/texture/msg.png'); background-repeat: no-repeat; background-size: 100%; }