【发布时间】:2019-02-16 05:05:57
【问题描述】:
美好的一天。我正在使用 vuetify,在组件中使用以下 v-dialog:
<template>
<div>
<!--Indicador-->
<v-dialog class="vdialognew" v-model="mostrarIndicator" persistent>
<v-content>
<v-container fluid fill-height>
<v-layout align-center justify-center>
<cube-shadow class="spinnerRotate"></cube-shadow>
</v-layout>
</v-container>
</v-content>
</v-dialog>
<!-------------->
</div>
</template>
<style scoped>
.vdialognew {
box-shadow: none !important;
max-width: 610px !important;
}
</style>
正如您将在 v-dialog 中看到的,我添加了 vdialognew 类来应用这些新样式,但是当通过在浏览器控制台中检查加载内容时,我发现 vdialognew 类仅适用于它。同样,如果我在 v-dialog 标记中使用 style 属性,它对我不起作用。我怎样才能做出这样的改变?
我正在做这个修改以消除绿色方块后面看到的框:
提前非常感谢您。祝福
【问题讨论】:
标签: vuetify.js