.qr-container{ width: 100vw; height: 100vh; display: flex; /* align-items: center; */ justify-content: center; } .qr-show{ width: 500rpx; height: 500rpx; /* background-color: aqua; */ margin-top: 300rpx; } .qr-show image{ width: 100%; height: 100%; }