下面是我当前结果的图像。所以我希望这些v-card从顶部开始
https://i.stack.imgur.com/JqQc3.png
这是我的代码:
<template>
<v-container grid-list-md >
<v-layout row wrap>
<v-flex v-for="i in 10" :key="`1${i}`" xs2>
<v-card dark color="accent">
<v-img :aspect-ratio="16/9" src="https://cdn.vuetifyjs.com/images/parallax/material.jpg"></v-img>
<v-card-text class="pa-0 pt-4 px-2 white--text">Jazz / Dub / Soul </v-card-text>
<v-card-text class="pa-0 pb-2 px-2">By Lucas </v-card-text>
</v-card>
</v-flex>
</v-layout>
</v-container>
</template>
答案 0 :(得分:0)
从常规容器中删除“填充高度”类