详情界面图片修改缩放模式

This commit is contained in:
zhl 2021-12-16 17:50:41 +08:00
parent f1aa888f87
commit b3ccb0b798

View File

@ -3,7 +3,7 @@
<view class="peopleSwiper">
<swiper class="bigImg" :current="current">
<swiper-item v-for="(big,index) in images" :key="index">
<image :src="big" mode="scaleToFill" class="blurImage"></image>
<image :src="big" mode="scaleToFit" class="blurImage"></image>
</swiper-item>
</swiper>
<scroll-view class="smallImg" scroll-x="true" :show-scrollbar="false">