人生啊人生 3 months ago
parent
commit
85ca54463f

+ 2 - 2
user_web/.env.development

@@ -1,5 +1,5 @@
 #Api的地址
-#VITE_API_BASE_URL =https://api.3dyzt.com:444/eduTrain/userApi
- VITE_API_BASE_URL =http://127.0.0.1:8071
+VITE_API_BASE_URL =https://api.3dyzt.com:444/eduTrain/userApi
+# VITE_API_BASE_URL =http://127.0.0.1:8071
 #发布的虚拟目录
 VITE_APP_Vitrural =./

+ 27 - 13
user_web/src/components/student/CourseChapter3d.vue

@@ -50,19 +50,33 @@ let objRenderEvent = new RenderEvent();
 // babylon 对象
 let BABYLON : any = null;
 
-// 【发布的时候】3d场景,iframe地址
-// 配置文件地址
-// let commonconfig = "https://www.3dyzt.com/eduTrain/3dMain/model/";
-let commonconfig = "https://www.3dyzt.com/eduTrain/3dMain/model2/";// 正式
-// let commonconfig = "https://www.3dyzt.com/eduTrain/3dMain/model3/";// 临时测试
-// 模型地址
-// let commonmodel = "https://www.3dyzt.com/eduTrain/3dMain/model/";
-let commonmodel = "https://www.3dyzt.com/eduTrain/3dMain/model2/";// 正式
-// let commonmodel = "https://www.3dyzt.com/eduTrain/3dMain/model3/";// 临时测试
-
-
-// 发布后的地址
-let threeWorldUrl = "https://www.3dyzt.com/main/index.html#/main?id=zidingyi&user=zidingyi&commonconfig=" + commonconfig + "&commonmodel=" + commonmodel;
+let commonconfig = "http://localhost:5678/3dmodel/model2/";
+let commonmodel = "http://localhost:5678/3dmodel/model2/";
+
+let threeWorldUrl = "3dmodel/index.html#/main?id=zidingyi_lu_cun&user=zidingyi"
++ '&commonconfig=' + commonconfig
++ '&commonmodel=' + commonmodel;
+
+// // 【发布的时候】3d场景,iframe地址
+// // 配置文件地址
+// // let commonconfig = "https://www.3dyzt.com/eduTrain/3dMain/model/";
+// let commonconfig = "https://www.3dyzt.com/eduTrain/3dMain/model2/";// 正式
+// // let commonconfig = "https://www.3dyzt.com/eduTrain/3dMain/model3/";// 临时测试
+// // 模型地址
+// // let commonmodel = "https://www.3dyzt.com/eduTrain/3dMain/model/";
+// let commonmodel = "https://www.3dyzt.com/eduTrain/3dMain/model2/";// 正式
+// // let commonmodel = "https://www.3dyzt.com/eduTrain/3dMain/model3/";// 临时测试
+
+
+// // 发布后的地址
+// let threeWorldUrl = "https://www.3dyzt.com/main/index.html#/main?id=zidingyi&user=zidingyi&commonconfig=" + commonconfig + "&commonmodel=" + commonmodel;
+
+
+
+
+
+
+
 
 /**
  * 上一步是否显示

File diff suppressed because it is too large
+ 34 - 0
user_web/vite.config.ts.timestamp-1750127312305-e520ebc583df1.mjs


Some files were not shown because too many files changed in this diff