vue 修改label、内容样式

2020-05-20  本文已影响0人  指尖架构141319
<el-form>
    <el-row>
        <el-col :span="8">
           <el-form-item label="Accumulated income:" size="small" 
                        class="label-style label-content" >
              <template > aaa</template>
           </el-form-item>
        </el-col>
    <el-row/>
<el-form/>
.label-style .el-form-item__label{
        font-size: 18px;
    }
.label-content .el-form-item__content{
        font-size: 20px;
        color: #aaaa33;
    }
上一篇下一篇

猜你喜欢

热点阅读