zjs_project пре 1 година
родитељ
комит
22f3c9501d
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/components/krpanoVideo/index.vue

+ 2 - 2
src/components/krpanoVideo/index.vue

@@ -221,7 +221,7 @@
 				let image_hotspot = this.panoramicKrpano.get("hotspot[image_hotspot]");
         // this.scale = 1;//这里要注意,当2D模式下,绿幕视频隐射到canvas的关系暂不清楚,似乎会放的很大?所以这里使用了极小的缩放值
 				if(Number(item.width)>= Number(item.height)){//横屏
-					let realWidth = 350;
+					let realWidth = 960;
 					let realHeight = item.height/(item.width/realWidth);
 					object.width = realWidth;
 					object.height = realHeight;
@@ -234,7 +234,7 @@
 						image_hotspot.url = 'https://dm.static.elab-plus.com/miniProgram/shadow22.png';
 					}
 				}else{//竖直版视频
-					let realWidth = 350;
+					let realWidth = 360;
 					let realHeight = item.height/(item.width/realWidth);
 					object.width = realWidth;
 					object.height = realHeight;