.b1{ position:fixed; width:100%; height:100%; top:0px; background:rgba(0,0,0,0.8); overflow: hidden; z-index: 1000; } .t_w{ position:relative; } .b2{ width: 90%; margin:55% auto; overflow: hidden; border-radius: 10rpx; } .t_image{ width: 100%; display: block; margin: 0 auto; } .cancel_icon{ position: absolute; right: 30rpx; top: -30rpx; }