/* pages/components/showImage/showImage.wxss */ .sharePopup { position: fixed; left: 0; right: 0; bottom: 0; top: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 100; } .shareDialog { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .close_icon { position: absolute; right: -25rpx; top: -25rpx; width: 100rpx; height: 100rpx; } .qrcode { position: absolute; left: 50%; top: 50%; width: 600rpx; height: 600rpx; transform: translate(-50%,-50%); }