人生啊人生 1 lună în urmă
părinte
comite
937b866e05

+ 10 - 2
src/components/ThreeWorldEventQingXiCheAndQv/ThreeWorldEventMainQingXiCheAndQv.vue

@@ -82,9 +82,17 @@ import { CommonGuiDbListTwo } from "../../utils/common/CommonGuiDbListTwo.js";
 // + '&commonmodel=' + commonmodel;
 
 
+// let hostUrl = import.meta.env.VITE_THREE_WORLD_URL;
+// let commonconfig = hostUrl + "/3dMain/model_water_car_8/";
+// let commonmodel = hostUrl + "/3dMain/model_water_car_8/";
+
+// let threeWorldUrl = "3dMain/index.html#/main?id=zidingyi_lu_cun&user=zidingyi"
+// + '&commonconfig=' + commonconfig
+// + '&commonmodel=' + commonmodel;
+
 let hostUrl = import.meta.env.VITE_THREE_WORLD_URL;
-let commonconfig = hostUrl + "/3dMain/model_water_car_8/";
-let commonmodel = hostUrl + "/3dMain/model_water_car_8/";
+let commonconfig = hostUrl + "/3dMain/model_water_car_9/";
+let commonmodel = hostUrl + "/3dMain/model_water_car_9/";
 
 let threeWorldUrl = "3dMain/index.html#/main?id=zidingyi_lu_cun&user=zidingyi"
 + '&commonconfig=' + commonconfig

+ 8 - 3
src/utils/common/CommonGuiDbListTwo.js

@@ -483,8 +483,12 @@ export class CommonGuiDbListTwo {
             // commonBtn.width = commonWidthHeight / 0.05 + "px";
             // commonBtn.height = commonWidthHeight / 0.05 + "px";
 
-            commonBtn.width = ( addOrUpdateJson.width * 0.05 ) + "px";
-            commonBtn.height = ( addOrUpdateJson.width * 0.05 ) + "px";
+            // commonBtn.width = ( addOrUpdateJson.width * 0.05 ) + "px";
+            // commonBtn.height = ( addOrUpdateJson.width * 0.05 ) + "px";
+
+            // 隐藏起来,不让点击到
+            commonBtn.width = ( 0.01 ) + "px";
+            commonBtn.height = ( 0.01 ) + "px";
 
             
             // 控制颜色
@@ -516,7 +520,8 @@ export class CommonGuiDbListTwo {
             commonBtn.color = commonColor;
             // 圆角
             // commonBtn.cornerRadius = commonWidthHeight / 0.05 * 0.5;
-            commonBtn.cornerRadius = ( addOrUpdateJson.width * 0.05) * 0.5;
+            // commonBtn.cornerRadius = ( addOrUpdateJson.width * 0.05) * 0.5;
+            commonBtn.cornerRadius = ( 0.01) * 0.5;
             
             // commonBtn.cornerRadius = (objImageWidthNew / 0.005) * 0.5;
             // 背景色