直接上代码
.img1a{ position: relative; width: 100%; height: 100%; } .video-open{ margin-left: 45%; margin-top: 45%; position: absolute; z-index: 9999; width: 70rpx; height: 70rpx; }
其中 img1a是在下面,video-open是上面的图片,具体就是这么设置