农产品实时价格加图片

This commit is contained in:
13713575202 2025-04-30 13:17:06 +08:00
parent 2b4460f993
commit 745a67adf0
4 changed files with 4 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

View File

@ -14,7 +14,7 @@
<el-carousel-item v-for="item in tablist" :key="item">
<div class="item-warp" :style="{ 'background-image': 'url(' + getAssetsFile('images/early/back2.png') + ')' }">
<div class="img-wrap">
<img :src="getAssetsFile('images/early/icon3.png')" />
<img :src="getAssetsFile(item.src)" />
</div>
<div class="name">
@ -59,9 +59,9 @@
import { ref, reactive, onMounted, computed } from 'vue';
import { isEmpty, getAssetsFile } from '@/utils';
let tablist = reactive([
{ name: '西红柿', label: '价格', scr: '' },
{ name: '甘蔗', label: '价格', scr: '' },
{ name: '白菜', label: '价格', scr: '' },
{ name: '西红柿', label: '价格', src: 'images/early/tomato.jpg' },
{ name: '甘蔗', label: '价格', src: 'images/early/gz.jpg' },
{ name: '白菜', label: '价格', src: 'images/early/bc.jpg' },
]);
let pricelist = reactive([