Explorar el Código

:bug: 修复全屏图片展现问题

zhanghe hace 6 años
padre
commit
891227b7c2

+ 1 - 1
src/stage/index/scene/ImageWareFullScreenScene.js

@@ -12,7 +12,7 @@ class ImageWareFullScreenScene extends scene {
 
 	renderImageView() {
 		const curImage = this.curImageList[this.curImageIndex];
-		document.getElementById('ImageWareFullScreen').setAttribute('src', curImage.url);
+		document.getElementById('wareImg').setAttribute('src', curImage.url);
 	}
 
 	dynamicChangeWare(wareIndex, type) {

+ 1 - 1
src/stage/index/style/ImageWareFullScreen.less

@@ -1,4 +1,4 @@
-#ImageWareFullScreen {
+#wareImg {
 	position: absolute;
 	left: 0;
 	top: 0;