perf: 获取图片主色调
This commit is contained in:
@ -23,11 +23,8 @@
|
||||
:xxl="4"
|
||||
v-for="(product, k) in item.agent_products">
|
||||
<div class="card-container cursor-pointer !h-252px" @click="goDetail(product?.type, product?.id)">
|
||||
<div class="card-image h-120px w-100% bg-cover bg-center" v-image-main-color="product.image_url">
|
||||
<img
|
||||
class=" object-contain h-full w-100% mb-8px "
|
||||
:src="product?.image_url"
|
||||
/>
|
||||
<div class="card-image h-120px w-100% bg-cover bg-center bg-#E6E6E8" v-image-main-color="product.image_url">
|
||||
<img class="object-contain h-full w-100% mb-8px" :src="product?.image_url"/>
|
||||
</div>
|
||||
|
||||
<div class="card-content">
|
||||
|
||||
Reference in New Issue
Block a user