Kaynağa Gözat

Merge branch 'dev' of http://192.168.0.115:3000/chenzhiguang/qjkankan_v1.1.1 into dev

wangfumin 2 ay önce
ebeveyn
işleme
067473f819

+ 5 - 2
packages/qjkankan-view/src/components/Pano/index.vue

@@ -276,11 +276,13 @@ const handleMasksUpdate = (skyMask, earthMask, app) => {
     if ("antidistorted" in skyMask) {
       app.krpanoDom.set(`hotspot[peaklogo].distorted`, skyMask.antidistorted);
       if (!skyMask.antidistorted) {
-        app.krpanoDom.set(`hotspot[peaklogo].scale`, skyMask.scale * 0.9);
+        // app.krpanoDom.set(`hotspot[peaklogo].scale`, skyMask.scale * 0.9);
+        app.krpanoDom.set(`hotspot[peaklogo].scale`, skyMask.scale * 0.5);
       }
     }
   }
   if (earthMask) {
+    console.error("earthMask");
     if ("isShow" in earthMask) {
       app.krpanoDom.set(`hotspot[nadirlogo].visible`, Boolean(earthMask.isShow));
     }
@@ -295,7 +297,8 @@ const handleMasksUpdate = (skyMask, earthMask, app) => {
     if ("antidistorted" in earthMask) {
       app.krpanoDom.set(`hotspot[nadirlogo].distorted`, earthMask.antidistorted);
       if (!earthMask.antidistorted) {
-        app.krpanoDom.set(`hotspot[nadirlogo].scale`, earthMask.scale * 0.9);
+        // app.krpanoDom.set(`hotspot[nadirlogo].scale`, earthMask.scale * 0.9);
+        app.krpanoDom.set(`hotspot[nadirlogo].scale`, earthMask.scale * 0.5);
       }
     }
   }