hookehuyr

二维码显示宽度固定

......@@ -26,8 +26,9 @@
</van-col>
<van-col span="18" style="text-align: center;">
<div class="qr-box">
<van-icon size="13rem" :name="app_info_list[checkedIndex]?.qr_code"
style="width: 100%; overflow: hidden;" />
<!-- <van-icon size="150px" :name="app_info_list[checkedIndex]?.qr_code"
style="max-width: 100%; height: auto;" /> -->
<img :src="app_info_list[checkedIndex]?.qr_code" style="max-width: 150px; height: auto;" alt="">
</div>
</van-col>
<van-col span="3">
......@@ -227,6 +228,10 @@ const handleRight = () => { // 右侧滚动
border-radius: 10px;
padding: 1rem;
}
.van-icon__image {
max-width: 100%;
height: auto;
}
.handle-right {
position: absolute;
......