Commit 50f7c592 authored by yaya's avatar yaya

feat:添加主图预览功能

parent 48a9af4a
......@@ -98,6 +98,7 @@
:href="compositeImageSrc"
:style="{'background-image': `url(${compositeImageSrc})`}"
class="image" />
<img v-if="goodsParams.topImage && !compositeImageSrc" :src="goodsParams.topImage" class="topImage">
</div>
</div>
......@@ -904,6 +905,10 @@ export default {
display: inline-block;
}
.topImage {
width: auto;
height: 130px;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment