长宽比
v-responsive
组件可用于将任何部分固定到特定的宽高比。
用例
指定自定义长宽比
template
<template>
<div>
<v-card>
<v-responsive :aspect-ratio="16/9">
<v-card-text>
This card will always be 16:9 (unless you put more stuff in it)
</v-card-text>
</v-responsive>
</v-card>
</div>
</template>
API
从下面选择您想要的组件,并查看可用的属性、插槽、事件和函数。