<el-dialog
file-realtime-transcribe-edit-alert
class="dialog_pas"
width="800px"
title="文件编辑"
:visible.sync="fileTranscribe_Edit_Visible"
:close-on-click-modal="false"
:show-close="false"
>
file-realtime-transcribe-edit-alert 为自定义的样式关键字
以下对关键字为 file-realtime-transcribe-edit-alert 的el-dialog__wrapper样式进行全局设置
// index.css
.el-dialog__wrapper[file-realtime-transcribe-edit-alert] .el-dialog{
background: #272a2d !important;
}
本文介绍了一个具体的el-dialog组件样式定制案例,通过自定义class实现了全局样式覆盖,特别针对背景颜色进行了详细说明。
2083

被折叠的 条评论
为什么被折叠?



