|
@@ -44,12 +44,12 @@ import { QingXiCheAndQvComClipPlaneMeshEvent } from "./js/QingXiCheAndQvComClipP
|
|
|
// */
|
|
|
// let threeWorldUrl = "3dMain/index.html#/main?id=zidingyi";
|
|
|
|
|
|
-let commonconfig = "http://localhost:5173/3dMain/model_water_car_3/";
|
|
|
-let commonmodel = "http://localhost:5173/3dMain/model_water_car_3/";
|
|
|
+// let commonconfig = "http://localhost:5173/3dMain/model_water_car_3/";
|
|
|
+// let commonmodel = "http://localhost:5173/3dMain/model_water_car_3/";
|
|
|
|
|
|
-let threeWorldUrl = "3dMain/index.html#/main?id=zidingyi_lu_cun&user=zidingyi"
|
|
|
-+ '&commonconfig=' + commonconfig
|
|
|
-+ '&commonmodel=' + commonmodel;
|
|
|
+// let threeWorldUrl = "3dMain/index.html#/main?id=zidingyi_lu_cun&user=zidingyi"
|
|
|
+// + '&commonconfig=' + commonconfig
|
|
|
+// + '&commonmodel=' + commonmodel;
|
|
|
|
|
|
// let commonconfig = "https://www.3dyzt.com/waterMaintenance/3dMain/model_water_car_3/";
|
|
|
// let commonmodel = "https://www.3dyzt.com/waterMaintenance/3dMain/model_water_car_3/";
|
|
@@ -59,6 +59,15 @@ let threeWorldUrl = "3dMain/index.html#/main?id=zidingyi_lu_cun&user=zidingyi"
|
|
|
// + '&commonmodel=' + commonmodel;
|
|
|
|
|
|
|
|
|
+let hostUrl = import.meta.env.VITE_THREE_WORLD_URL;
|
|
|
+let commonconfig = hostUrl + "/3dMain/model_water_car_3/";
|
|
|
+let commonmodel = hostUrl + "/3dMain/model_water_car_3/";
|
|
|
+
|
|
|
+let threeWorldUrl = "3dMain/index.html#/main?id=zidingyi_lu_cun&user=zidingyi"
|
|
|
++ '&commonconfig=' + commonconfig
|
|
|
++ '&commonmodel=' + commonmodel;
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 回调加载百分比
|
|
|
*/
|