perf: 获取图片主色调
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<div class="workflow-container">
|
||||
<div class="left-wap mr-24px" v-if="isCollapsed == false">
|
||||
<div class="w-full w-100% mb-15px bg-#F0EDFF h-160px rounded-8px">
|
||||
<div class="w-full w-100% mb-15px h-160px rounded-8px bg-#E6E6E8" v-image-main-color="cozeInfo.image_url">
|
||||
<img v-if="cozeInfo?.image_url" :src="cozeInfo?.image_url" class= "w-full h-full object-contain" />
|
||||
</div>
|
||||
<div class="content mb-15px">
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<div class="workflow-container">
|
||||
<div class="left-wap mr-24px" v-if="isCollapsed == false">
|
||||
<div class="w-full w-100% mb-15px bg-#F0EDFF h-160px rounded-8px">
|
||||
<div class="w-full w-100% mb-15px h-160px rounded-8px bg-#E6E6E8" v-image-main-color="cozeInfo.image_url">
|
||||
<img v-if="cozeInfo?.image_url" :src="cozeInfo?.image_url" class= "w-full h-full object-contain" />
|
||||
</div>
|
||||
<div class="content mb-15px">
|
||||
|
||||
Reference in New Issue
Block a user