设备图片自适应展示

This commit is contained in:
fengerli
2025-07-30 09:34:53 +08:00
parent 1ddb68369d
commit 52c4a0b436
6 changed files with 53 additions and 42 deletions

View File

@ -4,7 +4,7 @@
<view class="device-info" v-for="(item, index) in deviceList" :key="index">
<view class="device-header" @click.stop="handleFile(item)">
<view class="deviceIMG">
<image src="@/static/images/user.png" mode="" class="IMG"></image>
<image src="@/static/images/user.png" mode="aspectFit" class="IMG"></image>
</view>
<view class="device-name">
<view>用户名{{item.deviceName}}</view>