recommend-content-five.vue
588 Bytes
<template>
<div class="recommend-content-five">
<a v-for="item in floor" :href="item.url | transformBlk" :title="item.title">
<img v-bind:src="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>