.ad-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 9999; } .ad-content { position: relative; width: 80%; background: #fff; border-radius: 10px; overflow: hidden; } .ad-content image { width: 100%; height: 300rpx; } .close-btn { position: absolute; top: 10rpx; right: 10rpx; width: 40rpx; height: 40rpx; background: #ccc; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 30rpx; color: #fff; }