recommend-content-five.vue
575 Bytes
<template>
<div class="recommend-content-five">
<a v-for="item in floor" href="{{item.url}}" title="{{item.title}}">
<img v-lazy="item.src | resize 375 375">
</a>
</div>
</template>
<script>
module.exports = {
props: ['floor']
};
</script>
<style>
.recommend-content-five {
width: 100%;
font-size: 0;
a {
display: inline-block;
width: 50%;
height: 375px;
}
img {
width: 100%;
height: 100%;
}
}
</style>