- vue 引用label-style label-content样式
<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;
}
网友评论