<div class="qr-code">
<a>
<img src="/upload/1/cms/category/1698227808988.png" style="height: auto;width: auto">
</a>
</div>
.qr-code {
position: fixed;
top: 50%; /* 距离页面顶部50%处 */
right: 20px; /* 距离页面右侧20像素处 */
transform: translateY(-50%); /* 上下居中 */
z-index: 999; /* 确保在其他元素之上 */
}