一、设置<el-input  type="textarea"/>高度

.el-textarea{
    height:88px;
    :deep(.el-textarea__inner){
        height: 88px;
    }
}

二、设置el-input高度

:deep(.el-input__wrapper){
    font-size: 14px;
    width:100%;
    height:32px;
}

三、修改el-form前面红色星号的颜色

:deep(.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before) {
    content: "*";
    color: var(--el-color-primary);
    margin-right: 4px;
}

四、设置el-form在最右侧

<el-form-item style="float:right;margin-right:0px"></el-form-item>

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。