feat:修改图片地址

This commit is contained in:
chenli
2026-01-30 20:07:18 +08:00
parent 43a645ec87
commit cac9120196
2 changed files with 5 additions and 2 deletions

View File

@@ -12,6 +12,9 @@
<!-- 遍历渲染业务图标 -->
<view class="item u-flex-col" v-for="(item,index) in cardData" :key="index" @click="clickItem(item)">
<view class="item-icon" :style="{ background: item.iconBackground || '#008cff' }">
{{ console.log(imgId[item.id],'imgId[item.id]判断') }}
{{ console.log(imgId,'imgId') }}
{{ console.log(item.id,'item.id') }}
<image v-show="!!imgId[item.id]" class="item-img" :src="`/static/image/${item.id}.png`"></image>
<!-- 使用 iconify-icon 渲染 ep 系列图标 -->
<!-- <iconify-icon